How to install Xcart 5.3.4.7 on CentOS 7
To install Xcart 5.3.4.7 on CentOS 7
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
Install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )
Php installation with required following modules:
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm yum install php56w php56w-opcache php56w-mysql php56w-curl php56w-xml php56w-mcrypt php56w-gd php56w-mbstring
Installing Xcart 5.3.4.7
Use this following URL to download an XCART application package https://www.x-cart.com/.
The downloaded package is a zip file, so we need to unzip the package.
[root@linuxhelp1 user1]# tar -zxvf x-cart-5.3.4.7-en.tgz
xcart
xcart/cart.php
tar: xcart/cart.php: time stamp 2018-04-16 14:15:53 is 39337.463794412 s in the future
xcart/vendor
xcart/vendor/marcj
xcart/vendor/marcj/topsort
xcart/vendor/marcj/topsort/tests
.
.
xcart/lib/PEAR.php
tar: xcart/lib/PEAR.php: time stamp 2018-04-16 14:15:53 is 39320.219886063 s in the future
xcart/classes/XLite/Module/XC/Concierge/config.yaml
tar: xcart/lib: time stamp 2018-04-16 14:15:53 is 39320.21979079 s in the future
tar: xcart/classes/XLite/Module/XC/Concierge/config.yaml: time stamp 2018-05-13 00:21:01 is 2322028.219708492 s in the future
tar: xcart: time stamp 2018-04-17 15:38:44 is 130691.219618078 s in the future
Then move the file to the Apache document root directory.
[root@linuxhelp1 user1]# mv xcart /var/www/
Then we have to change the following directory.
[root@linuxhelp1 user1]# cd /var/www/
Here we have to change the ownership and permission of the file.
[root@linuxhelp1 www]# chown -R apache. apache xcart
[root@linuxhelp1 www]# chmod -R 775 xcart
Now we have to create a new virtualhost configuration.
[root@linuxhelp1 www]# vim /etc/httpd/conf.d/xcart.conf
< VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/xcart/
< Directory /var/www/xcart/>
AllowOverride All
allow from all
< /Directory>
< /VirtualHost>
Then we need to restart the httpd service to make the changes effect.
[root@linuxhelp1 www]# systemctl restart httpd
Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://< ipaddress or domain name.
Configure the installation setup. accept the license and terms to proceed further.
Then configure the Admin user credential.
After an environment check, if all the requirements met proceed further.
Next, configure the database setup.
Next, setting up of directories will be done once done you will be directed to next step.
Now the cache build will be done.
At last, it will display the installation status as shown here.
Now log in as an admin with the admin credentials which is previously created
After successful installation, you will see the admin dashboard as shown here
By clicking on view storefront you will see the following page.
With this, the method to install Xcart 5.3.4.7 on CentOS 7 comes to an end.
Comments ( 0 )
No comments available