How to install Xcart 5.3.5.3 on Ubuntu 18.04
To install Xcart 5.3.5.3 on Ubuntu 18.04
X-Cart is a powerful commercial open source eCommerce platform written in PHP. It enables individuals to set up eCommerce and online stores in minutes. It contains a plethora of themes and plugins with the application, along with some built-in plugins to support some modules. XCart is a truly free, user-friendly, open source shopping cart software. It contains features such as customization, integration with payment, works with any hosting company and can choose own domain name.
Prerequisites
To install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )
Php installation with required following modules
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0 php7.0-common php7.0-xmlrpc php7.0-soap php7.0-xml php7.0-intl
php7.0-cli php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl
Switch to the following directory
root@linuxhelp1:~# cd /home/user1/Downloads/x-cart-5.3.5.3-en.tgz
I have already downloaded the XCart application package using this following URL https://www.x-cart.com/
The downloaded package is a zip file, so we need to unzip the file now
root@linuxhelp1:/home/user1/Downloads# tar -zxvf x-cart-5.3.5.3-en.tgz
xcart
xcart/cart.php
xcart/vendor
xcart/vendor/marcj
xcart/vendor/marcj/topsort
.
.
xcart/lib/Less/readme
xcart/lib/Less/Less.php
xcart/lib/Less/Cache.php
xcart/lib/phpunsharpmask.php
xcart/lib/PEAR.php
xcart/classes/XLite/Module/XC/Concierge/config.yaml
Move the extracted file into the following path
root@linuxhelp1:/home/user1/Downloads# mv xcart /var/www/
Switch to the following directory
root@linuxhelp1:/home/user1/Downloads# cd /var/www/
Change the ownership and permission of the file
root@linuxhelp1:/var/www# chown -R www-data.www-data xcart
root@linuxhelp1:/var/www# chmod -R 775 xcart
Create a new virtualhost configuration to accessing thforXCart CMS application
root@linuxhelp1:/var/www# 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>
Enable the site access
root@linuxhelp1:/var/www# a2ensite xcart.conf
Enabling site xcart.
To activate the new configuration, you need to run:
systemctl reload apache2
Disable the default access
root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module
root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Restart the apache2 service
root@linuxhelp1:/var/www# systemctl restart apache2
Open a browser and type the following URL of http://local IP (or ) domain name

Accept the license agreement to use the XCart application

Configure the Admin user account setup

Just verify the environment check

Configure the Database setup as follows

Check out the file permissions

verify the building cache as follows

After the installation, you will see the progress of the installation

log in with help of using the Admin user credential

After the successful login, XCart application Administration control panel will appear as shown here

Following is the Homepage of XCart application

with this, the method to install Xcart 5.3.5.3 on Ubuntu 18.04 comes to an end.
Comments ( 0 )
No comments available