PrestaShop on Centos 6.x

As once the centos server has been installed. (Server minimum).

the following components are needed:

  • Apache httpd server
  • PHP
  • MySQL

Let start:

    • Apache
yum install httpd
chkconfig httpd on
  •  PHP

You will require to add the remi repository and install dependencies:

rpm -vi http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -vi http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum --enablerepo=epel install mcrypt libmcrypt mhash
yum --enablerepo=remi install php-mcrypt php php-common php-pdo php-cli php-mysql php-gd php-xml libtool-ltdl php-mbstring
    • Set the Owner for the Apache’s path:
chown -R apache.apache /var/www/html/
      • service httpd restart
service httpd restart
      • Installation of MySQL
yum --enablerepo=remi install mysql mysql-server
      • Start MySQL
service mysqld start
chkconfig mysqld on
    • Setup MySQL
/usr/bin/mysqladmin -u root password 'new-password'
    • Add iptables rule
vi /etc/sysconfig/iptables

Add the following rule for the http on port 80 / 443 for if Https

-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

For the rest left to do, download the latest version of Prestashop; uncompress it to /var/www/html/
Then follow the instruction from : http://yourmachine/install/

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

Menu