• 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 CentOS 7

{{postValue.id}}

To install X-Cart on CentOS 7

In our former article, we saw the installation procedure of X-Cart on CentOS 6.9. In this article, we will be briefed on the installation procedure of X-Cart on CentOS 7. 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.

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 proceed with the installation procedure, download the X-Cart package by running the wget command followed by the download link.

[root@linuxhelp html]# wget http://img.x-cart.com/software/a/7236d21e-fa62-4059-ae9b-2bd2a53b8feb/x-cart-5.3.3.4-gb.zip
--2017-11-01 03:35:15--  http://img.x-cart.com/software/a/7236d21e-fa62-4059-ae9b-2bd2a53b8feb/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:56f2, ...
Connecting to img.x-cart.com (img.x-cart.com)|104.20.86.242|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 78058539 (74M) [application/zip]
Saving to: ‘ x-cart-5.3.3.4-gb.zip’ 

100%[======================================> ] 7,80,58,539 1.11MB/s   in 68s    

2017-11-01 03:36:24 (1.09 MB/s) - ‘ x-cart-5.3.3.4-gb.zip’  saved [78058539/78058539]


Extract the downloaded zip file using unzip command.

[root@linuxhelp html]# unzip x-cart-5.3.3.4-gb.zip
Archive:  x-cart-5.3.3.4-gb.zip
   creating: xcart/
  inflating: xcart/cart.php          
   creating: xcart/vendor/
   creating: xcart/vendor/marcj/
   creating: xcart/vendor/marcj/topsort/
   creating: xcart/vendor/marcj/topsort/tests/
 extracting: xcart/vendor/marcj/topsort/tests/bootstrap.php  
   creating: xcart/vendor/marcj/topsort/tests/Tests/
  inflating: xcart/vendor/marcj/topsort/tests/Tests/GroupedSortTest.php  
  inflating: xcart/vendor/marcj/topsort/tests/Tests/TestCase.php  
  inflating: xcart/vendor/marcj/topsort/tests/Tests/SimpleSortTest.php  
.
.
.
inflating: xcart/lib/phpunsharpmask.php  
  inflating: xcart/lib/PEAR.php      
  inflating: xcart/classes/XLite/Module/XC/Concierge/config.yaml  

Provide the appropriate permission and ownership of file in HTML location.

[root@linuxhelp html]# chmod -R 775 /var/www/html/
[root@linuxhelp html]# chown -R apache.apache /var/www/html/

Create a virtual host configuration file named xcart.conf and enter the following content in the file. Save and exit the file.

[root@linuxhelp html]# vim /etc/httpd/conf.d/xcart.conf

< VirtualHost *:80> 
ServerAdmin admin@xcart.com
DocumentRoot /var/www/html/xcart/
ServerName xcart.org
ErrorLog /var/log/httpd/xcart.org-error_log
CustomLog /var/log/httpd/xcart.org-access_log common
< /VirtualHost> 

Provide entry in the hosts file. Save and exit the file.

[root@linuxhelp html]# vim /etc/hosts
< ipaddr>   xcart.org

Restart the Apache service.

[root@linuxhelp html]# systemctl restart httpd

Switch over to the browser and give the URL as xcart.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
database configuration

The installation is in progress and now the user has to wait for sometime to finish the installation process.
installation progress
The installation is now complete. The window displays the set of commands that will perform the secure file permissions. Copy the set of commands.
security commands
Open the terminal and execute the above copied commands.

[root@linuxhelp html]# chmod 755 /var/www/html/xcart/
[root@linuxhelp html]# chmod 755 /var/www/html/xcart/etc/
[root@linuxhelp html]# chmod 644 /var/www/html/xcart/etc/config.php

Switch over to the browser and open the admin panel by clicking the Administrator zone option.
admin zone
Enter the required admin credentials and Log in.

admin credentials

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

admin page

Thus we conclude the installation procedure of X-Cart on CentOS 7.

Tags:
connor
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Why the need of 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, alo

Q

Wanna I know the installation of X-Cart on Ubuntu 18.04?

A

Please refer the link as follow "https://www.linuxhelpbkp.revyy.com/how-to-install-xcart-5-3-5-3-on-ubuntu-18-04/"

Q

What is the difference between X‑Cart editions?

A

The only difference between X‑Cart editions is in the number of eCommerce tools & integrations. You can see the detailed comparison here https://www.x-cart.com/software-pricing.html

Fully responsive, works with any site design.

Link directly to an answer using an anchor tag.

Smooth jQuery driven a

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

Do I need an already established site to use X‑Cart?.

A

No, you don’t. X‑Cart is a site builder. When you install X‑Cart you get a ready online store. All you need to do is to add your products, choose your payment methods and configure other settings according to your business purposes via a friendly interface of X‑Cart administrator back‑end

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 Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

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.