{"id":4,"date":"2017-02-17T09:59:58","date_gmt":"2017-02-17T09:59:58","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=4"},"modified":"2018-01-25T06:13:41","modified_gmt":"2018-01-25T12:13:41","slug":"install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/","title":{"rendered":"How to Install WordPress with Nginx and W3 Total Cache on Ubuntu 16.04"},"content":{"rendered":"<div id=\"linux-457472946\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>In this tutorial, we are going to provide you with step-by-step instructions on <strong>how to install WordPress with Nginx and W3 Total Cache on an Ubuntu 16.04 VPS<\/strong>.<br \/>\nWordPress is the most popular open source CMS written in PHP that allows web developers to create everything from simple websites to complex e-commerce web stores, news portals, magazines etc.<br \/>\nThis tutorial was tested and written for an Ubuntu VPS, but it should work on any Debian based Linux distribution.<br \/>\n<!--more--><br \/>\nAt the time of writing this tutorial, the latest stable version of WordPress is 4.7.2 and we recommend to install and use:<\/p>\n<ul>\n<li>PHP version 7 or higher with the GD graphics library version 2.0.x+ and MySQLi PHP extensions enabled, with memory_limit PHP variable set to 64 MB or higher (128 MB or higher is preferred)<\/li>\n<li>Apache or nginx web server;<\/li>\n<li>MySQL version 5.6 or higher or MariaDB version 10.0 or higher.<\/li>\n<\/ul>\n<p>Let&#8217;s start with the installation.<\/p>\n<h2>Update OS packages:<\/h2>\n<p>Make sure your package list and the OS packages are up to date by running the following commands:<\/p>\n<pre>sudo apt-get update\r\nsudo apt-get upgrade<\/pre>\n<p>To install the latest nginx version on your virtual server from the official nginx repository, edit the &#8216;\/etc\/apt\/sources.list&#8217; file:<\/p>\n<pre>sudo vi \/etc\/apt\/sources.list<\/pre>\n<p>Add the following lines to it:<\/p>\n<pre>deb http:\/\/nginx.org\/packages\/ubuntu\/ xenial nginx\r\ndeb-src http:\/\/nginx.org\/packages\/ubuntu\/ xenial nginx<\/pre>\n<p>Add the nginx GPG key:<\/p>\n<pre>wget http:\/\/nginx.org\/packages\/keys\/nginx_signing.key\r\ncat nginx_signing.key | apt-key add -<\/pre>\n<p>Stop the Apache service and remove it:<\/p>\n<pre>sudo service apache2 stop\r\nsudo apt-get remove apache2<\/pre>\n<p>Install nginx on your virtual server using the following commands:<\/p>\n<pre>sudo apt-get update\r\nsudo apt-get install nginx<\/pre>\n<p>Configure the nginx service to automatically start on boot:<\/p>\n<pre>sudo \/lib\/systemd\/systemd-sysv-install enable nginx<\/pre>\n<p>Install PHP and enable required PHP modules:<\/p>\n<pre>sudo apt-get install php7.0-common php7.0-curl php7.0-fpm php7.0-gd php7.0-imap php7.0-json php7.0-mbstring php7.0-mysql php7.0-opcache php7.0-pspell php7.0-readline php7.0-xml php7.0-mcrypt php7.0-zip\r\nsudo phpenmod mcrypt\r\nsudo phpenmod imap<\/pre>\n<p>Then, start with the WordPress installation procedure.<\/p>\n<h2>Download WordPress<\/h2>\n<p>Get the latest version of WordPress available at <a href=\"https:\/\/wordpress.org\/download\/\">https:\/\/wordpress.org\/download<\/a>. Download it to a directory of your virtual server and extract it using the following commands:<\/p>\n<pre>cd \/opt\/\r\nwget https:\/\/wordpress.org\/latest.zip\r\nunzip latest.zip -d \/var\/www\/html\/<\/pre>\n<p>Create a new nginx configuration file and add the following virtual block for your domain name:<\/p>\n<pre>vi \/etc\/nginx\/sites-available\/your-domain.com.conf<\/pre>\n<p>Add the following lines:<\/p>\n<pre>server {\r\nlisten 80;\r\nserver_name your-domain.com www.your-domain.com;\r\n\r\nroot \/var\/www\/html\/wordpress;\r\nindex index.php index.html;\r\naccess_log \/var\/log\/nginx\/your-domain.com-access.log;\r\nerror_log \/var\/log\/nginx\/your-domain.com-error.log;\r\ncharset en_us.UTF-8;\r\n\r\nlocation \/ {\r\ntry_files $uri $uri\/ \/index.php?$args;\r\n}\r\n\r\nlocation ~* \\.(?:ico|css|js|gif|jpe?g|png)$ {\r\nexpires max;\r\nadd_header Pragma public;\r\nadd_header Cache-Control \"public, must-revalidate, proxy-revalidate\";\r\n}\r\n\r\nlocation ~ \\.php$ {\r\ntry_files $uri =404;\r\nfastcgi_split_path_info ^(.+\\.php)(\/.+)$;\r\nfastcgi_pass 127.0.0.1:9000;\r\nfastcgi_index index.php;\r\nfastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\r\ninclude fastcgi_params;\r\n}\r\n}<\/pre>\n<p>Then, edit the main nginx configuration file (\/etc\/nginx\/nginx.conf) and add the following line before the end of the http block:<\/p>\n<pre>include \/etc\/nginx\/sites-enabled\/*.conf<\/pre>\n<p>Activate the new nginx block by creating a symbolic link between the sites-available directory and the sites-enabled directory:<\/p>\n<pre>sudo ln -s \/etc\/nginx\/sites-available\/your-domain.com.conf \/etc\/nginx\/sites-enabled\/your-domain.com.conf<\/pre>\n<p>Do not forget to replace your-domain.com with your actual domain name. Then, delete the &#8216;default&#8217; nginx configuration file:<\/p>\n<pre>rm \/etc\/nginx\/sites-enabled\/default<\/pre>\n<p>Open the &#8216;\/etc\/php\/7.0\/fpm\/pool.d\/www.conf&#8217; PHP configuration file and change the &#8216;listen&#8217; variable:<\/p>\n<p>change:<\/p>\n<pre>listen = \/run\/php\/php7.0-fpm.sock<\/pre>\n<p>to<\/p>\n<pre>listen = 127.0.0.1:9000<\/pre>\n<p>Edit the \u2018\/etc\/php\/7.0\/fpm\/php.ini\u2019 PHP configuration file:<\/p>\n<pre>vi \/etc\/php\/7.0\/fpm\/php.ini<\/pre>\n<p>Add\/modify the following settings:<\/p>\n<pre>max_execution_time = 300\r\nmax_input_time = 300\r\nmemory_limit = -1\r\npost_max_size = 64M\r\nupload_max_filesize = 64M<\/pre>\n<p>The web server user (www-data) needs to be able to write to files and directories inside the &#8216;\/var\/www\/html\/wordpress&#8217; directory, so it can easily be accomplished by executing the following command:<\/p>\n<pre>sudo chown www-data:www-data -R \/var\/www\/html\/wordpress\/<\/pre>\n<p>Test the nginx configuration:<\/p>\n<pre># nginx -t\r\nnginx: the configuration file \/etc\/nginx\/nginx.conf syntax is ok\r\nnginx: configuration file \/etc\/nginx\/nginx.conf test is successful<\/pre>\n<p>If the test is successful, restart php7.0-fpm and Nginx services for the changes to take effect:<\/p>\n<pre>sudo service php7.0-fpm restart\r\nsudo service nginx restart<\/pre>\n<h2>Create new MySQL user and database:<\/h2>\n<p>WordPress requires a database to work as this is where data is saved, so create a new MySQL database on your server:<\/p>\n<pre>mysql -u root -p\r\nmysql&gt; SET GLOBAL sql_mode='';\r\nmysql&gt; CREATE DATABASE wpdb;\r\nmysql&gt; CREATE USER 'wpuser'@'localhost' IDENTIFIED BY 'y0ur-pAssW0RD';\r\nmysql&gt; GRANT ALL PRIVILEGES ON wpdb.* TO 'wpuser'@'localhost';\r\nmysql&gt; FLUSH PRIVILEGES;\r\nmysql&gt; quit<\/pre>\n<p>Copy the WordPress sample config file (wp-config-sample.php):<\/p>\n<pre>cd \/var\/www\/html\/wordpress\/\r\ncp wp-config-sample.php wp-config.php<\/pre>\n<p>Set up the MySQL database information:<\/p>\n<pre>vi wp-config.php<\/pre>\n<pre>define('DB_NAME', 'wpdb');\r\ndefine('DB_USER', 'wpuser');\r\ndefine('DB_PASSWORD', 'y0ur-pAssW0RD');<\/pre>\n<p>Do not forget to replace &#8216;y0ur-pAssW0RD&#8217; with a strong password.<\/p>\n<p>To install WordPress, open http:\/\/your-domain.com using a web browser and follow the easy instructions: select a language, create an administrator user account, enter your email address and click &#8216;Install WordPress&#8217;.<\/p>\n<p>Log in to the WordPress administrator backend, go to plugins, search for &#8216;W3 Total Cache&#8217; and install the W3 Total Cache plugin.\u00a0Then, install a theme and other plugins of your choice, and configure WordPress according to your needs.<\/p>\n<p>That is it. The WordPress installation is now complete.<\/p>\n<hr \/>\n<p>Of course, you don&#8217;t have to do any of this if you use our <a title=\"Linux VPS Hosting\" href=\"https:\/\/linuxhostsupport.com\/software-installation.html\" target=\"_blank\">Software Installation Service<\/a>, in which case you can simply ask our expert Linux admins to <strong>install and configure WordPress with nginx, install W3 total cache plugin etc.<\/strong> for you. They are available 24\u00d77 and will take care of your request immediately<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post please share it with your friends on the social networks using the buttons below or simply leave a comment. Thanks.<\/p>\n<p>&nbsp;<\/p><div id=\"linux-1748373122\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to provide you with step-by-step instructions on how to install WordPress with Nginx and W3 Total Cache on an Ubuntu 16.04 VPS. WordPress is the most popular open source CMS written in PHP that allows web developers to create everything from simple websites to complex e-commerce web stores, news [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[79,3],"class_list":["post-4","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-linux-host-support","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install WordPress with Nginx and W3 Total Cache on Ubuntu 16.04 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"In this tutorial, we are going to provide you with step-by-step instructions on how to install WordPress with Nginx and W3 Total Cache on an Ubuntu 16.04\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/\" \/>\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 Nginx and W3 Total Cache on Ubuntu 16.04 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we are going to provide you with step-by-step instructions on how to install WordPress with Nginx and W3 Total Cache on an Ubuntu 16.04\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-17T09:59:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-25T12:13:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/02\/wordpress-on-ubuntu.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Install WordPress with Nginx and W3 Total Cache on Ubuntu 16.04\",\"datePublished\":\"2017-02-17T09:59:58+00:00\",\"dateModified\":\"2018-01-25T12:13:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/\"},\"wordCount\":669,\"commentCount\":4,\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/02\/wordpress-on-ubuntu.jpg\",\"keywords\":[\"Linux host support\",\"wordpress\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/\",\"name\":\"How to Install WordPress with Nginx and W3 Total Cache on Ubuntu 16.04 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/02\/wordpress-on-ubuntu.jpg\",\"datePublished\":\"2017-02-17T09:59:58+00:00\",\"dateModified\":\"2018-01-25T12:13:41+00:00\",\"author\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In this tutorial, we are going to provide you with step-by-step instructions on how to install WordPress with Nginx and W3 Total Cache on an Ubuntu 16.04\",\"breadcrumb\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#primaryimage\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/02\/wordpress-on-ubuntu.jpg\",\"contentUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/02\/wordpress-on-ubuntu.jpg\",\"width\":1200,\"height\":600,\"caption\":\"wordpress on ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/linuxhostsupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install WordPress with Nginx and W3 Total Cache on Ubuntu 16.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install WordPress with Nginx and W3 Total Cache on Ubuntu 16.04 | LinuxHostSupport","description":"In this tutorial, we are going to provide you with step-by-step instructions on how to install WordPress with Nginx and W3 Total Cache on an Ubuntu 16.04","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:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Install WordPress with Nginx and W3 Total Cache on Ubuntu 16.04 | LinuxHostSupport","og_description":"In this tutorial, we are going to provide you with step-by-step instructions on how to install WordPress with Nginx and W3 Total Cache on an Ubuntu 16.04","og_url":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2017-02-17T09:59:58+00:00","article_modified_time":"2018-01-25T12:13:41+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/02\/wordpress-on-ubuntu.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Install WordPress with Nginx and W3 Total Cache on Ubuntu 16.04","datePublished":"2017-02-17T09:59:58+00:00","dateModified":"2018-01-25T12:13:41+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/"},"wordCount":669,"commentCount":4,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/02\/wordpress-on-ubuntu.jpg","keywords":["Linux host support","wordpress"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/","url":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/","name":"How to Install WordPress with Nginx and W3 Total Cache on Ubuntu 16.04 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/02\/wordpress-on-ubuntu.jpg","datePublished":"2017-02-17T09:59:58+00:00","dateModified":"2018-01-25T12:13:41+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In this tutorial, we are going to provide you with step-by-step instructions on how to install WordPress with Nginx and W3 Total Cache on an Ubuntu 16.04","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/02\/wordpress-on-ubuntu.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/02\/wordpress-on-ubuntu.jpg","width":1200,"height":600,"caption":"wordpress on ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/install-wordpress-with-nginx-and-w3-total-cache-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install WordPress with Nginx and W3 Total Cache on Ubuntu 16.04"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/4","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=4"}],"version-history":[{"count":7,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/4\/revisions"}],"predecessor-version":[{"id":374,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/4\/revisions\/374"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/5"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=4"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=4"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=4"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}