• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Zen Cart on CentOS 7.6

  • 00:41 rpm -q centos-release
  • 00:58 mysql -u root -p
  • 02:16 wget https://nchc.dl.sourceforge.net/project/zencart/CURRENT%20-%20Zen%20Cart%201.5.x%20Series/zen-cart-v1.5.6a-01042019.zip
  • 02:29 unzip zen-cart-v1.5.6a-01042019.zip
  • 02:38 mv zen-cart-v1.5.6a-01042019 /var/www/zen
  • 02:49 chown -R apache:apache /var/www/zen
  • 03:03 chmod -R 755 /var/www/zen
  • 03:15 vim /etc/httpd/conf.d/zen.conf
  • 04:29 systemctl restart httpd
  • 06:32 rm -rf zc_install
{{postValue.id}}

Installation of Zen cart On Centos 7.6

Zen Cart is an online store management system. It is PHP-based, using a MySQL database and HTML components. Zen Cart truly is free, user-friendly, open source shopping cart software. It contains features such as customization, integration with payment, works with any hosting company and can choose own domain name. This tutorial explains the installation of Zen Cart on Centos 7.6

Requirements for Zen Cart:

Apache

MySQL

PHP and its modules

Installation procedure

Check the Centos version by using the following command.

[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-6.1810.2.el7.centos.x86_64

Configure the MySQL database. Log into MySQL as a root user and make the necessary settings.

[root@linuxhelp ~]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 5.5.60-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database zendb;
Query OK, 1 row affected (0.01 sec)
MariaDB [(none)]> create user 'zenuser'@localhost identified by 'Linuxc';
Query OK, 0 rows affected (0.03 sec)
MariaDB [(none)]> grant all privileges on zendb.* to 'zenuser'@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> Ctrl-C -- exit!
Aborted

Once the database configuration is done, download the Zen Cart Installation package by using the wget command.

[root@linuxhelp ~]# wget https://nchc.dl.sourceforge.net/project/zencart/CURRENT%20-%20Zen%20Cart%201.5.x%20Series/zen-cart-v1.5.6a-01042019.zip
--2019-06-06 19:16:17--  https://nchc.dl.sourceforge.net/project/zencart/CURRENT%20-%20Zen%20Cart%201.5.x%20Series/zen-cart-v1.5.6a-01042019.zip
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)... 211.79.60.17, 2001:e10:ffff:1f02::17
Connecting to nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8923438 (8.5M) [application/octet-stream]
Saving to: ‘zen-cart-v1.5.6a-01042019.zip’

100%[======================================================================>] 8,923,438   1.10MB/s   in 8.0s   

2019-06-06 19:16:26 (1.07 MB/s) - ‘zen-cart-v1.5.6a-01042019.zip’ saved [8923438/8923438]

Once the download is completed extract the downloaded package using unzip command.

[root@linuxhelp ~]# unzip zen-cart-v1.5.6a-01042019.zip
Archive:  zen-cart-v1.5.6a-01042019.zip
   creating: zen-cart-v1.5.6a-01042019/
  inflating: zen-cart-v1.5.6a-01042019/README.md  
   creating: zen-cart-v1.5.6a-01042019/admin/
  inflating: zen-cart-v1.5.6a-01042019/admin/.htaccess  
  inflating: zen-cart-v1.5.6a-01042019/admin/admin_account.php  
  inflating: zen-cart-v1.5.6a-01042019/admin/admin_activity.php
.
.
.
  inflating: zen-cart-v1.5.6a-01042019/zc_install/sql/updates/mysql_upgrade_zencart_151.sql  
  inflating: zen-cart-v1.5.6a-01042019/zc_install/sql/updates/mysql_upgrade_zencart_152.sql  
  inflating: zen-cart-v1.5.6a-01042019/zc_install/sql/updates/mysql_upgrade_zencart_153.sql  
  inflating: zen-cart-v1.5.6a-01042019/zc_install/sql/updates/mysql_upgrade_zencart_154.sql  
  inflating: zen-cart-v1.5.6a-01042019/zc_install/sql/updates/mysql_upgrade_zencart_155.sql  
  inflating: zen-cart-v1.5.6a-01042019/zc_install/sql/updates/mysql_upgrade_zencart_156.sql  

Move the ZenCart directory to apache root directory.

[root@linuxhelp ~]# mv zen-cart-v1.5.6a-01042019 /var/www/zen

Set the ownership and permission for ZenCart by using the following command.

[root@linuxhelp ~]# chown -R apache:apache /var/www/zen
[root@linuxhelp ~]# chmod -R 755 /var/www/zen

Configure the virtualhost for accessing the Zen Cart.

[root@linuxhelp ~]# vim /etc/httpd/conf.d/zen.conf
<Virtualhost *:80>
        Servername www.linuxhelp1.com
        Documentroot /var/www/zen
<directory /var/www/zen>
allowoverride all
allow from all
</directory>
</Virtualhost>

Restart the apache service by using the following command.

[root@linuxhelp ~]# systemctl restart httpd

Open it is done, switch to your browser and enter the domain name. snap1 Welcome page of Zen Cart. snap2 Check the system inspection. snap3 Accept the given license agreement and click continue. snap4 Configure the database setting. snap5 snap6 Create your admin credentials. snap7 Go to the admin page before that delete the zc_install go back to the terminal. snap8 Enter into the Zen Cart directory.

[root@linuxhelp ~]# cd /var/www/zen

[root@linuxhelp zen]# ls
ajax.php         editors      includes              logs                 pub                  zc_install
cache            email        index.php             mcs_learn_more.html  README.md
Clung-bCo-Flock  extras       install.txt           media                robots_example.txt
docs             favicon.ico  ipn_main_handler.php  nddbc.html           square_handler.php
download         images       license.txt           page_not_found.php   vbv_learn_more.html

Remove the zc install by using the following command.

[root@linuxhelp zen]# rm -rf zc_install

Restart the apache service

[root@linuxhelp zen]# systemctl restart httpd

Enter your admin credentials to login Zen Cart. snap9 Enter a new password for admin. snap10 This is the dashboard of Zen Cart. snap11

With this, the method to install Zen Cart on Centos 7.6 comes to an end.

Tags:
keeljohnston
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How can I find out what version of Zen Cart or PHP or MySQL I'm using?

A

To find out what version of Zen Cart or PHP or MySQL you are currently using, you can simply go to Admin->Tools->Server Info (or click "Version" on the top right navigation menu).

Q

Where can I download the Zen Cart code?

A

You can download any of the Zen Cart original files (current version and older versions) by clicking on the "Home" link at the top of this page, and then clicking on the "Download Zen Cart".

Q

What is Zen Cart?

A

Zen Cart is an online store management system. It is PHP-based, using a MySQL database and HTML components. Zen Cart truly is free, user-friendly, open source shopping cart software. It contains features such as customization, integration with payment, works with any hosting company and can choose own domain name.

Q

What are the requirements for zen cart?

A

These are the requirements for zen cart Apache Mysql and Php and its modules

Q

What are the php modules required for zen cart?

A

These are the modules required for zen cart

php php-xml php-gd php-mbstring php-mysql php-mcyrpt php-zip php-soap php-ldap php-curl

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help David Lopez Guillen ?
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web

hola segui este tutorial para tener un certificado ssl y ahora no se ve mi app en la red, espero alguien pueda ayudarme, tengo M9oodle en3.5 en un servidor open suse y ahora no funciona por favor ayuda.

https://www.linuxhelp.com/how-to-create-ssl-certificate-in-opensuse

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.