{"id":647,"date":"2021-11-14T22:28:36","date_gmt":"2021-11-15T03:28:36","guid":{"rendered":"https:\/\/molecularsciences.org\/content\/?p=647"},"modified":"2024-02-08T08:42:05","modified_gmt":"2024-02-08T13:42:05","slug":"installing-nginx-on-ubuntu","status":"publish","type":"post","link":"https:\/\/molecularsciences.org\/content\/installing-nginx-on-ubuntu\/","title":{"rendered":"Installing nginx on Ubuntu"},"content":{"rendered":"\n<p>Nginx is a powerful web server which is rapidly taking market share from Apache. Here you will see how easy it is to install and use Nginx.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update\nsudo apt-get install nginx\n<\/code><\/pre>\n\n\n\n<p>Installation complete! Type the IP of your web host in the browser to test it. If you don&#8217;t know your IP, run the following command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ip addr show | grep inet\n<\/code><\/pre>\n\n\n\n<p>It will list several IPs, use the one attached to eth0 or eth1.<\/p>\n\n\n\n<p><strong>Starting, Stopping, Restarting Nginx<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo service nginx start\nsudo service nginx stop\nsudo service nginx restart<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Nginx is a powerful web server which is rapidly taking market share from Apache. Here you will see how easy it is to install and use Nginx. Installation complete! Type the IP of your web host in the browser to test it. If you don&#8217;t know your IP, run the following command It will list [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[512],"tags":[],"class_list":["post-647","post","type-post","status-publish","format-standard","hentry","category-misc"],"_links":{"self":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/comments?post=647"}],"version-history":[{"count":1,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/647\/revisions"}],"predecessor-version":[{"id":648,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/647\/revisions\/648"}],"wp:attachment":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/media?parent=647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/categories?post=647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/tags?post=647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}