• 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 Linuxmint 19

  • 00:31 lsb_release -a
  • 00:46 mysql -u root -p
  • 01:57 wget https://github.com/xcart/xcart5/archive/master.zip
  • 02:09 unzip master.zip
  • 02:19 mv xcart5-master /var/www/xcart
  • 02:31 chown -R www-data.www-data /var/www/xcart
  • 02:46 chmod -R 755 /var/www/xcart
  • 02:59 vim /etc/apache2/sites-available/xcart.conf
  • 04:09 a2dissite 000-default.conf
  • 04:19 a2ensite xcart.conf
  • 04:28 a2enmod rewrite
  • 04:35 systemctl restart apache2
{{postValue.id}}

To install X-cart on Linux Mint 19

Requirements for X-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 Linuxmint version by using the following command.

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	LinuxMint
Description:	Linux Mint 19 Tara
Release:	19
Codename:	tara

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 2
Server version: 5.7.26-0ubuntu0.18.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 xcart;
Query OK, 1 row affected (0.00 sec)

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

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

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

mysql> exit
Bye

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

root@linuxhelp:~# wget https://github.com/xcart/xcart5/archive/master.zip
--2019-06-22 09:59:10--  https://github.com/xcart/xcart5/archive/master.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/xcart/xcart5/zip/master [following]
--2019-06-22 09:59:11--  https://codeload.github.com/xcart/xcart5/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

master.zip                       [                                       <=>     ]  57.08M   553KB/s    in 2m 51s  

2019-06-22 10:02:03 (342 KB/s) - ‘master.zip’ saved [59855785]

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

root@linuxhelp:~# unzip master.zip
Archive:  master.zip
fb007a4ddb4fd7c50d8e584193db2819673859d3
   creating: xcart5-master/
  inflating: xcart5-master/.gitignore  
  inflating: xcart5-master/README
.
.
  inflating: xcart5-master/src/vendor/twig/twig/test/Twig/Tests/TemplateTest.php  
  inflating: xcart5-master/src/vendor/twig/twig/test/Twig/Tests/TokenStreamTest.php  
  inflating: xcart5-master/src/vendor/twig/twig/test/Twig/Tests/escapingTest.php  
  inflating: xcart5-master/src/vendor/twig/twig/test/bootstrap.php  
  inflating: xcart5-master/src/xc5   

Move the X-Cart directory to apache root directory.

root@linuxhelp:~# mv xcart5-master /var/www/xcart

Set the ownership and permission for X-Cart by using the following command

root@linuxhelp:~# chown -R www-data.www-data /var/www/xcart

root@linuxhelp:~# chmod -R 755 /var/www/xcart

Configure the virtualhost for accessing the X-cart.

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

Disable the default site access.

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 for accessing the X-cart.

root@linuxhelp:~# a2ensite xcart.conf
Enabling site xcart.
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 the domain name. snap1

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

Enter the required admin details and click next. snap3

Enter the required database details and click next. snap4

The installation is in progress. snap5 snap6

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

Enter the required admin credentials and log in. snap8

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

With this, the method to install X-cart on Linux Mint 19 comes to an end.

Tags:
lawrence
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

What are the key features of X-cart?

A

Simple admin menu for entering Questions and Answers.

Fully responsive works with any site design.

Link directly to an answer using an anchor tag.

Q

Where to download the source file for x-cart?

A

A Download it from here, https://www.x-cart.com/download.html

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