A, Nginx configuration
1, create a user www Nginx run using:
/ usr / sbin / groupadd www
/ usr / sbin / useradd -g www www
2, check the correctness of the configuration file nginx.conf
nginx -t
3, start Nginx
ps -ef | grep nginx
4. Check the local ip address to copy down browser access is successful
ifconfig
5, open the browser to access