{"id":319,"date":"2017-08-17T05:47:54","date_gmt":"2017-08-17T05:47:54","guid":{"rendered":"http:\/\/kitewp.ecko.me\/?p=319"},"modified":"2017-08-17T05:47:54","modified_gmt":"2017-08-17T05:47:54","slug":"installing-nginx-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/crownandluxury.com\/?p=319","title":{"rendered":"Installing Nginx on Ubuntu 14.04 with Server Caching"},"content":{"rendered":"\n<p>Before you begin this guide, you should have a regular, non-root user with sudo privileges configured on your server. You can learn how to configure a regular user account by following steps 1-4 in our initial server setup guide for Ubuntu 14.04.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h3 class=\"wp-block-heading\">Step One: Install Nginx<\/h3>\n\n\n\n<p>We can install Nginx easily because the Ubuntu team provides an Nginx package in its default repositories.&nbsp;Since this is our first interaction with the apt packaging system in this session, we should update our local package index before we begin so that we are using the most up-to-date information. Afterwards, we will install nginx:<\/p>\n\n\n\n<pre class=\"wp-block-code eckosc_syntax eckosc_syntax_theme_dark wp-block-code__dark language-bash\" data-language=\"language-bash\" data-color-scheme=\"dark\"><code>sudo apt-get update\nsudo apt-get install nginx<\/code><\/pre>\n\n\n\n<p>You will probably be prompted for your user&#8217;s password. Enter it to confirm that you wish to complete the installation. The appropriate software will be downloaded to your server and then automatically installed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step Two: Check your Web Server<\/h3>\n\n\n\n<p>You can access the default Nginx landing page to confirm that the software is running properly by visiting your server&#8217;s domain name or public IP address in your web browser.<\/p>\n\n\n\n<p>If you do not have a spare domain name, or have no need for one, you can use your server&#8217;s public IP address. If you do not know your server&#8217;s IP address, you can get it a few different ways from the command line.<\/p>\n\n\n\n<p>Continue reading this guide at <a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-nginx-on-ubuntu-14-04-lts\" target=\"_blank\" rel=\"noopener\">Digital Ocean<\/a>. This article has been used as an example of an&nbsp;Ecko&nbsp;WordPress theme. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. It is more resource-friendly than Apache in most cases and can be used as a web server or a reverse proxy. Since this is our first interaction with the apt packaging system in this session, we should update our local package index before we begin so that we are using the most up-to-date information.<\/p>\n","protected":false},"author":1,"featured_media":978,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[13,22],"class_list":["post-319","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administration","tag-development","tag-nginx"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Installing Nginx on Ubuntu 14.04 with Server Caching - Crown an Luxury Timepieces<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crownandluxury.com\/?p=319\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing Nginx on Ubuntu 14.04 with Server Caching - Crown an Luxury Timepieces\" \/>\n<meta property=\"og:description\" content=\"Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. It is more resource-friendly than Apache in most cases and can be used as a web server or a reverse proxy. Since this is our first interaction with the apt packaging system in this session, we should update our local package index before we begin so that we are using the most up-to-date information.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crownandluxury.com\/?p=319\" \/>\n<meta property=\"og:site_name\" content=\"Crown an Luxury Timepieces\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-17T05:47:54+00:00\" \/>\n<meta name=\"author\" content=\"CrownAndLuxury\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CrownAndLuxury\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crownandluxury.com\/?p=319\",\"url\":\"https:\/\/crownandluxury.com\/?p=319\",\"name\":\"Installing Nginx on Ubuntu 14.04 with Server Caching - Crown an Luxury Timepieces\",\"isPartOf\":{\"@id\":\"https:\/\/crownandluxury.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/crownandluxury.com\/?p=319#primaryimage\"},\"image\":{\"@id\":\"https:\/\/crownandluxury.com\/?p=319#primaryimage\"},\"thumbnailUrl\":\"https:\/\/crownandluxury.com\/wp-content\/uploads\/2016\/02\/image-20.jpg\",\"datePublished\":\"2017-08-17T05:47:54+00:00\",\"author\":{\"@id\":\"https:\/\/crownandluxury.com\/#\/schema\/person\/689dd98bb396b64007dc7139deb62482\"},\"breadcrumb\":{\"@id\":\"https:\/\/crownandluxury.com\/?p=319#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crownandluxury.com\/?p=319\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crownandluxury.com\/?p=319#primaryimage\",\"url\":\"https:\/\/crownandluxury.com\/wp-content\/uploads\/2016\/02\/image-20.jpg\",\"contentUrl\":\"https:\/\/crownandluxury.com\/wp-content\/uploads\/2016\/02\/image-20.jpg\",\"width\":1920,\"height\":1200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crownandluxury.com\/?p=319#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crownandluxury.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing Nginx on Ubuntu 14.04 with Server Caching\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crownandluxury.com\/#website\",\"url\":\"https:\/\/crownandluxury.com\/\",\"name\":\"Crown an Luxury Timepieces\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crownandluxury.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/crownandluxury.com\/#\/schema\/person\/689dd98bb396b64007dc7139deb62482\",\"name\":\"CrownAndLuxury\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crownandluxury.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1eef7995d66a0a390150f32f123dda9c52df4bb23af2e403d2f9d5ea8babaa82?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1eef7995d66a0a390150f32f123dda9c52df4bb23af2e403d2f9d5ea8babaa82?s=96&d=mm&r=g\",\"caption\":\"CrownAndLuxury\"},\"sameAs\":[\"https:\/\/crownandluxury.com\"],\"url\":\"https:\/\/crownandluxury.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing Nginx on Ubuntu 14.04 with Server Caching - Crown an Luxury Timepieces","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crownandluxury.com\/?p=319","og_locale":"en_US","og_type":"article","og_title":"Installing Nginx on Ubuntu 14.04 with Server Caching - Crown an Luxury Timepieces","og_description":"Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. It is more resource-friendly than Apache in most cases and can be used as a web server or a reverse proxy. Since this is our first interaction with the apt packaging system in this session, we should update our local package index before we begin so that we are using the most up-to-date information.","og_url":"https:\/\/crownandluxury.com\/?p=319","og_site_name":"Crown an Luxury Timepieces","article_published_time":"2017-08-17T05:47:54+00:00","author":"CrownAndLuxury","twitter_card":"summary_large_image","twitter_misc":{"Written by":"CrownAndLuxury","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crownandluxury.com\/?p=319","url":"https:\/\/crownandluxury.com\/?p=319","name":"Installing Nginx on Ubuntu 14.04 with Server Caching - Crown an Luxury Timepieces","isPartOf":{"@id":"https:\/\/crownandluxury.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/crownandluxury.com\/?p=319#primaryimage"},"image":{"@id":"https:\/\/crownandluxury.com\/?p=319#primaryimage"},"thumbnailUrl":"https:\/\/crownandluxury.com\/wp-content\/uploads\/2016\/02\/image-20.jpg","datePublished":"2017-08-17T05:47:54+00:00","author":{"@id":"https:\/\/crownandluxury.com\/#\/schema\/person\/689dd98bb396b64007dc7139deb62482"},"breadcrumb":{"@id":"https:\/\/crownandluxury.com\/?p=319#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crownandluxury.com\/?p=319"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crownandluxury.com\/?p=319#primaryimage","url":"https:\/\/crownandluxury.com\/wp-content\/uploads\/2016\/02\/image-20.jpg","contentUrl":"https:\/\/crownandluxury.com\/wp-content\/uploads\/2016\/02\/image-20.jpg","width":1920,"height":1200},{"@type":"BreadcrumbList","@id":"https:\/\/crownandluxury.com\/?p=319#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crownandluxury.com\/"},{"@type":"ListItem","position":2,"name":"Installing Nginx on Ubuntu 14.04 with Server Caching"}]},{"@type":"WebSite","@id":"https:\/\/crownandluxury.com\/#website","url":"https:\/\/crownandluxury.com\/","name":"Crown an Luxury Timepieces","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crownandluxury.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/crownandluxury.com\/#\/schema\/person\/689dd98bb396b64007dc7139deb62482","name":"CrownAndLuxury","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crownandluxury.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1eef7995d66a0a390150f32f123dda9c52df4bb23af2e403d2f9d5ea8babaa82?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1eef7995d66a0a390150f32f123dda9c52df4bb23af2e403d2f9d5ea8babaa82?s=96&d=mm&r=g","caption":"CrownAndLuxury"},"sameAs":["https:\/\/crownandluxury.com"],"url":"https:\/\/crownandluxury.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=319"}],"version-history":[{"count":0,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/posts\/319\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=\/wp\/v2\/media\/978"}],"wp:attachment":[{"href":"https:\/\/crownandluxury.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crownandluxury.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}