How to install X-Cart on Ubuntu 16.04
To install X-Cart on Ubuntu 16.04
X-Cart is an open source eCommerce platform that runs on PHP. X-Cart is known for its fast performance and ease of use. It contains a plethora of themes and plugins with the application, along with some built-in plugins to support some modules. This tutorial explains the installation of X-Cart on Ubuntu 16.04.
Pre &ndash Requisite
LAMP (apache, php,mysql)
PHP modules (apt-get install php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml php5.6-intl php5.6-intl php5.6-cli php5.6-gd php5.6-curl php5.6-sqlite3)
Installation procedure
To start with the installation procedure, download the X-Cart package by executing the following wget command.
root@linuxhelp:~# wget http://img.x-cart.com/software/a/ee7f5559-a738-430c-b901-a6a9fd4ecbd9/x-cart-5.3.3.4-gb.zip
--2017-10-15 05:03:02-- http://img.x-cart.com/software/a/ee7f5559-a738-430c-b901-a6a9fd4ecbd9/x-cart-5.3.3.4-gb.zip
Resolving img.x-cart.com (img.x-cart.com)... 104.20.86.242, 104.20.87.242, 2400:cb00:2048:1::6814:57f2, ...
Connecting to img.x-cart.com (img.x-cart.com)|104.20.86.242|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 78058541 (74M) [application/zip]
Saving to: ‘ x-cart-5.3.3.4-gb.zip.1’
x-cart-5.3.3.4-gb.z 100%[===================> ] 74.44M 1.08MB/s in 69s
2017-10-15 05:04:12 (1.09 MB/s) - ‘ x-cart-5.3.3.4-gb.zip.1’ saved [78058541/78058541]
Extract the downloaded file by running the unzip command.
root@linuxhelp:~# unzip x-cart-5.3.3.4-gb.zip.1 -d /var/www/html/xcart
Archive: x-cart-5.3.3.4-gb.zip.1
creating: /var/www/html/xcart/xcart/
inflating: /var/www/html/xcart/xcart/cart.php
creating: /var/www/html/xcart/xcart/vendor/
creating: /var/www/html/xcart/xcart/vendor/marcj/
creating: /var/www/html/xcart/xcart/vendor/marcj/topsort/
creating: /var/www/html/xcart/xcart/vendor/marcj/topsort/tests
extracting: /var/www/html/xcart/xcart/vendor/marcj/topsort/tests/bootstrap.php
.
.
inflating: /var/www/html/xcart/xcart/lib/phpunsharpmask.php
inflating: /var/www/html/xcart/xcart/lib/PEAR.php
inflating: /var/www/html/xcart/xcart/classes/XLite/Module/XC/Concierge/config.yaml
Change the permission and ownership of file in HTML location.
root@linuxhelp:~# chmod -R 775 /var/www/html/ root@linuxhelp:~# chown www-data:www-data -R /var/www/html/
Create a virtual host configuration file for X-Cart using nano editor. Enter the following changes in the file and save it.
root@linuxhelp:~# nano /etc/apache2/sites-available/xcart.conf
< VirtualHost *:80>
ServerAdmin admin@cscart.com
DocumentRoot /var/www/html/cscart/
ServerName cscart.org
ErrorLog /var/log/apache2/cscart.org-error_log
CustomLog /var/log/apache2/cscart.org-access_log common
< /VirtualHost>
Create an entry in hosts file using nano editor and enter the following content in the file. Save and exit the file.
root@linuxhelp:~# nano /etc/hosts
192.168.7.240 xcart.org
Restart the Apache service.
root@linuxhelp:~# systemctl restart apache2.service
Switch over to the browser and give the URL as cscart.org. The installation procedure of X-Cart appears on the screen. Begin the installation process.

Accept the license agreement and mark the I accept the terms and conditions options and click next.

Enter the required admin details and click next.

Enter the required database details and click next.

The installation is in progress and now the user has to wait for sometime to finish the installation process.


The installation is now complete. To open the admin panel, click the Admin zone option.

Enter the required admin credentials and login.

The admin dashboard of X-Cart appears on the screen.

Thus we conclude the installation procedure of X-Cart on Ubuntu 16.04.
Comments ( 0 )
No comments available