How to Install Abantecart on CentOS 7.6
To install Abantecart on CentOS 7.6
Requirements for Abante Cart:
Apache
Mariadb
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-mcrypt
Installation procedure
Check the Centos version by using the following command
[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-6.1810.2.el7.centos.x86_64
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 MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 5.5.60-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database abantedb;
Query OK, 1 row affected (0.04 sec)
MariaDB [(none)]> create user 'abanteuser'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.09 sec)
MariaDB [(none)]> grant all privileges on abantedb.* to 'abanteuser'@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> Ctrl-C -- exit!
Aborted
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:55:29-- https://github.com/abantecart/abantecart-src/archive/master.zip
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/abantecart/abantecart-src/zip/master [following]
--2019-06-07 14:55:29-- 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’
[<=> ] 40,664,358 75.1KB/s in 4m 8s
2019-06-07 14:59:39 (160 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/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 Abante Cart by using the following command
[root@linuxhelp ~]# chown -R apache:apache /var/www/abante
[root@linuxhelp ~]# chmod -R 755 /var/www/abante
Configure the virtualhost for accessing the Abantecart
[root@linuxhelp ~]# vim /etc/httpd/conf.d/abante.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/abante
<directory /var/www/abante>
allowoverride all
allow from all
</directory>
</Virtualhost>
Restart the apache service by using the following command
[root@linuxhelp ~]# systemctl restart httpd
Switch to your browser and enter the domain name
https://github.com/abantecart/abantecart-src/archive/master.zip
an alternative for Abantecart listed below,
PrestaShop,
Thirty Bees,
CubeCart,
Zen cart,