• 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 X-Cart on Ubuntu 16.04

{{postValue.id}}

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.
browser

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

license agreement

Enter the required admin details and click next.
admin details

Enter the required database details and click next.
database details

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

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

Enter the required admin credentials and login.
admin credentials

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

admin dashboard

Thus we conclude the installation procedure of X-Cart on Ubuntu 16.04.

Tags:
symonds
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to enable the site access for X-cart?

A

To enable Site access for X-cart run as the command on terminal
# a2ensite file.conf

Q

Does X‑Cart support Authorize.Net?

A

Yes, X‑Cart is integrated with Authorize.Net SIM and Accept.js out of the box.

Q

Will X‑Cart run well on a web server with PHP7?

A

Yes, absolutely X-Cart will required PHP7 and above on the server.

Q

What is X-cart?

A

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.

Q

What are the PHP extensions used for X-cart?

A

X-cart uses following 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 for their configuration.

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 legeek ?
Installation of the call center module

hello

I wish to install a call center in virtual with issabel, I downloaded the latest version of it , but I don' t arrive to install the call center module in issabel. please help me

thanks!

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.