ubuntu 14.04 64bit
sudo apt-get install nginx
sudo vim /etc/nginx/sites-available/default
curl localhost:80
sudo service nginx stop
sudo service nginx start
sudo service nginx restart
sudo nginx -t (查看错误信息)
时间: 2024-10-13 19:48:25
ubuntu 14.04 64bit
sudo apt-get install nginx
sudo vim /etc/nginx/sites-available/default
curl localhost:80
sudo service nginx stop
sudo service nginx start
sudo service nginx restart
sudo nginx -t (查看错误信息)