{"id":81,"date":"2016-09-17T15:59:13","date_gmt":"2016-09-17T15:59:13","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=81"},"modified":"2024-01-18T13:57:47","modified_gmt":"2024-01-18T13:57:47","slug":"install-wordpress-lemp-stack-ubuntu-14-04-server","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/","title":{"rendered":"How to Install WordPress with LEMP Stack on an Ubuntu 14.04 Server"},"content":{"rendered":"<h2 id=\"a-bit-about-wordpress\">A bit about WordPress<\/h2>\n<p>Most&#8217;ve heard about WordPress by now, being one of the most used CMS(content management system) out there. It permits users of all levels of experience to easily create and manage blogs and sites.<\/p>\n<p>In the following there will be a step by step guide on installing WordPress on a Ubuntu 14.04 server, using Nginx as a web server.<\/p>\n<h2 id=\"what-youll-need\">What you&#8217;ll need<\/h2>\n<p>Installing and configuring a LEMP (Linux operating system, Nginx, MySQL, and PHP) stack on your server. For the installation and setting up process, see the <a href=\"https:\/\/draculaservers.com\/tutorials\/install-lemp-stack-ubuntu-14-04-vps\/\">tutorial on installing a LEMP stack on Ubuntu 14.04<\/a>.<\/p>\n\n<h2 id=\"step-1-creating-a-mysql-database-and-user-for-wordpress\">Step 1 \u2014 Creating a MySQL Database and User for WordPress<\/h2>\n<p>After having installed the LEMP stack, we now have MySQL, but no database created for WordPress. So we&#8217;ll need to create one, along with a user account that will allow WordPress to access said database.<\/p>\n<p>Begin by logging in with the following:<\/p>\n<pre class=\"lang:vim decode:true \">mysql \u2013u root \u2013p\r\n<\/pre>\n<p>Then you will be required to introduce the password you used for the root account when you installed MySQL , and afterwards a MySQL command prompt will be given.<\/p>\n<p>Ok, now we&#8217;ll be moving on to creating a database that wil be used only by your WordPress application. Baptize your database wisely for easier recognition, in our case we called it wordpress.<\/p>\n<pre class=\"lang:vim decode:true \">CREATE DATABASE wordpress;\r\n<\/pre>\n<p>A reminder for first time MySQL users, always make sure each statement ends with a semicolon ( ;).<\/p>\n<p>Now we shall create that user account we&#8217;ve been talking about. This new user will have control of the database we created so that our application can interact with it. Creating a separate user and database for each app is an effective way for managing and keeping data secure in MySQL.<\/p>\n<pre class=\"lang:vim decode:true \">CREATE USER wordpressuser@localhost IDENTIFIED BY \u2018password';\r\n<\/pre>\n<p>Now we need to make a connection between the user and database so that MySQL knows this new user can control the database:<\/p>\n<pre class=\"lang:vim decode:true \">GRANT ALL PRIVILEGES ON wordpress.* TO wordpressuser@localhost;\r\n<\/pre>\n<p>Ok, now, for our current instance of MySQL to be up to date with the privilege change, we&#8217;ll need to flush the former ones:<\/p>\n<pre class=\"lang:vim decode:true \">FLUSH PRIVILEGES;\r\n<\/pre>\n<p>Now exit:<\/p>\n<pre class=\"lang:vim decode:true \">exit\r\n<\/pre>\n<h2 id=\"step-2-downloading-wordpress-to-your-server\">Step 2 \u2014 Downloading WordPress to your Server<\/h2>\n<p>We need to download onto our server the WordPress content from the WordPress website. The URL is always the same for the latest stable version of WordPress. Download the file to our user&#8217;s home directory:<\/p>\n<pre class=\"lang:vim decode:true \">cd ~\r\nwget http:\/\/wordpress.org\/latest.tar.gz\r\n<\/pre>\n<p>The files have been downloaded in a compressed form stored in latest.tar.gz and we can extract the content with the following command which will create a directory named wordpress containing the files:<\/p>\n<pre class=\"lang:vim decode:true \">tar xzvf latest.tar.gz\r\n<\/pre>\n<p>To download additional components that we&#8217;ll be needing in WordPress, in this case packages that allow the user to work with images and install\/update and manage plugins using SSH, we shall be using apt to get them from Ubuntu&#8217;s<\/p>\n<p>repositories:<\/p>\n<pre class=\"lang:vim decode:true \">sudo apt-get update\r\nsudo apt-get install php5-gd libssh2-php\r\n<\/pre>\n<h2 id=\"step-3-configuring-wordpress\">Step 3 \u2014 Configuring WordPress<\/h2>\n<p>Next we need to configure our WordPress instance by modifying the main configuration file in the directory we just made. First you need to get into said directory:<\/p>\n<pre class=\"lang:vim decode:true \">cd  ~\/wordpress\r\n<\/pre>\n<p>Here we have a file called wp-config-sample.php that we can copy to use as a base for our confing file:<\/p>\n<pre class=\"lang:vim decode:true \">cp wp- config\u2013sample.php  wp-config .php\r\n<\/pre>\n<p>Open the file so that we can make the necessary changes:<\/p>\n<pre class=\"lang:vim decode:true \">nano wp-config.php\r\n<\/pre>\n<p>Now we need to insert the information needed for us to connect to the database. First we need to set the DB_NAME,\u00a0DB_USER, and\u00a0DB_PASSWORD parameters, which you&#8217;ll find in this file and then we&#8217;ll set them to use the database and user<br \/>\ndetails created so far:<\/p>\n<pre class=\"lang:vim decode:true \">\/\/ ** MySQL settings - You can get this info from your web host ** \/\/\r\n\r\ndefine('DB_NAME', 'wordpress'); \/** The name of the database for WordPress *\/\r\ndefine('DB_USER', 'wordpressuser'); \/** MySQL database username *\/\r\ndefine('DB_PASSWORD', 'password'); \/** MySQL database password *\/\r\n<\/pre>\n<p>After that, save and close the file.<\/p>\n<h2 id=\"step-4-copying-the-files-to-the-document-root\">Step 4 \u2014 Copying the Files to the Document Root<\/h2>\n<p>Now we need to copy our newly modified config files over to our document root so our server can find and do its thing.<\/p>\n<p>For the transfer process we&#8217;ll be using rsync (which preserves permissions, ownership and data integrity) and we&#8217;ll need the location of the default document root of Nginx on Ubuntu 14.04 which is \/usr\/share\/nginx\/html.<\/p>\n<p>We&#8217;ll set up our document root in \/var\/www\/html\/ to prevent us from modifying a directory location controlled by he nginx package (we&#8217;ll get to changing our nginx configuration later on).<\/p>\n<p>Creating a new document root directory:<\/p>\n<pre class=\"lang:vim decode:true \">sudo mkdir  -p \/var\/www\/html\r\n<\/pre>\n<p>Copy the files in the new document:<\/p>\n<pre class=\"lang:vim decode:true \">sudo rsync \u2013avP ~\/wordpress\/  \/var\/www\/html\/\r\n<\/pre>\n<p>This will ensure that our content from ~\/wordpress directory has been copied into our document root.<\/p>\n<p>Now into the document root we go so we can make some adjustments:<\/p>\n<pre class=\"lang:vim decode:true \">cd \/var\/www\/html\/\r\n<\/pre>\n<p>The current directory structure allows user and group ownership of all our files to our regular user, but our web server only needs to be able to modify only some directories and files. So what now? We can give to the group that our web server runs under group ownership of the files permission so we can open them only when needed.<\/p>\n<p>Nginx operates under the group called www-data. Enter your account name in the user portion( we&#8217;ll be using an account called bill:<\/p>\n<pre class=\"lang:vim decode:true \">sudo chown -R bill:www-data \/var\/www\/html\/*\r\n<\/pre>\n<p>Now we&#8217;re going to create a new directory for user uploads:<\/p>\n<pre class=\"lang:vim decode:true \">mkdir wp-content\/uploads\r\n<\/pre>\n<p>Next we need to assign the new directory the www-data group ownership :<\/p>\n<pre class=\"lang:vim decode:true \">sudo chown \u2013R :www-data \/var\/www\/html\/wp-content\/uploads\r\n<\/pre>\n<h2 id=\"step-5-modifying-nginx-server-blocks\">Step 5 \u2014 Modifying Nginx Server Blocks<\/h2>\n<p>We need to change our nginx configuration to serve content appropriately. By using the default server block as a model for our new server block, we copy it over like so:<\/p>\n<pre class=\"lang:vim decode:true \">sudo cp \/etc\/nginx\/sites-available\/default  \/etc\/nginx\/sites- available\/wordpress\r\n<\/pre>\n<p>Open the new file for some changes:<\/p>\n<pre class=\"lang:vim decode:true \">sudo nano \/etc\/nginx\/sites-available\/wordpress\r\n<\/pre>\n<p>Now for some more changes:<\/p>\n<pre class=\"lang:vim decode:true \">server {\r\n        listen 80 default_server;\r\n        listen [::]:80 default_server ipv6only=on;\r\n\r\n        root \/var\/www\/html;\r\n        index index.php index.html index.htm;\r\n\r\n        server_name your_domain.com;\r\n\r\n        location \/ {\r\n                # try_files $uri $uri\/ =404;\r\n                try_files $uri $uri\/ \/index.php?q=$uri&amp;$args;\r\n        }\r\n\r\n        error_page 404 \/404.html;\r\n\r\n        error_page 500 502 503 504 \/50x.html;\r\n        location = \/50x.html {\r\n                root \/usr\/share\/nginx\/html;\r\n        }\r\n\r\n        location ~ \\.php$ {\r\n                try_files $uri =404;\r\n                fastcgi_split_path_info ^(.+\\.php)(\/.+)$;\r\n                fastcgi_pass unix:\/var\/run\/php5-fpm.sock;\r\n                fastcgi_index index.php;\r\n                include fastcgi_params;\r\n        }\r\n}\r\n<\/pre>\n<p>What we&#8217;ve done here is ( some of these changes might be set from your LEMP installation) :<\/p>\n<ul>\n<li>changed the value of the root directory to point to the new document root at \/var\/www\/html<\/li>\n<li>modified the index parameter to search first for index.php files<\/li>\n<li>changed value of server_name directive to point to your server&#8217;s name domain\/IP address<\/li>\n<li>adjusted the try_files from location \/ to make PHP aware if no exact match occurs.<\/li>\n<\/ul>\n<p>Then save and close file.<\/p>\n<p>Now we need to link the new file to the site-enabled directory to be able to activate it:<\/p>\n<pre class=\"lang:vim decode:true \">sudo ln -s \/etc\/nginx\/sites-available\/wordpress \/etc\/nginx\/sites-enabled\/\r\n<\/pre>\n<p>We have to disable the old file so it doesn&#8217;t conflict with the new one we just linked:<\/p>\n<pre class=\"lang:vim decode:true \">sudo rm \/etc\/nginx\/sites-enabled\/default\r\n<\/pre>\n<p>To enable the chages we made we have to restart the web server and PHP processor :<\/p>\n<pre class=\"lang:vim decode:true \">sudo service nginx restart\r\nsudo service php5-fpm restart\r\n<\/pre>\n<h2 id=\"step-6-completing-the-installation-through-the-web-interface\">Step 6 \u2014 Completing the Installation through the Web Interface<\/h2>\n<p>After completing the aforementioned steps we&#8217;ll be finishing the installation through our web browser by pointing your browser to your server&#8217;s domain name or IP address:<\/p>\n<p><a href=\"#\">http:\/\/your_domain.com<\/a><\/p>\n<p>This shows you your old default nginx page, you&#8217;ll sometimes have to refresh the page without the cache.<br \/>\nThe installation process for WordPress is pretty straightforward; you choose your options(site name, username, email, password) and then just click on \u201cInstall WordPress\u201d.<\/p>\n<p>Next, the WordPress Dashboard should appear and you can start making the desired settings, content and stuff.<\/p>\n<p>If you&#8217;ve followed these steps you should have your WordPress instance running on Ubuntu 14.04 with a nginx web server. WordPress has a very user friendly and accessible platform design, so now that you&#8217;re done with the trickier part of things, you can just go crazy and begin creating you site.<\/p>\n<p>Want to host your WordPress website on a VPS? Then check out our <a href=\"https:\/\/draculaservers.com\/kvm.php\">high performance Linux Servers<\/a>, starting at 2GB RAM for $5\/mo.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A bit about WordPress Most&#8217;ve heard about WordPress by now, being one of the most used CMS(content management system) out there. It permits users of all levels of experience to easily create and manage blogs and sites. In the following there will be a step by step guide on installing WordPress on a Ubuntu 14.04 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":82,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,6,2,16],"tags":[14,15,17],"class_list":["post-81","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-getting-started","category-hosting","category-linux-basics","category-wordpress","tag-lemp","tag-nginx","tag-wordpress"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo.png",1024,512,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo-300x150.png",300,150,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo-768x384.png",768,384,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo-1024x512.png",1024,512,true],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo.png",1024,512,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo.png",1024,512,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>A bit about WordPress Most&#8217;ve heard about WordPress by now, being one of the most used CMS(content management system) out there. It permits users of all levels of experience to easily create and manage blogs and sites. In the following there will be a step by step guide on installing WordPress on a Ubuntu 14.04 server, using Nginx as a web server. What you&#8217;ll need Installing and configuring a LEMP (Linux operating system, Nginx, MySQL, and PHP) stack on your server. For the installation and setting up process, see the tutorial on installing a LEMP stack on Ubuntu 14.04. Step&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/getting-started\/\" rel=\"category tag\">Getting Started<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/hosting\/\" rel=\"category tag\">Hosting<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-basics\/\" rel=\"category tag\">Linux Basics<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/wordpress\/\" rel=\"category tag\">Wordpress<\/a>","author_info_v2":{"name":"Vlad","url":"https:\/\/draculaservers.com\/tutorials\/author\/vlad\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install WordPress with LEMP Stack on Ubuntu 14.04<\/title>\n<meta name=\"description\" content=\"Unlock the power of WordPress, a leading CMS, with this step-by-step tutorial on installing it on an Ubuntu 14.04 server using Nginx as the web server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install WordPress with LEMP Stack on Ubuntu 14.04\" \/>\n<meta property=\"og:description\" content=\"Unlock the power of WordPress, a leading CMS, with this step-by-step tutorial on installing it on an Ubuntu 14.04 server using Nginx as the web server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-17T15:59:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-18T13:57:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Vlad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vlad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/\"},\"author\":{\"name\":\"Vlad\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/931f7fa8b2126ace6edfb82775e0ec0e\"},\"headline\":\"How to Install WordPress with LEMP Stack on an Ubuntu 14.04 Server\",\"datePublished\":\"2016-09-17T15:59:13+00:00\",\"dateModified\":\"2024-01-18T13:57:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/\"},\"wordCount\":1185,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/pablo.png\",\"keywords\":[\"lemp\",\"nginx\",\"wordpress\"],\"articleSection\":[\"Getting Started\",\"Hosting\",\"Linux Basics\",\"Wordpress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/\",\"name\":\"How to Install WordPress with LEMP Stack on Ubuntu 14.04\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/pablo.png\",\"datePublished\":\"2016-09-17T15:59:13+00:00\",\"dateModified\":\"2024-01-18T13:57:47+00:00\",\"description\":\"Unlock the power of WordPress, a leading CMS, with this step-by-step tutorial on installing it on an Ubuntu 14.04 server using Nginx as the web server.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/pablo.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/pablo.png\",\"width\":1024,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/install-wordpress-lemp-stack-ubuntu-14-04-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install WordPress with LEMP Stack on an Ubuntu 14.04 Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/931f7fa8b2126ace6edfb82775e0ec0e\",\"name\":\"Vlad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g\",\"caption\":\"Vlad\"},\"description\":\"Tech Support\",\"sameAs\":[\"https:\\\/\\\/draculaservers.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install WordPress with LEMP Stack on Ubuntu 14.04","description":"Unlock the power of WordPress, a leading CMS, with this step-by-step tutorial on installing it on an Ubuntu 14.04 server using Nginx as the web server.","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:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/","og_locale":"en_US","og_type":"article","og_title":"How to Install WordPress with LEMP Stack on Ubuntu 14.04","og_description":"Unlock the power of WordPress, a leading CMS, with this step-by-step tutorial on installing it on an Ubuntu 14.04 server using Nginx as the web server.","og_url":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2016-09-17T15:59:13+00:00","article_modified_time":"2024-01-18T13:57:47+00:00","og_image":[{"width":1024,"height":512,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo.png","type":"image\/png"}],"author":"Vlad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Vlad","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/"},"author":{"name":"Vlad","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/931f7fa8b2126ace6edfb82775e0ec0e"},"headline":"How to Install WordPress with LEMP Stack on an Ubuntu 14.04 Server","datePublished":"2016-09-17T15:59:13+00:00","dateModified":"2024-01-18T13:57:47+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/"},"wordCount":1185,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo.png","keywords":["lemp","nginx","wordpress"],"articleSection":["Getting Started","Hosting","Linux Basics","Wordpress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/","url":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/","name":"How to Install WordPress with LEMP Stack on Ubuntu 14.04","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo.png","datePublished":"2016-09-17T15:59:13+00:00","dateModified":"2024-01-18T13:57:47+00:00","description":"Unlock the power of WordPress, a leading CMS, with this step-by-step tutorial on installing it on an Ubuntu 14.04 server using Nginx as the web server.","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/09\/pablo.png","width":1024,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/install-wordpress-lemp-stack-ubuntu-14-04-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Install WordPress with LEMP Stack on an Ubuntu 14.04 Server"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/931f7fa8b2126ace6edfb82775e0ec0e","name":"Vlad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g","caption":"Vlad"},"description":"Tech Support","sameAs":["https:\/\/draculaservers.com"]}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=81"}],"version-history":[{"count":1,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/81\/revisions"}],"predecessor-version":[{"id":2178,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/81\/revisions\/2178"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/82"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}