replySet nginx to start at boot
cp -r /lnmp/src/nginx /etc/rc.d/init.d/#Copy startup files
chmod 775 /etc/rc.d/init.d/nginx #Give file execution permissions
chkconfig nginx on #Set up startup
service nginx start #Start nginx
If I can't complete these steps, I just want to know what nginx is? Please tell me how to download the contents of this folder. I'm a novice. Sorry for the trouble. Thank you.
replyIs the nginx directory empty? You can just use the integrated environment. Newbies don’t need to manually build the environment, which is a waste of time.
You only need to know one configuration file, nginx.conf under conf. You don’t need to delve into the others. Generally, they are not used.