{"id":3548,"date":"2016-03-03T12:04:18","date_gmt":"2016-03-03T12:04:18","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=3548"},"modified":"2021-02-06T06:54:17","modified_gmt":"2021-02-06T06:54:17","slug":"install-prestashop-on-a-centos-vps","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/","title":{"rendered":"Install PrestaShop on a CentOS VPS"},"content":{"rendered":"<p>PrestaShop is an open-source e-commerce application which allows you to maintain your own online store. It is very easy to use as well as very easy to install. In this article we will show you how to install and configure Prestashop on your CentOS VPS.<!--more--><\/p>\n<p>To proceed with this installation you will need to have a basic knowledge of Linux and have LAMP installed on your VPS. If you don\u2019t have a LAMP stack installed on your server, you can follow our guide on how to <a href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-install-linux-apache-mysql-php-on-centos-6-x\/\">install LAMP on CentOS<\/a> guide.<\/p>\n<h2>Installation Guide:<\/h2>\n<p>First make sure that your system is up to date:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">yum -y update<\/pre>\n<\/div>\n<p>Now download the latest release from the official PrestaShop website, unpack the installation package on your local machine and upload it on your server:<\/p>\n<p>Download the <a href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-fix-blank-white-screen-error-on-prestashop\/\">PrestaShop<\/a> installation in your \u2018\/var\/www\/html\u2019 directory using the commands:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">cd \/var\/www\/html\/\r\nwget http:\/\/downloads.sourceforge.net\/project\/prestashop\/prestashop%20v1\/1.6.1%20stable\/prestashop_1.6.1.4.zip<\/pre>\n<\/div>\n<p>Next Unzip the file using the command:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">Unzip prestashop_1.6.1.4.zip -d \/var\/www\/html<\/pre>\n<\/div>\n<p>Set the folder permissions:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">chown -R apache:apache \/var\/www\/html\/prestashop<\/pre>\n<\/div>\n<p>Once the installation done, you can proceed with creating a database and its user. To create a database user, log in to your MySQL server and execute the following commands:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">create database prestashop;\r\nGRANT ALL ON prestashop.* TO prestashopuser@localhost IDENTIFIED BY 'yourpassword';\r\nflush privileges;<\/pre>\n<\/div>\n<p>Do not forget to change \u2018YOURPASSWORD with a password of your choice.<\/p>\n<p>You can now set up your web server. If you are using Apache as a web server, you need to edit your \u2018\/etc\/httpd\/conf\/httpd.conf\u2019 file. Open it with your favorite text editor and add the following lines:<\/p>\n<div class=\"cpanel-files\"><\/div>\n<pre class=\"lang:default decode:true \">&lt;VirtualHost *:80&gt;   \r\nServerAdmin webmaster@yourdomain.com   \r\nDocumentRoot \/var\/www\/html\/prestashop   \r\nServerName yourdomain.com   \r\nErrorLog logs\/prestashop.yourdomain.com-error_log   \r\nCustomLog logs\/prestashop.yourdomain.com-access_log common&lt;\/VirtualHost&gt;<\/pre>\n<p>Save and close the file. Restart the apache service for the changes to take effects:<\/p>\n<div class=\"command-sh\">\n<pre class=\"lang:default decode:true \">Service httpd restart<\/pre>\n<\/div>\n<p>By default <a href=\"https:\/\/cpanelplesk.com\/wp62\/3199-2\/\">PrestaShop<\/a> will be available on HTTP port 80. Open your favorite browser and navigate to http:\/\/yourdomain.com\/ or http:\/\/server-ip\/ and complete the required steps to finish the installation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PrestaShop is an open-source e-commerce application which allows you to maintain your own online store. It is very easy to use as well as very easy to install. In this article we will show you how to install and configure Prestashop on your CentOS VPS. [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":3150,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-3548","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Install PrestaShop on a CentOS VPS - cPanel Plesk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Install PrestaShop on a CentOS VPS - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"PrestaShop is an open-source e-commerce application which allows you to maintain your own online store. It is very easy to use as well as very easy to install. In this article we will show you how to install and configure Prestashop on your CentOS VPS. [...]Continue Reading...\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/11\/prestashop-e1447742984567.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Seemab Saleem\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/\"},\"author\":{\"name\":\"Seemab Saleem\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\"},\"headline\":\"Install PrestaShop on a CentOS VPS\",\"datePublished\":\"2016-03-03T12:04:18+00:00\",\"dateModified\":\"2021-02-06T06:54:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/\"},\"wordCount\":286,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/11\/prestashop-e1447742984567.jpg\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/\",\"name\":\"Install PrestaShop on a CentOS VPS - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/11\/prestashop-e1447742984567.jpg\",\"datePublished\":\"2016-03-03T12:04:18+00:00\",\"dateModified\":\"2021-02-06T06:54:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#primaryimage\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/11\/prestashop-e1447742984567.jpg\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/11\/prestashop-e1447742984567.jpg\",\"width\":200,\"height\":200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install PrestaShop on a CentOS VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\",\"name\":\"Seemab Saleem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"caption\":\"Seemab Saleem\"},\"description\":\"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!\",\"sameAs\":[\"https:\/\/cpanelplesk.com\/wp62\"],\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install PrestaShop on a CentOS VPS - cPanel Plesk","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:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/","twitter_card":"summary_large_image","twitter_title":"Install PrestaShop on a CentOS VPS - cPanel Plesk","twitter_description":"PrestaShop is an open-source e-commerce application which allows you to maintain your own online store. It is very easy to use as well as very easy to install. In this article we will show you how to install and configure Prestashop on your CentOS VPS. [...]Continue Reading...","twitter_image":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/11\/prestashop-e1447742984567.jpg","twitter_misc":{"Written by":"Seemab Saleem","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/"},"author":{"name":"Seemab Saleem","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648"},"headline":"Install PrestaShop on a CentOS VPS","datePublished":"2016-03-03T12:04:18+00:00","dateModified":"2021-02-06T06:54:17+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/"},"wordCount":286,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/11\/prestashop-e1447742984567.jpg","articleSection":["Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/","url":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/","name":"Install PrestaShop on a CentOS VPS - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#primaryimage"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/11\/prestashop-e1447742984567.jpg","datePublished":"2016-03-03T12:04:18+00:00","dateModified":"2021-02-06T06:54:17+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#primaryimage","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/11\/prestashop-e1447742984567.jpg","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2015\/11\/prestashop-e1447742984567.jpg","width":200,"height":200},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/install-prestashop-on-a-centos-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"Install PrestaShop on a CentOS VPS"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648","name":"Seemab Saleem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","caption":"Seemab Saleem"},"description":"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!","sameAs":["https:\/\/cpanelplesk.com\/wp62"],"url":"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/3548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=3548"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/3548\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media\/3150"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=3548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=3548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=3548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}