• 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 Ubuntu 19.04

  • 00:37 lsb_release -a
  • 00:51 mysql -u root -p
  • 02:10 unzip cscart_v4.9.3.SP1.zip -d cscart
  • 02:22 mv cscart /var/www/
  • 02:31 chown -R www-data.www-data /var/www/cscart
  • 02:53 chmod -R 755 /var/www/cscart
  • 03:07 vim /etc/apache2/sites-available/cscart.conf
  • 04:27 a2dissite 000-default.conf
  • 04:41 a2ensite cscart.conf
  • 04:52 a2enmod rewrite
  • 05:06 systemctl restart apache2
{{postValue.id}}

To install CS-Cart on Ubuntu 19.04

Requirements for CS- cart:

Apache

MySQL

PHP and Its modules

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

Installation procedure

Check the Ubuntu version by using the following command.

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 19.04
Release:	19.04
Codename:	disco

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 MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.7.26-0ubuntu0.19.04.1 (Ubuntu)

Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> create database cscartdb;
Query OK, 1 row affected (0.01 sec)

mysql> create user 'csuser'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.04 sec)

mysql> grant all privileges on cscartdb.* to 'csuser'@localhost;
Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)

mysql> exit
Bye

Extract the contents of the previously downloaded the CS-Cart 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/
   creating: cscart/app/Tygh/Addons/  
.
.
 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 www-data.www-data /var/www/cscart
root@linuxhelp:~# chmod -R 755 /var/www/cscart

Configure the virtualhost for accessing the CS-Cart.

root@linuxhelp:~# vim /etc/apache2/sites-available/cscart.conf
<Virtualhost *:80>
        Servername www.linuxhelp1.com
        documentroot /var/www/cscart
<directory /var/www/cscart>
allowoverride all
allow from all
</directory>
</virtualhost>

Configure the virtualhost for accessing the CS-Cart.

root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable the site access with the following command.

root@linuxhelp:~# a2ensite cscart.conf
Enabling site cscart.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable the rewrite module.

root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Restart the apache service by using the following command.

root@linuxhelp:~# systemctl restart apache2

Switch to your browser and enter your domain name.

snap1

Accept the license agreement and Click next.

snap2

Check the configuration setup.

snap3

Configure the database details.

snap4

Configure the admin credentials.

snap5

The installation is in process.

snap6

The installation process is completed. To enter into the admin panel, click go to the administration panel. snap7

The admin dashboard of CS-Cart is displayed on the screen. snap8

With this, the method to install CS Cart on Ubuntu 19.04 comes to an end.

Tags:
lawrence
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What PHP Version is required for CS-Cart?

A

PHP 5.6 and above versions are for CS-Cart application.

Q

Where to download CS-Cart installation package?

A

You can download it from the official website of CS-Cart - https://www.cs-cart.ie/cs-cart-free-download/

Q

What are the PHP modules required for CS-Cart on CentOS?

A

These are the php-modules required for cs-cart

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

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 the MySQL database system.

Q

What are the requirements for CS-cart?

A

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

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 Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

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.