原因是apache2服务是启动状态,把apache2服务停掉即可
sakura@ubuntu:~$ sudo service nginx start
sakura@ubuntu:~$ sudo service nginx status
* nginx is not running
sakura@ubuntu:~$ sudo service nginx status
* nginx is not running
sakura@ubuntu:~$ sudo service apache2 status
* apache2 is running
sakura@ubuntu:~$ sudo service apache2 stop
* Stopping web server apache2 *
sakura@ubuntu:~$ sudo service apache2 status
* apache2 is not running
sakura@ubuntu:~$ sudo service nginx start
sakura@ubuntu:~$ sudo service nginx status
* nginx is running