Yum install nginx method

  

for friends who like nginx server:

nginx is a good web server, and now many big stations are also in use. There are many ways to install it. You can download the source code yourself, or you can use the ready-made installation package. It is most convenient to use yum installation under the centos system. The following describes the method.


Download and install these packages.

wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1-4.ius.el5.noarch.rpmwget http://dl. Iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-1-1.ius.el5.noarch.rpmrpm -Uvh ius-release*.rpm epel-release*.rpmDownload the latest stable version Nginx

yum shellinstall nginx07transaction solvetransaction runquit After the installation is complete, start nginx in the terminal and set booting

nginx -V (check the installation version and installation options) chkconfig nginx on (set boot) The next step is to set the parameters and install php and mysql, tutorial
you can find it online.

Copyright © Windows knowledge All Rights Reserved