{"id":17124,"date":"2015-05-07T09:45:59","date_gmt":"2015-05-07T14:45:59","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17124"},"modified":"2022-12-16T03:45:48","modified_gmt":"2022-12-16T09:45:48","slug":"install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/","title":{"rendered":"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB"},"content":{"rendered":"
<\/div>

\"magento-logo\"Magento is a very popular and feature rich open source e-commerce web application. Magento is fully customizable to meet the users requirements and allowing them to create and launch a fully functional online store in minutes. In this tutorial we will show you how to install Magento on a CentOS 7 VPS<\/a> with Nginx web server, PHP-FPM and MariaDB.<\/p>\n

<\/p>\n

As usual, log in to your server as user root and make sure that your CentOS 7 VPS is fully up-to-date<\/p>\n

yum -y update<\/pre>\n

Magento needs a database, so we will install MariaDB server and create an empty database for the store<\/p>\n

yum install mariadb mariadb-server<\/pre>\n

Start the MariaDB server and enable it to start on boot<\/p>\n

systemctl start mariadb\r\nsystemctl enable mariadb<\/pre>\n

Run the mysql_secure_installation post-installation script to improve the security of the MariaDB server and set the root password.<\/p>\n

Now, log in to the MariaDB server console and create a database<\/p>\n

mysql -u root -p<\/pre>\n
mysql> CREATE DATABASE magentodb;\r\nmysql> GRANT ALL PRIVILEGES ON magentodb . * TO magentouser@'localhost' IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION;\r\nmysql> FLUSH PRIVILEGES;<\/pre>\n

Don’t forget to change PASSWORD with an actual strong password.<\/p>\n

Next, we will install Nginx web server. It is not available by default in CentOS 7 so we will use the official Nginx repository<\/p>\n

rpm -UVh http:\/\/nginx.org\/packages\/centos\/7\/noarch\/RPMS\/nginx-release-centos-7-0.el7.ngx.noarch.rpm\r\nyum install nginx<\/pre>\n

Start the Nginx web server and enable to start on boot<\/p>\n

systemctl start nginx\r\nsystemctl enable nginx<\/pre>\n

Install PHP and few PHP modules<\/p>\n

yum install php php-fpm php-cli php-mysql php-curl php-gd<\/pre>\n

Now, go the Magento’s official website and download the latest stable version. At the moment of writing this article it is version 1.9.1.0<\/p>\n

wget http:\/\/www.magentocommerce.com\/downloads\/assets\/1.9.1.0\/magento-1.9.1.0.tar.gz<\/pre>\n

Unpack the Magento archive to the document root directory on your server<\/p>\n

tar -xvzf magento-1.9.1.0.tar.gz -C \/var\/www\/html\/\r\nrm magento-1.9.1.0.tar.gz<\/pre>\n

The content of the archive will be unpacked in a new ‘magento’ directory inside the document root.<\/p>\n

Set proper permissions:<\/p>\n

cd \/var\/www\/html\/magento\r\nchmod -R o+w app\/etc\/\r\nchmod -R o+w var\/\r\nchmod -R o+w media\/<\/pre>\n

Create an Nginx virtual block for your domain with the following content<\/p>\n

nano \/etc\/nginx\/conf.d\/magentodomain.conf\r\n\r\nserver {\r\nlisten 80 default;\r\nserver_name www.magentoodomain.com *.magentoodomain.com;\r\nroot \/var\/www\/html\/magento\r\n\r\nlocation \/ {\r\nindex index.html index.php;\r\ntry_files $uri $uri\/ @handler;\r\nexpires 30d;\r\n}\r\n\r\nlocation ^~ \/app\/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 { deny all; }\r\nlocation ^~ \/includes\/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 { deny all; }\r\nlocation ^~ \/lib\/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 { deny all; }\r\nlocation ^~ \/media\/downloadable\/ { deny all; }\r\nlocation ^~ \/pkginfo\/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 { deny all; }\r\nlocation ^~ \/report\/config.xml\u00a0\u00a0 { deny all; }\r\nlocation ^~ \/var\/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 { deny all; }\r\n\r\nlocation \/var\/export\/ {\r\nauth_basic\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"Restricted\";\r\nauth_basic_user_file htpasswd;\r\nautoindex\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 on;\r\n}\r\n\r\nlocation\u00a0 \/. {\r\nreturn 404;\r\n}\r\n\r\nlocation @handler {\r\nrewrite \/ \/index.php;\r\n}\r\n\r\nlocation ~ .php\/ {\r\nrewrite ^(.*.php)\/ $1 last;\r\n}\r\n\r\nlocation ~ .php$ {\r\nif (!-e $request_filename) { rewrite \/ \/index.php last; }\r\n\r\nexpires\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 off;\r\nfastcgi_pass\u00a0\u00a0 127.0.0.1:9000;\r\nfastcgi_param\u00a0 HTTPS $fastcgi_https;\r\nfastcgi_param\u00a0 SCRIPT_FILENAME\u00a0 $document_root$fastcgi_script_name;\r\nfastcgi_param\u00a0 MAGE_RUN_CODE default;\r\nfastcgi_param\u00a0 MAGE_RUN_TYPE store;\r\ninclude\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 fastcgi_params; ## See \/etc\/nginx\/fastcgi_params\r\n}\r\n}<\/pre>\n

Replace all instances of magentoodomain.com with your own domain name. and restart Nginx for the changes to take effect.<\/p>\n

systemctl restart nginx<\/pre>\n

We are done with the command line installation. Now, launch the web based Magento installer by accessing http:\/\/magentodomain.com and complete the required the steps to finish the installation<\/p>\n

Of course you don\u2019t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Magento for you. They are available 24\u00d77 and will take care of your request immediately. You can also checkout our guide on How to Install Magento 2 on CentOS 8<\/a>.<\/p>\n

PS.<\/span><\/strong> If you liked this post 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":"

Magento is a very popular and feature rich open source e-commerce web application. Magento is fully customizable to meet the … <\/p>\n

Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":17125,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1702,13,1712,1707],"tags":[541,216,49],"yoast_head":"\nInstall Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - RoseHosting<\/title>\n<meta name=\"description\" content=\"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - 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-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - RoseHosting\" \/>\n<meta property=\"og:description\" content=\"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/\" \/>\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=\"2015-05-07T14:45:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-16T09:45:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/04\/magento-logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"870\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB\",\"datePublished\":\"2015-05-07T14:45:59+00:00\",\"dateModified\":\"2022-12-16T09:45:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/\"},\"wordCount\":406,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/04\/magento-logo.png\",\"keywords\":[\"centos 7\",\"magento\",\"nginx\"],\"articleSection\":[\"CentOS\",\"Databases\",\"Tutorials\",\"Web Frameworks\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/\",\"name\":\"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - RoseHosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/04\/magento-logo.png\",\"datePublished\":\"2015-05-07T14:45:59+00:00\",\"dateModified\":\"2022-12-16T09:45:48+00:00\",\"description\":\"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/04\/magento-logo.png\",\"contentUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/04\/magento-logo.png\",\"width\":870,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.rosehosting.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/\",\"name\":\"RoseHosting\",\"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\":\"required name=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\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?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 plugin. -->","yoast_head_json":{"title":"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - RoseHosting","description":"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - 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-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/","og_locale":"en_US","og_type":"article","og_title":"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - RoseHosting","og_description":"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2015-05-07T14:45:59+00:00","article_modified_time":"2022-12-16T09:45:48+00:00","og_image":[{"width":870,"height":1024,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/04\/magento-logo.png","type":"image\/png"}],"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-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB","datePublished":"2015-05-07T14:45:59+00:00","dateModified":"2022-12-16T09:45:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/"},"wordCount":406,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/04\/magento-logo.png","keywords":["centos 7","magento","nginx"],"articleSection":["CentOS","Databases","Tutorials","Web Frameworks","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/","url":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/","name":"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/04\/magento-logo.png","datePublished":"2015-05-07T14:45:59+00:00","dateModified":"2022-12-16T09:45:48+00:00","description":"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB - RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/04\/magento-logo.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/04\/magento-logo.png","width":870,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-magento-on-a-centos-7-vps-with-nginx-php-fpm-and-mariadb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Magento on CentOS 7, with Nginx, PHP-FPM and MariaDB"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting","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":"required name=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\/"]},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09271207587f897ab46faaed9b355252?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\/17124"}],"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=17124"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17124\/revisions"}],"predecessor-version":[{"id":44327,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/17124\/revisions\/44327"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/17125"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=17124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=17124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=17124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}