# Nginx

# 安装

# 配置

# 使用

start nginx nginx -c fileName nginx -t nginx -v nginx -V nginx -s stop nginx -s quit nginx -s reload nginx -s reopen

# 获取root权限
sudo su
# 重启
sudo /usr/sbin/nginx restart
sudo chmod 777 default
sudo chmod 644 default
which nginx
/etc/init.d/nginx reload
vim /etc/nginx/sites-enabled/default
/etc/init.d/nginx start
/etc/init.d/nginx stop
/etc/init.d/nginx restart
ps -ef | grep supervison
ps -ef | grep nginx
1
2
3
4
5
6
7
8
9
10
11
12
13
14