1. login to linux centos6.8
2. yum install nginx
3. start nginx: ./nginx
stop nginx: ./nginx -s stop
4. The default workdir for nginx: /usr/share/nginx/html
5. conf file for nginx: # config: /etc/nginx/nginx.conf
6. where is the command of nginx: /etc/sbin/nginx
转载请注明原文地址: https://ju.6miu.com/read-13885.html