Install PrestaShop on a CentOS VPS

Tutorials Shared by the Internet Community

Advertisements


Install PrestaShop on a CentOS VPS

PrestaShop 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 ins

Statistics

  • Total Hits - 37383

  • Total Votes - 0 votes

  • Vote Up - 0 votes

  • Vote Down - 0 votes

  • Domain - www.rosehosting.com

  • Category - Unix/Installation

  • Submitted By - Admin

  • Submitted on - 2014-12-01 22:38:50

Description

PrestaShop 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/
wget http://downloads.sourceforge.net/project/prestashop/prestashop%20v1/1.6.0%20stable/prestashop_1.6.0.8.zip

At the moment of writing, the latest stable version is '1.6.0.8'. Next, you will need to unzip the file using the command:
unzip prestashop_1.6.0.8.zip

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 prestashopuser@localhost 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 webmaster@yourdomain.com
DocumentRoot /var/www/html/prestashop
ServerName yourdomain.com
ErrorLog logs/prestashop.yourdomain.com-error_log
CustomLog logs/prestashop.yourdomain.com-access_log common
</VirtualHost>

Do not forget to change yourdomain.com 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.

Source Website

Please use the following link to visit the site. There is a possibility that this content has been removed from the given URL or may be this site has been shut down completely.

http://www.rosehosting.com/blog/install-prestashop-on-a-centos-vps/

Broken  |   Save  |   Liked  |   Down

Advertisements