• 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 CS-Cart on CentOS 7.6

  • 00:37 rpm -q centos-release
  • 00:55 mysql -u root -p
  • 02:14 unzip cscart_v4.9.3.SP1.zip -d cscart
  • 02:30 mv cscart /var/www/
  • 02:42 chown -R apache:apache /var/www/cscart
  • 02:58 chmod -R 755 /var/www/cscart
  • 03:13 vim /etc/httpd/conf.d/cscart.conf
  • 04:27 systemctl restart httpd
{{postValue.id}}

Installation of CS-Cart on CentOS 7.6

CS-Cart is an eCommerce shopping cart software tool written in PHP and uses MySQL database system. It is used for theme editor, layout editor, different payment system, multi-store, integrated SEO and many more. In this tutorial, we will cover the installation of CS-cart on Centos 7.6

Requirements for CS-cart:

Apache

MariaDB

PHP and its modules

php-gd php-curl php-common php-mysql php-soap php-mysql php-mcrypt php-mbstring php-zip php-xml php-gd

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 cscartdb;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> create user 'csuser'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.01 sec)
MariaDB [(none)]> grant all privileges on cscartdb.* to 'csuser'@localhost;
Query OK, 0 rows affected (0.01 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> Ctrl-C -- exit!
Aborted

List out the files.

[root@linuxhelp ~]# ls
anaconda-ks.cfg        Desktop    Downloads             Music     Public              Templates
cscart_v4.9.3.SP1.zip  Documents  initial-setup-ks.cfg  Pictures  remi-release-7.rpm  Videos

Now extract the previously downloaded installation package using unzip command.

[root@linuxhelp ~]# unzip cscart_v4.9.3.SP1.zip -d cscart
Archive:  cscart_v4.9.3.SP1.zip
  inflating: cscart/.htaccess        
  inflating: cscart/admin.php        
  inflating: cscart/api.php          
   creating: cscart/app/
  inflating: cscart/app/.htaccess    
   creating: cscart/app/Tygh/ 
.
.
 inflating: cscart/var/themes_repository/responsive/templates/views/tabs/components/product_tabs.tpl  
   creating: cscart/var/upgrade/
  inflating: cscart/var/upgrade/.htaccess  
  inflating: cscart/var/upgrade/restore.php  
   creating: cscart/var/snapshots/
  inflating: cscart/var/snapshots/4.9.3.sp1_ultimate_dist.php  
  inflating: cscart/copyright.txt   

Move the CS-cart directory to apache root directory.

[root@linuxhelp ~]# mv cscart /var/www/

Set the ownership and permission for CS-cart by using the following command

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

Configure the virtualhost for accessing the CS-cart

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

Restart the apache service by using the following command.

[root@linuxhelp ~]# systemctl restart httpd

Switch to your browser and enter your domain name. snap1 The installation page of CS-Cart appears on the screen. Click the Install option. snap2 Accept the license agreement and Click next. snap3 Check the configuration setup. snap4

Configure the database details. snap5 Configure the admin credentials. snap6 Installation is in process. snap7 The installation process is completed. To enter into the admin panel, click Go to the administration panel. snap8 The admin dashboard of CS-Cart is displayed on the screen. snap9

With this, the method to install CS-cart on CentoS 7.6 comes to an end.

Tags:
gibbson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is CS-Cart?

A

CS-Cart is an eCommerce shopping cart software with an intuitive admin panel. It hosts a plethora of features such as theme editor, layout editor, different payment system, multi-store, integrated SEO, and cloud-powered search function. It is mainly written in PHP and uses MySQL database system

Q

What PHP Version is requirement for this CS-Cart?

A

PHP 5.6 and above version will be required for CS-Cart application.

Q

Where to download the CS-Cart installation package?

A

This is the offical website of CS-Cart here you can download the installation package https://www.cs-cart.ie/cs-cart-free-download/

Q

What are the requirements for CS-cart?

A

These are the requirements for cs-cart
Apache
MariaDB
PHP and its modules

Q

What are the php modules required for CS-Cart on ubuntu?

A

These are the php-modules required for CS-Cart

php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-dev libmcrypt-dev php-pear

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 Isaiah ?
What is the use of SUID & SGID commands

How to set the special permissions to the files and folders using SUID and SGID commands...

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.