How To Install AbanteCart on an Ubuntu 18.04 VPS or Dedicated Server

AbanteCart is an open source e-commerce cart system built by a community of enthusiasts. There isn’t any official commercial release of the cart, and donations and contributions entirely support the project.

The core feature set is on par with other cart systems such as Zen Cart or X-Cart, and you can add many features such as product comparisons and affiliate support through the extension store.

This article is going to cover how to install AbanteCart on Ubuntu 18.04.

  1. Update the System

# sudo apt-get update && sudo apt-get upgrade
  1. Install git and tasksel

$ sudo apt-get install git-core$ sudo apt-get install tasksel
  1. Clone AbanteCart

$ sudo git clone https://github.com/abantecart/abantecart-src.git
  1. Install LAMP

$ sudo tasksel

Select LAMP and install

How To Install AbanteCart on an Ubuntu 18.04 VPS or Dedicated Server

  1. Copy the Contents of the public_html Folder in the AbanteCart Directory to Your Web Root Document Directory

$ sudo cp -r /abantecart-src/public_html/. /var/www/html/
  1. Create a MySQL User and Set Permissions

$ sudo mysql -u root -p
> create database abantecartdb;
> grant all privileges on abantecartdb.* to 'username'@'localhost' identified by 'passwordhere';
> flush privileges;
> exit
  1. Set File Permissions For Installation

$ sudo chmod 777 /var/www/html/system/config.php
$ sudo chmod 777 /var/www/html/system/
$ sudo chmod 777 /var/www/html/system/cache/
$ sudo chmod 777 /var/www/html/system/logs/
$ sudo chmod 777 /var/www/html/image/
$ sudo chmod 777 /var/www/html/image/thumbnails/
$ sudo chmod 777 /var/www/html/download/
$ sudo chmod 777 /var/www/html/extensions/$ sudo chmod 777 /var/www/html/admin/system/
$ sudo chmod 777 /var/www/html/admin/system/backup/ (if exist)
$ sudo chmod 777 /var/www/html/resources/
  1. Disable PHP Opcache

  $ sudo nano /etc/php/7.2/cli/conf.d/10-opcache.ini

Comment out the line and save and close the file

zend_extension=opcache.so
  1. Setup PHP Extensions

$ sudo apt-get install php-xml
$ sudo apt-get install php-gd$ sudo apt-get install php-curl$ sudo apt-get install php-mbstring
$ sudo systemctl restart apache2
  1. Browse to Your Domain And Accept the License Agreement and Press “Continue”

    How To Install AbanteCart on an Ubuntu 18.04 VPS or Dedicated Server

  2. There Shouldn’t Be Any Errors On the Validation Screen. Press “Continue”

How To Install AbanteCart on an Ubuntu 18.04 VPS or Dedicated Server

  1. Put the Database Name, Username, and Password that was Setup Earlier

    How To Install AbanteCart on an Ubuntu 18.04 VPS or Dedicated Server

  1. Put the Required Administrator Information In and Press “Continue”

    How To Install AbanteCart on an Ubuntu 18.04 VPS or Dedicated Server

  1. AbanteCart is Now Installed. Delete the /install directory

How To Install AbanteCart on an Ubuntu 18.04 VPS or Dedicated Server

$ sudo rm -rf /var/www/html/install

You can use the buttons on this page to get to both your storefront and the admin panel. If you installed the demo store data you should see a screen like this on your main domain:

How To Install AbanteCart on an Ubuntu 18.04 VPS or Dedicated Server

You can also login at the admin panel and being adding products, setting up payment processors and shipping to get your store up and running. The first time you login you’ll see the quick start wizard.

How To Install AbanteCart on an Ubuntu 18.04 VPS or Dedicated Server

AbanteCart is a great cart solution and you may find it more modern than some of the older cart packages such as Zen Cart.

It’s another great open source option with a low total cost of ownership to get your new business up and off the ground.

Check out these top 3 VPS services:

Was this article helpful?