Create a new repository file:
nano /etc/yum.repos.d/nginx.repo
Copy the yum repository information into it and save it:
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/
gpgcheck=0
enabled=1
Now install nginx:
Then start nginx:yum install nginx
service nginx start
0 comments :
Post a Comment