How to Install zen-cart on centos 6


Install ZenCart on Centos/RHEL 6.X

Step 1: Configure LAMP

A. Install LAMP 


Step 2: Download the latest version of Zen Cart and Install

# wget http://nchc.dl.sourceforge.net/project/zencart/CURRENT%20-%20Zen%20Cart%201.5.x

%20Series/zen-cart-v1.5.4-12302014.zip
# unzip zen-cart-*.zip -d /var/www/html/
# mv /var/www/html/zen-cart-* /var/www/html/zen-cart/

Step 3: Create Database

# mysql -u root -predhat

mysql> CREATE DATABASE zencart;
mysql> CREATE USER 'zencartuser'@'localhost' IDENTIFIED BY 'your-password-here';
mysql> GRANT ALL PRIVILEGES ON zencart.* TO 'zencartuser'@'localhost';
mysql> FLUSH PRIVILEGES;
mysql> \q

Step 4: Also, create a new virtual host in Apache, for example

# vi /etc/httpd/conf.d/zen-cart.conf

<VirtualHost *:80>
ServerAdmin admin@your-domain.com
DocumentRoot /var/www/html/zen-cart/
ServerName your-domain.com
ServerAlias www.your-domain.com
ErrorLog logs/your-domain.com-error_log
CustomLog logs/your-domain.com-access_log common
</VirtualHost>

-- save and quit (:wq) --

Step 5: Set the permissions for these files and directories to 777 using the following commands

# cd /var/www/html/zen-cart/
# mv admin/includes/dist-configure.php admin/includes/configure.php
# mv includes/dist-configure.php includes/configure.php
# chmod 777 admin/includes/configure.php
# chmod 777 includes/configure.php
# chmod 777 cache
# chmod 777 includes/languages/english/html_includes
# chmod 777 logs
# chmod 777 media
# chmod 777 pub
# chmod 777 images/
# chmod 777 admin/backups
# chmod 777 admin/images/graphs

Step 6: Open the following and follow the instructions

http://Your-IP-Address/zen-cart/zc_install/index.php


Thanks For Visiting on My Blog, For More Tutorials Keep Visiting My Blog.

1 comments:

Good Documentation!!!!!!! I Like It!!!!!