Install AbanteCart on a Linux VPS

AbanteCartToday we are going to show you how to install AbanteCart on a Linux VPS. AbanteCart is an open source PHP-based ecommerce platform for small or medium businesses. The powerful core features and numerous extensions allows you to build an online business and start selling your products in no time.

First, make sure that all your system software is up-to-date. If you have a CentOS VPS you can use this command to update all your system software:

yum update

If you have an Ubuntu VPS you can use:

apt-get update
apt-get upgrade

Once your system is up-to-date, you can proceed with the following steps.
Navigate to the /opt directory of your server:

cd /opt/

and download the latest version of AbanteCart using wget:

wget https://github.com/abantecart/abantecart-src/archive/master.zip

Then unzip the downloaded zip file using the command:

unzip master.zip

Create a directory for AbanteCart in your /var/www/html directory:

mkdir /var/www/html/abantecart

Copy the extracted files into the newly created directory:

cp -r abantecart-src-master/public_html/* /var/www/html/abantecart/

Now, you need to change the owner of the files and the directories. For CentOS you can use the command:

chown -R apache: /var/www/html/abantecart

For Ubuntu, you can use the command:

chown -R www-data: /var/www/html/abantecart

Also, you need to change the permissions of some of the files and some of the directories. For that purpose, you can use the following commands:

cd /var/www/html/abantecart/
chmod 0777 system/config.php
chmod 0777 system/
chmod 0777 system/cache/
chmod 0777 system/logs/
chmod 0777 image/
chmod 0777 image/thumbnails/
chmod 0777 download/
chmod 0777 extensions/
chmod 0777 admin/system/backup/
chmod 0777 resources/

It is time to create a database so the AbanteCart can store its data. Log in to your MySQL and execute the following commands one by one:

Need a fast and easy fix?
✔ Unlimited Managed Support
✔ Supports Your Software
✔ 2 CPU Cores
✔ 2 GB RAM
✔ 50 GB PCIe4 NVMe Disk
✔ 1854 GeekBench Score
✔ Unmetered Data Transfer
NVME 2 VPS

Now just $43 .99
/mo

GET YOUR VPS
CREATE DATABASE abante_cart;
GRANT ALL PRIVILEGES on abante_cart.* to 'abante_user'@'localhost' identified by 'PaSsW0rD';
FLUSH PRIVILEGES;

Once you create a database for the AbanteCart, you are done with the command line interface. Now, you can move to the next step of the installation process, which is in fact much easier. Open your favorite web browser and navigate to:

http://IP-ADDRESS/abantecart

Of course, you need to replace the IP-ADDRESS from the previous command with the IP address of your server. Else, you will get an error. If everything is OK you should be able to continue with the online installation.

Some of the required settings needed to continue with the installation process are:

PHP Required Settings
PHP Version: 5.2+
Register Globals: Off
Magic Quotes GPC: Off
File Uploads: On
Session Auto Start: Off
Output Buffering: On

Also, you will need to enable additional extensions if they are not already enabled. The extensions are the following:

Extensions:
MySQL: On
GD: On
CURL: On
ZIP: On
MultiByte String: On

A good way to start using AbanteCart is to check the online documentation.

Of course you don’t have to do any of this if you use one of our Linux VPS hosting services, in which case you can simply ask our expert Linux admins to install AbanteCart for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

Leave a Comment