{"id":4628,"date":"2014-09-16T14:23:34","date_gmt":"2014-09-16T19:23:34","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=4628"},"modified":"2022-06-03T03:46:40","modified_gmt":"2022-06-03T08:46:40","slug":"install-wordpress-on-a-centos-7-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/","title":{"rendered":"How to Install WordPress on CentOS 7"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"size-full wp-image-24489 alignnone\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7.jpg\" alt=\"Install WordPress on CentOS 7\" width=\"1200\" height=\"600\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7.jpg 1200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7-768x384.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7-1024x512.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7-860x430.jpg 860w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7-680x340.jpg 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7-500x250.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7-400x200.jpg 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7-200x100.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7-50x25.jpg 50w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>We will show you, how to install WordPress on Centos 7, using Apache web-server and MySQL database. WordPress is a web software (content management system) you can use to create a beautiful website or blog. An open source CMS, WordPress is often used as a blog publishing application powered by PHP and MySQL. Currently it is the most popular of the blogging platforms available. Installing WordPress on CentOS 7 is an easy task if you carefully follow our tutorial below.<\/p>\n<p>Before you start the installation, please make sure that you have LAMP stack installed on your server. If not, follow our excellent tutorial about <a title=\"How to install LAMP (Linux Apache, MariaDB &amp; PHP) on CentOS 7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lamp-linux-apache-mariadb-php-on-centos-7\/\" target=\"_blank\" rel=\"noopener noreferrer\">installing LAMP (Linux Apache, MariaDB &amp; PHP)<\/a> on\u00a0<a title=\"CentOS VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 7.<\/a><\/p>\n<p><!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ec132db18df\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ec132db18df\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#1-Requirements\" >1. Requirements<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#2-Update-the-system\" >2. Update the system<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#3-Install-WordPress-on-CentOS\" >3. Install WordPress on CentOS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#4-Install-wget\" >4. Install wget<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#5-Download-WordPress\" >5. Download WordPress<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#6-Install-php-gd\" >6. Install php-gd<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#7-Create-MySql-database\" >7. Create MySql database<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#8-Restart-MySQL\" >8. Restart MySQL:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#9-UnZip-and-configure-WordPress\" >9. UnZip and configure WordPress<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#10-Finalizy-your-WordPress-installation-on-CentOS-via-web-browser\" >10. Finalizy your WordPress installation on CentOS via web browser<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-Requirements\"><\/span>1. Requirements<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We are using our <a title=\"SSD VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">SSD 1 VPS<\/a> hosting plan for this tutorial.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"2-Update-the-system\"><\/span>2. Update the system<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First make sure your <a title=\"CentOS SSD VPS\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 7 VPS<\/a> is fully up-to-date using the command below:<\/p>\n<pre># yum update<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"3-Install-WordPress-on-CentOS\"><\/span>3. Install WordPress on CentOS<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Enter a directory by your choice and download WordPress. For our purpoces we are using the \/opt directory.<\/p>\n<pre># cd \/opt<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"4-Install-wget\"><\/span>4. Install wget<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Install wget and unzip that are needed for the installation further:<\/p>\n<pre># yum install wget unzip<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5-Download-WordPress\"><\/span>5. Download WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Download WordPress using the wget command:<\/p>\n<pre># wget http:\/\/wordpress.org\/latest.zip<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"6-Install-php-gd\"><\/span>6. Install php-gd<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Install php-gd in order to work with images, install plugins etc&#8230;<\/p>\n<pre># yum install php-gd<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"7-Create-MySql-database\"><\/span>7. Create MySql database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Enter MySQL as root:<\/p>\n<pre># mysql -u root -p\n\nmysql&gt; CREATE DATABASE wordpress;\nmysql&gt; GRANT ALL PRIVILEGES on wordpress.* to 'wpuser'@'localhost' identified by 'your_password';\nmysql&gt; FLUSH PRIVILEGES;\nmysql&gt; exit<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"8-Restart-MySQL\"><\/span>8. Restart MySQL:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre># systemctl restart mysqld.service<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"9-UnZip-and-configure-WordPress\"><\/span>9. UnZip and configure WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now we will unzip the WordPress zip file in the \/var\/www\/html\/ directory.<\/p>\n<pre># unzip -q latest.zip -d \/var\/www\/html\/<\/pre>\n<p>Set the proper permissions:<\/p>\n<pre># chown -R apache:apache \/var\/www\/html\/wordpress\n# chmod -R 755 \/var\/www\/html\/wordpress<\/pre>\n<p>We need to create the upload directory manually:<\/p>\n<pre># mkdir -p \/var\/www\/html\/wordpress\/wp-content\/uploads<\/pre>\n<p>Allow the Apache web server to write to the uploads directory. Do this by assigning group ownership of this directory to your web server which will allow Apache to create files and directories. Issue the following command:<\/p>\n<pre># chown -R :apache \/var\/www\/html\/wordpress\/wp-content\/uploads<\/pre>\n<p>Enter the WordPress directory:<\/p>\n<pre># cd \/var\/www\/html\/wordpress\/<\/pre>\n<p>Rename wp-config-sample.php into wp-config.php:<\/p>\n<pre># mv wp-config-sample.php wp-config.php<\/pre>\n<p>Open the WordPress configuration file with your favorite text editor and change the database values with the ones you gave at the time of the database creation.<\/p>\n<pre># vim wp-config.php<\/pre>\n<pre>\/\/ ** MySQL settings - You can get this info from your web host ** \/\/\n\/** The name of the database for WordPress *\/\ndefine('DB_NAME', 'wordpress');\n\n\/** MySQL database username *\/\ndefine('DB_USER', 'wpuser');\n\n\/** MySQL database password *\/\ndefine('DB_PASSWORD', 'your_password');\n\n\/** MySQL hostname *\/\ndefine('DB_HOST', 'localhost');<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"10-Finalizy-your-WordPress-installation-on-CentOS-via-web-browser\"><\/span>10. Finalizy your WordPress installation on CentOS via web browser<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now you can finish your WordPress installation by opening your favorite web browser and navigate to: http:\/\/your_ip_address\/wordpress\/wp-admin\/install.php<\/p>\n<p>Of course you don\u2019t have to Install WordPress on CentOS 7,\u00a0 if you use one of our <a href=\"https:\/\/www.rosehosting.com\/wordpress-hosting.html\">WordPress\u00a0hosting<\/a> services, in which case you can simply ask our expert Linux admins to install WordPress on CentOS 7 for you.They are available 24\u00d77 and will take care of your request immediately. You can also read our guide on <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-wordpress-with-lemp-stack-on-centos-8\/\">How to Install WordPress with LEMP Stack on CentOS 8<\/a>.<\/p>\n<p><span style=\"color: #ff0000;\">PS.<\/span> If you liked this post, on how to\u00a0Install WordPress on CentOS 7,\u00a0 please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We will show you, how to install WordPress on Centos 7, using Apache web-server and MySQL database. WordPress is a &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install WordPress on CentOS 7\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#more-4628\" aria-label=\"Read more about How to Install WordPress on CentOS 7\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":24489,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1710,13],"tags":[37,541,292,39,148],"class_list":["post-4628","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-cms-crm-erp","category-tutorials","tag-apache","tag-centos-7","tag-cms","tag-mysql","tag-wordpress","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install WordPress on CentOS 7 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install WordPress on CentOS 7 | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/\" \/>\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 on CentOS 7\" \/>\n<meta property=\"og:description\" content=\"How to Install WordPress on CentOS 7 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2014-09-16T19:23:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:46:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7.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=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install WordPress on CentOS 7\",\"datePublished\":\"2014-09-16T19:23:34+00:00\",\"dateModified\":\"2022-06-03T08:46:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/\"},\"wordCount\":448,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/Install-Wordpress-on-CentOS-7.jpg\",\"keywords\":[\"apache\",\"centos 7\",\"cms\",\"mysql\",\"wordpress\"],\"articleSection\":[\"CentOS\",\"CMS, CRM, ERP\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/\",\"name\":\"How to Install WordPress on CentOS 7 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/Install-Wordpress-on-CentOS-7.jpg\",\"datePublished\":\"2014-09-16T19:23:34+00:00\",\"dateModified\":\"2022-06-03T08:46:40+00:00\",\"description\":\"How to Install WordPress on CentOS 7 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/Install-Wordpress-on-CentOS-7.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/Install-Wordpress-on-CentOS-7.jpg\",\"width\":1200,\"height\":600,\"caption\":\"Install Wordpress on CentOS 7\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-wordpress-on-a-centos-7-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install WordPress on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install WordPress on CentOS 7 | RoseHosting","description":"How to Install WordPress on CentOS 7 | RoseHosting","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:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to Install WordPress on CentOS 7","og_description":"How to Install WordPress on CentOS 7 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2014-09-16T19:23:34+00:00","article_modified_time":"2022-06-03T08:46:40+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install WordPress on CentOS 7","datePublished":"2014-09-16T19:23:34+00:00","dateModified":"2022-06-03T08:46:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/"},"wordCount":448,"commentCount":1,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7.jpg","keywords":["apache","centos 7","cms","mysql","wordpress"],"articleSection":["CentOS","CMS, CRM, ERP","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/","name":"How to Install WordPress on CentOS 7 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7.jpg","datePublished":"2014-09-16T19:23:34+00:00","dateModified":"2022-06-03T08:46:40+00:00","description":"How to Install WordPress on CentOS 7 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/09\/Install-Wordpress-on-CentOS-7.jpg","width":1200,"height":600,"caption":"Install Wordpress on CentOS 7"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-wordpress-on-a-centos-7-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install WordPress on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/4628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=4628"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/4628\/revisions"}],"predecessor-version":[{"id":36645,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/4628\/revisions\/36645"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/24489"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=4628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=4628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=4628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}