How to install Xcart V.5.3.4.7 on Linuxmint 18.03
To install Xcart V.5.3.4.7 on Linuxmint 18.03
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.
Pre-requirements
Install LAMP (Apache, php7.2, mariadb-server)
In MariaDB (create database, user and give privileges to the user)
FOR PHP INSTALLATION
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.2
apt-get install php 7.2 libapache2-mod-php 7.2 php 7.2-common php 7.2-mbstring php 7.2-xmlrpc php 7.2-soap php 7.2-gd php 7.2-xml php 7.2-intl php 7.2-mysql php 7.2-cli php 7.2-mcrypt php 7.2-zip php 7.2-curl
Installation
Download the xcart package from the browser using the following URL https://www.x-cart.com/download_confirmation.html
linuxhelp ~ # cd /home/user/Downloads/
linuxhelp Downloads # ls
x-cart-5.3.4.7-en.tgz
After downloading extract the downloaded package as follows
linuxhelp Downloads # tar -zxvf x-cart-5.3.4.7-en.tgz
linuxhelp Downloads # tar -zxvf x-cart-5.3.4.7-en.tgz
xcart
xcart/cart.php
xcart/vendor
xcart/vendor/marcj
xcart/vendor/marcj/topsort
xcart/vendor/marcj/topsort/tests
xcart/vendor/marcj/topsort/tests/bootstrap.php
xcart/vendor/marcj/topsort/tests/Tests
xcart/vendor/marcj/topsort/tests/Tests/GroupedSortTest.php
xcart/vendor/marcj/topsort/tests/Tests/TestCase.php
xcart/vendor/marcj/topsort/tests/Tests/SimpleSortTest.php
xcart/vendor/marcj/topsort/LICENSE
xcart/vendor/marcj/topsort/.travis.yml
.
.
.
xcart/lib/AMobile_Detect.php
xcart/lib/Less
xcart/lib/Less/Version.php
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 xcart directory into the /var/www/html directory
linuxhelp Downloads # ls xcart x-cart-5.3.4.7-en.tgz linuxhelp Downloads # mv xcart/ /var/www/html/ Go to /var/www/html directory linuxhelp Downloads # cd /var/www/html/ linuxhelp html # ls
Change the ownership and permission for the xcart directory as follows
linuxhelp html # chown -R www-data:www-data xcart/ chmod -R 775 xcart/
Configure virtual host for xcart. Create the empty file named Xcart..conf
linuxhelp html # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim xcart.conf
< virtualhost *:80>
servername www.linuxhelp1.com
Documentroot /var/www/html/xcart/
< Directory /var/www/html/xcart/>
AllowOverride
order allow,deny
allow from all
< /Directory>
< /virtualhost>
Enable the xcart.conf file
linuxhelp sites-available # a2ensite xcart.conf
Enabling site xcart.
To activate the new configuration, you need to run:
service apache2 reload
Enable the rewrite module
linuxhelp sites-available # a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
service apache2 restart
Make an entry to the hosts file as follows
linuxhelp sites-available # vim /etc/hosts
< give your local ip address> < give your domain name>
Restart the Apache web server
linuxhelp sites-available # systemctl restart apache2.service
Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://< ipaddress or domain name
Start the installation of xcart from here.
Accept the license agreement
Configure the admin user setting as follows
Verify the system environment check.
Configure the database details as follows
Assign a directory permission
Verify the cache buildup
Once the configuration is done you will see the following page as shown below
click the following option to redirect to the admin login page
Log in using the admin dashboard.
Admin page of X-Cart
With this, the method to install Xcart V.5.3.4.7 on Linuxmint 18.03 comes to an end.
Comments ( 0 )
No comments available