0

AbanteCart is a free of charge, open-source platform that is e-commerce on PHP language. It is an ideal solution that is e-commerce tiny to moderate companies. It is simple to make your very own shopping that is online using AbanteCart. It comes with powerful features including, support for digital and tangible products, support for a variety of payment gateways, SEO Friendly, Mobile support, Fast and secure, using technology that is innovative HTML5, Bootstrap, JQuery and a lot more.

In this guide, we’ll learn to install AbanteCart on Ubuntu 16.04.

Requirements

  • A host operating Ubuntu 16.04.
  • A non-root individual with sudo privileges.

Install Apache, PHP, and MariaDB

AbanteCart runs on Apache internet host, written in PHP and makes use of MariaDB to keep their information. Therefore, you shall require Apache, MariaDB, and PHP to work. First, install Apache, PHP and Other PHP modules by running the command that is following*******)

sudo apt-get install apache2 libapache2-mod-php7.0 php7.0 php7.0-gd php7.0-zip php7.0-curl php7.0-mbstring php7.0-mysql -y

Next, you will have to include the MariaDB repository towards system. Because, the version that is latest of the MariaDB is not available in Ubuntu default repository.

You can add the repository by running the command that is following*******)

sudo apt-get install software-properties-common -y
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
sudo add-apt-repository ‘deb [arch=amd64] http://www.ftp.saix.net/DB/mariadb/repo/10.1/ubuntu xenial main’

Next, upgrade the repository by operating the next demand:

sudo apt-get revision -y

Finally, install the MariaDB host using the after demand:

sudo apt-get install mariadb-server -y

Next, begin the Apache and MariaDB solution and allow them to start out on boot time by operating the next demand:

sudo systemctl begin apache2
sudo systemctl allow apache2
sudo systemctl begin mysql
sudo systemctl enable mysql

Configure Database for AbanteCart

By standard, MariaDB installation just isn’t guaranteed. It first so you will need to secure. You can do this by running the script that is `mysql_secure_installation`

sudo mysql_secure_installation

Answer the questions as shown below:

   
 Enter password that is current root (enter for none): Enter
 Set root password? [Y/n]: Y
 New password: 
 re-enter password that is new 
 eliminate anonymous users? [Y/n]: Y
 Disallow root login from another location? [Y/n]: Y
 eliminate test database and usage of it? [Y/n]: Y
 Reload privilege tables now? [Y/n]: Y
 

Next, log into MySQL shell using the after demand:

mysql -u root -p

Enter your root password, then create a database for AbanteCart utilising the after demand:

MariaDB [(none)]> CREATE DATABASE abantecart;

Next, create a person for AbanteCart, assign a password and grant all privileges on AbanteCart database using the after demand:

MariaDB [(none)]> CREATE user abantecart identified by ‘password’;
MariaDB [(none)]> GIVE each PRIVILEGES on abantecart.* to [email¬†protected] identified by ‘password’;

Next, flush the privileges using the after demand:

MariaDB [(none)]> FLUSH PRIVILEGES;

Finally, exit through the MySQL shell using the after demand:

MariaDB [(none)]> exit;

Install AbanteCart

You can install the newest form of the AbanteCart from Git repository using the after demand:

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

Next, draw out the installed file using the after demand:

unzip master.zip

Next, copy the directory that is public_html extracted directory to the Apache web root directory with the following command:

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

Next, give proper permissions to the abantecart directory:

sudo chown -R www-data:www-data /var/www/html/abantecart
sudo chmod -R 777 /var/www/html/abantecart

Next, you will need to create an Apache virtual host directive for AbanteCart. You can do this by creating abantecart.conf file.

sudo nano /etc/apache2/sites-available/abantecart.conf

Add the lines that are following*******)

<VirtualHost *:80>
  ServerAdmin [email protected]
  DocumentRoot /var/www/html/abantecart
  ServerName yourdomain.com
  <Directory /var/www/html/abantecart/>
 choices Indexes FollowSymLinks MultiViews
 AllowOverride All
 purchase enable,deny
 allow from all
  </Directory>
  ErrorLog /var/log/apache2/abantecart-error_log
  CustomLog /var/log/apache2/abantecart-access_log typical
 </VirtualHost>
 

Save and shut the file, then allow the digital host file using the after demand:

sudo a2ensite abantecart

Finally, restart Apache solution to utilize all of the modifications:

sudo systemctl restart apache2

Access AbanteCart Web software

Now, start your online web browser and kind the Address http://yourdomain.com, you will end up rerouted to your AbanteCart installation wizard as shown in after image:

Abantecart license

right here, accept the permit contract and then click in the Continue switch, you ought to understand after web page:

Compatibility check

Check the prerequisites

right here, validate all of the demands, then click the Continue switch, you ought to understand after web page:

AbanteCart Configuration I

AbanteCart Configuration II

right here, offer your Database title, Database username, Database password, Admin username, and password, then click the Continue switch to start out the installation. When the installation is finished, you ought to understand page that is following*******)

Installation completed

Now, click the Login towards Control Panel switch, you will end up rerouted to AbanteCart login web page as shown below:

AbanteCart Login

Provide your admin credential and then click in the Login switch, you ought to understand AbanteCart Dashboard in after image:

AbanteCart Dashboard

Utilizing File Manager in ISPManager Hosting control interface

Previous article

Intel Processor Generations as quickly as possible *CORRECTED*

Next article

You may also like

Comments

Leave a Reply

More in Apache