rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
systemctl start nginx.service
systemctl stop httpd.service yum remove httpd systemctl disable httpd.service root@centos71 ~]# systemctl start nginx.service [root@centos71 ~]# systemctl restart nginx.service [root@centos71 ~]# systemctl status nginx.service nginx.service – nginx – high performance web server Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled) Active: active (running) since Thu 2014-09-11 14:32:02 SGT; 8s ago Docs: http://nginx.org/en/docs/ Process: […]
Recent Comments