Install PrestaShop on a CentOS VPS

logo_prestashopPrestaShop is an open-source e-commerce solution which allows you to maintain your own online shop. It is very easy to use as well as very easy to install. If you have a Linux VPS with CentOS installed, you can continue with this guide. Otherwise, you can check our Install PrestaShop on Ubuntu guide.

For this tutorial you will need to have a LAMP stack installed. If you do not have a LAMP stack installed on your server, you can follow the how to install LAMP on CentOS guide.

You can download the latest release from the official PrestaShop website, unpack the installation on your local machine and upload it on your server, or, proceed with the following steps:

Download the PrestaShop installation in your ‘/var/www/html’ directory using the commands:

cd /var/www/html/

At the moment of writing, the latest stable version is ‘’.

Next, you will need to unzip the file using the command:


Set the web server to be the owner of that directory:

chown -R apache:apache prestashop/

Once the installation folder is available on your server, you can proceed with creating a database and a database user. To create a database where PrestaShop can store the files and a database user, you need to log in to your MySQL server and execute the following commands:

create database prestashop;
GRANT ALL ON prestashop.* TO [email protected] IDENTIFIED BY 'YoUrPaSsWoRd';
flush privileges;

Do not forget to change ‘YoUrPaSsWoRd’ with a password of your choice.

You can now set up your web server. If you are using Apache as a web server, you need to edit your ‘/etc/httpd/conf/httpd.conf’ file. Open it with your favorite text editor and add the following lines:

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /var/www/html/prestashop
    ErrorLog logs/
    CustomLog logs/ common

Do not forget to change with your domain name. Save the file and restart your web server. Once you complete all these steps, you can proceed with the online installation. You should simply open your favorite web browser and enter your domain name.

After you set up PrestShop on your CentOS VPS, it is recommended to read the guides at the official PrestaShop web site in order to learn how to get started with your online shop and how to configure it according to your needs.

Of course you don’t have to do any of this if you use one of our Linux VPS hosting services, in which case you can simply ask our expert Linux admins to install Prestashop for you. They are available 24×7 and will take care of your request immediately.

PS. 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.

Install AbanteCart on a Linux VPS
Install Magento 2 on an Ubuntu 14.04 VPS
How to migrate from ownCloud to Nextcloud
There are currently no comments.

Free Migration to RoseHosting. Award Winning Linux VPS Hosting with Fully Managed Support. Coupon RHBLOG50 for 50% offOrder Now