nginx ubuntu next start command

start up

sudo service nginx start
../sbin/nginx -c nginx.conf

The above command, the front is nginx executable file, find it in the directory, -c parameter is specified its profile address, nginx.conf its profile address

The first sentence starts when the command is used when installing the global

The second sentence is when downloading a binary file to decompress after their own command make a directory under the user name, with the implementation of the executable file

 

Restart

sudo service nginx restart

 

Guess you like

Origin www.cnblogs.com/yummylucky/p/11488981.html