{"id":102,"date":"2013-03-21T19:55:32","date_gmt":"2013-03-21T19:55:32","guid":{"rendered":"http:\/\/ecodebook.wordpress.com\/2013\/03\/21\/install-nginx-using-yum-command\/"},"modified":"2013-03-21T19:55:32","modified_gmt":"2013-03-21T19:55:32","slug":"install-nginx-using-yum-command","status":"publish","type":"post","link":"https:\/\/blog.mycarts.shop\/?p=102","title":{"rendered":"Install Nginx Using Yum Command"},"content":{"rendered":"<h2>Step #1: Install nginx repo<\/h2>\n<p>Type the following wget command to install nginx yum configuration file:<br \/>\n[code language=&#8221;php&#8221;]<br \/>\n# cd \/tmp<br \/>\n[\/code]<\/p>\n<p>CentOS Linux v6.x user type the following command:<br \/>\n[code language=&#8221;php&#8221;]<br \/>\n# wget http:\/\/nginx.org\/packages\/centos\/6\/noarch\/RPMS\/nginx-release-centos-6-0.el6.ngx.noarch.rpm<br \/>\n# rpm -ivh nginx-release-centos-6-0.el6.ngx.noarch.rpm<br \/>\n[\/code]<\/p>\n<h2>Step #2: Install nginx web-server<\/h2>\n<p>Type the following yum command to install nginx web-server:<br \/>\n[code language=&#8221;php&#8221;]<br \/>\n# yum install nginx<br \/>\n[\/code]<\/p>\n<h2>Step #3: Turn on nginx service<\/h2>\n<p>Type the following command:<br \/>\n[code language=&#8221;php&#8221;]<br \/>\n# chkconfig nginx on<br \/>\n[\/code]<\/p>\n<p>Start \/ stop \/ restart nginx web-server?<\/p>\n<p>Type the following commands:<br \/>\n[code language=&#8221;php&#8221;]<br \/>\n# service nginx start<br \/>\n# service nginx stop<br \/>\n# service nginx restart<br \/>\n# service nginx status<br \/>\n# service nginx reload<br \/>\n[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step #1: Install nginx repo Type the following wget command to install nginx yum configuration file: [code language=&#8221;php&#8221;] # cd \/tmp [\/code] CentOS Linux v6.x user type the following command: [code language=&#8221;php&#8221;] # wget http:\/\/nginx.org\/packages\/centos\/6\/noarch\/RPMS\/nginx-release-centos-6-0.el6.ngx.noarch.rpm # rpm -ivh nginx-release-centos-6-0.el6.ngx.noarch.rpm [\/code] Step #2: Install nginx web-server Type the following yum command to install nginx web-server: [code&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[19],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-ssh","tag-ssh"],"_links":{"self":[{"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=102"}],"version-history":[{"count":0,"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=\/wp\/v2\/posts\/102\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mycarts.shop\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}