yum安装nginx

时间:4年前   阅读:5096

系统自带源不含nginx。可以利用 epel(xtra Packages for Enterprise Linux) 这个开源的yum源,这个是针对RHEL设计的,由Fedora组织维护,可以用于CentOS、RHEL。

rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
yum -y install nginx
chkconfig nginx on

如果是centos 6 请替换为

http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm

本站声明:网站内容来源于网络,如有侵权,请联系我们https://www.qiquanji.com,我们将及时处理。

微信扫码关注

更新实时通知

上一篇:玩转PT之一键安装rtorrent+rutorrent盒子教程

下一篇:如何删除mysql-bin.0000*日志文件并关闭MySQL日志

网友评论

请先 登录 再评论,若不是会员请先 注册