How to Install Abantecart on Ubuntu 19.04
Installation of Abante Cart On Ubuntu 19.04
AbanteCart is a free and open source eCommerce platform for merchants to provide the ability in creating online businesses in order to sell products online quickly and efficiently. AbanteCart comes with powerful core features and numerous extensions that allow you to build an online business and start selling your products in minimal time. This article will explain the installation procedure of AbanteCart on Ubuntu 19.04.
Requirements for Abante Cart
Apache
Mysql
Php and its modules
php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-dev libmcrypt-dev php-pear
Installation procedure
Check the Ubuntu version by using the following command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
Configure the MySQL database. Log into MySQL as a root user and make the necessary settings.
root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.7.26-0ubuntu0.19.04.1 (Ubuntu)
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database abantedb;
Query OK, 1 row affected (0.04 sec)
mysql> create user 'abanteuser'@localhost identified by 'Linuxc#45';
Query OK, 0 rows affected (1.00 sec)
mysql> grant all privileges on abantedb.* to 'abanteuser'@localhost;
Query OK, 0 rows affected (0.08 sec)
mysql> flush privileges;
Query OK, 0 rows affected (1.11 sec)
mysql> exit
Bye
Once the database configuration is done, Download the Abante Cart Installation package by using the wget command.
root@linuxhelp:~# wget https://github.com/abantecart/abantecart-src/archive/master.zip
--2019-06-07 14:05:32-- https://github.com/abantecart/abantecart-src/archive/master.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/abantecart/abantecart-src/zip/master [following]
--2019-06-07 14:05:33-- https://codeload.github.com/abantecart/abantecart-src/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’
master.zip [ <=> ] 38.78M 90.3KB/s in 4m 45s
2019-06-07 14:10:19 (139 KB/s) - ‘master.zip’ saved [40664358]
Once the download is completed extract the downloaded package using unzip command
root@linuxhelp:~# unzip master.zip
Archive: master.zip
f8ca442fcedd0699d2ed1130863a0e93b8fa1547
creating: abantecart-src-master/
inflating: abantecart-src-master/.gitignore
inflating: abantecart-src-master/.travis.yml
inflating: abantecart-src-master/LICENSE.txt
inflating: abantecart-src-master/README.md
inflating: abantecart-src-master/install.txt
creating: abantecart-src-master/public_html/
.
.
.
creating: abantecart-src-master/tests/phpunit/core/helper/
inflating: abantecart-src-master/tests/phpunit/core/helper/SystemCheckTest.php
inflating: abantecart-src-master/tests/phpunit/core/helper/UtilsTest.php
creating: abantecart-src-master/tests/phpunit/core/lib/
inflating: abantecart-src-master/tests/phpunit/core/lib/AConfigTest.php
inflating: abantecart-src-master/tests/phpunit/core/taskTest.php
inflating: abantecart-src-master/tests/phpunit/phpunit_mysql.xml
Move the Abante Cart directory to apache root directory
root@linuxhelp:~# mv abantecart-src-master /var/www/abante
Set the ownership and permission for AbanteCart by using the following command
root@linuxhelp:~# chown -R www-data.www-data /var/www/abante
root@linuxhelp:~# chmod -R 755 /var/www/abante
Configure the virtualhost for accessing the Abantecart
root@linuxhelp:~# vim /etc/apache2/sites-available/abante.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/abante
<directory /var/www/abante>
allowoverride all
allow from all
</directory>
</Virtualhost>
Disable the default site access
root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the site access for accessing the Abante cart
root@linuxhelp:~# a2ensite abante.conf
Enabling site abante.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module
root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Restart the apache service by using the following command
root@linuxhelp:~# systemctl restart apache2
Switch to your browser and enter the domain name
Configure the database and admin credentials
PrestaShop,
Thirty Bees,
CubeCart,
Zen cart,