<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AbanteCart Archives - LinuxTuto</title>
	<atom:link href="https://www.linuxtuto.com/tag/abantecart/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.linuxtuto.com/tag/abantecart/</link>
	<description>Linux Sysadmin and DevOps blog</description>
	<lastBuildDate>Wed, 21 Dec 2022 14:00:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.linuxtuto.com/wp-content/uploads/2022/01/cropped-LT_faveicon-32x32.png</url>
	<title>AbanteCart Archives - LinuxTuto</title>
	<link>https://www.linuxtuto.com/tag/abantecart/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">201456972</site>	<item>
		<title>How to Install AbanteCart on Ubuntu 22.04</title>
		<link>https://www.linuxtuto.com/how-to-install-abantecart-on-ubuntu-22-04/</link>
					<comments>https://www.linuxtuto.com/how-to-install-abantecart-on-ubuntu-22-04/#respond</comments>
		
		<dc:creator><![CDATA[LinuxTuto]]></dc:creator>
		<pubDate>Wed, 21 Dec 2022 14:00:07 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[AbanteCart]]></category>
		<guid isPermaLink="false">https://www.linuxtuto.com/?p=938</guid>

					<description><![CDATA[<p>AbanteCart is an open-source e-commerce platform based on PHP. It is an ideal e-commerce solution for small to medium businesses. In this tutorial, we will...</p>
<p>The post <a href="https://www.linuxtuto.com/how-to-install-abantecart-on-ubuntu-22-04/">How to Install AbanteCart on Ubuntu 22.04</a> appeared first on <a href="https://www.linuxtuto.com">LinuxTuto</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>AbanteCart</strong> is an open-source e-commerce platform based on PHP. It is an ideal e-commerce solution for small to medium businesses.</p>
<p>In this tutorial, we will show you how to install AbanteCart on Ubuntu 22.04 OS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges.</p>
<h2><span class="has-inline-color has-vivid-purple-color">Step 1: Update Operating System</span></h2>
<p>Update your <strong>Ubuntu</strong> <strong>22.04</strong> operating system to the latest version with the following command:</p>
<pre><code># apt update &amp;&amp; sudo apt upgrade -y</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 2: Install Apache webserver</span></h2>
<p>The Apache HTTP Server is a free and open-source cross-platform web server. You can install it via <code>apt</code> package manager by executing the following command.</p>
<pre><code># apt install apache2</code></pre>
<p>You can start the Apache service and configure it to run on startup by entering the following commands:</p>
<pre><code># systemctl start apache2
# systemctl enable apache2</code></pre>
<p>Verify the status of the <code>Apache</code> service using <code>systemctl status</code> command:</p>
<pre><code># systemctl status apache2</code></pre>
<p>Output:</p>
<pre><code><span style="color: #00ff00;">●</span> apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: <span style="color: #00ff00;">active (running)</span>
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 3548 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
   Main PID: 3552 (apache2)
      Tasks: 7 (limit: 2196)
     Memory: 46.8M         CPU: 1.594s
     CGroup: /system.slice/apache2.service
             ├─3552 /usr/sbin/apache2 -k start
             ├─3554 /usr/sbin/apache2 -k start
             ├─3555 /usr/sbin/apache2 -k start
             ├─3556 /usr/sbin/apache2 -k start</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 3: Install PHP</span></h2>
<p>To install PHP and additional PHP modules to support AbanteCart, run the following command:</p>
<pre><code># apt-get install php php-cli libapache2-mod-php php-common php-mbstring php-gd php-intl php-xml php-mysql php-zip <span class="">php-curl php-xmlrpc</span></code></pre>
<p>Verify if PHP is installed.</p>
<pre><code>php -v</code></pre>
<pre><code>Output:
PHP 8.1.2-1ubuntu2.9 (cli) (built: Oct 19 2022 14:58:09) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.2-1ubuntu2.9, Copyright (c), by Zend Technologies
</code></pre>
<p>Also, disable the <code>php-opcache</code> module to avoid AbanteCart installation time errors.</p>
<pre><code># phpdismod opcache
</code></pre>
<p>Restart Apache for changes to take effect.</p>
<pre><code># systemctl restart apache2</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 4: Install MySQL and create a database</span></h2>
<p>You can install the MySQL server with the following command:</p>
<pre><code># apt install mysql-server</code></pre>
<p>Start the database server daemon, and also enable it to start automatically at the next boot with the following commands:</p>
<pre><code># systemctl start mysql
# systemctl enable mysql</code></pre>
<p>Verify the status of the <code>MySQL</code> service using <code>systemctl status</code> command:</p>
<pre><code># systemctl status mysql</code></pre>
<p>Output:</p>
<pre><code><span style="color: #00ff00;">●</span> mysql.service - MySQL Community Server
     Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
     Active: <span style="color: #00ff00;">active (running)</span>
   Main PID: 1083 (mysqld)
     Status: "Server is operational"
      Tasks: 41 (limit: 2797)
     Memory: 434.0M
        CPU: 1min 57.932s
     CGroup: /system.slice/mysql.service
             └─1083 /usr/sbin/mysqld</code></pre>
<p>By default, MySQL is not hardened. You can secure MySQL using the <code class=" prettyprinted"><span class="pln">mysql_secure_installation</span></code> script.</p>
<pre><code># mysql_secure_installation</code></pre>
<p>Configure it like this:</p>
<pre><code>- Set root password? [Y/n] <strong>Y</strong>
- Remove anonymous users? [Y/n] <strong>Y</strong>
- Disallow root login remotely? [Y/n] <strong>Y</strong>
- Remove test database and access to it? [Y/n] <strong>Y</strong>
- Reload privilege tables now? [Y/n] <strong>Y</strong></code></pre>
<p>Now run the command below to log in to the MariaDB shell.</p>
<pre><code># mysql -u root -p</code></pre>
<p>Once you are logged in to your database server you need to create a database for the AbanteCart installation:</p>
<pre><code>mysql&gt; CREATE DATABASE abantecart;
mysql&gt; CREATE USER 'abantecart'@'localhost' IDENTIFIED BY 'Your-Strong-Password';
mysql&gt; GRANT ALL PRIVILEGES ON abantecart . * TO 'abantecart'@'localhost';
mysql&gt; FLUSH PRIVILEGES;
mysql&gt; exit;</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 5: Download AbanteCart</span></h2>
<p>By default, AbanteCart is not available on Ubuntu 20.04 base repository. You can download the latest version of AbanteCart from the Git repository using the following command:</p>
<pre><code># wget https://github.com/abantecart/abantecart-src/archive/master.zip</code></pre>
<p>Once the download is completed extract the downloaded package using <strong>unzip</strong> command:</p>
<pre><code># apt -y install unzip 
# unzip master.zip -d /var/www/</code></pre>
<p>Then, create the public web root directory for Abantecart:</p>
<pre><code># mkdir /var/www/abantecart</code></pre>
<p>Move the extracted <code class="system prettyprinted"><span class="pln">abantecart</span><span class="pun">-</span><span class="pln">src</span><span class="pun">-</span><span class="pln">master</span><span class="pun">/</span><span class="pln">public_html</span></code> directory to the <code>/var/www/abantecart/</code> directory:</p>
<pre><code># mv /var/www/abantecart-src-master/public_html/* /var/www/abantecart/</code></pre>
<p>Enable permission for the Apache webserver user to access the files:</p>
<pre><code># chown -R www-data:www-data /var/www/abantecart/</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 6: Create Virtualhost for Abantecart</span></h2>
<p>Then, create an virtual host configuration file to host AbanteCart:</p>
<pre><code># nano /etc/apache2/sites-available/abantecart.conf</code></pre>
<p>Paste the content as shown below:</p>
<pre><code>&lt;VirtualHost *:80&gt;
    ServerAdmin admin@your-domain.com
    DocumentRoot /var/www/abantecart/
    ServerName your-domain.com
    ServerAlias www.your-domain.com

    &lt;Directory /var/www/abantecart/&gt;
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    &lt;/Directory&gt;

    ErrorLog /var/log/apache2/your-domain.com-error_log
    CustomLog /var/log/apache2/your-domain.com-access_log common
&lt;/VirtualHost&gt;</code></pre>
<p>Remember to replace <strong><code>your-domain.com</code></strong> with the domain name of your server.</p>
<p>Save and exit the configuration file.</p>
<p>To enable this site run the command:</p>
<pre><code># a2ensite abantecart.conf</code></pre>
<p>To implement the changes, restart Apache webserver:</p>
<pre><code># systemctl restart apache2</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 7: Access AbanteCart Web Interface</span></h2>
<p>To access the AbanteCart Web Interface, go to your browser and visit <code>http://your-domain.com/</code>.</p>
<p>The first page displays the license agreement. Scroll down Accept the License agreement and click <strong>Continue</strong>.</p>
<p><img fetchpriority="high" decoding="async" class="size-full wp-image-945 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_license.jpg" alt="AbanteCart License" width="900" height="507" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_license.jpg 900w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_license-300x169.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_license-768x433.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_license-897x505.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_license-684x385.jpg 684w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>Make sure all the required PHP extensions are installed then click on the <strong>Continue</strong> button.</p>
<p><img decoding="async" class="size-full wp-image-946 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_Compatibility.jpg" alt="AbanteCart Compatibility Validation" width="900" height="727" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_Compatibility.jpg 900w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_Compatibility-300x242.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_Compatibility-768x620.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_Compatibility-897x725.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_Compatibility-684x553.jpg 684w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>The next page will require you to fill in the database details. Configure the database and admin credentials and click <strong>Continue</strong>.</p>
<p><img decoding="async" class="size-full wp-image-948 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_database_configuration.jpg" alt="AbanteCart Configuration" width="900" height="692" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_database_configuration.jpg 900w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_database_configuration-300x231.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_database_configuration-768x591.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_database_configuration-897x690.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_database_configuration-684x526.jpg 684w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>Once the installation has been completed, you should see the following page:</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-951 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_completed.jpg" alt="Completed Installation" width="900" height="697" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_completed.jpg 900w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_completed-300x232.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_completed-768x595.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_completed-897x695.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_completed-684x530.jpg 684w" sizes="auto, (max-width: 900px) 100vw, 900px" /></p>
<p>Then if you click on the <strong>Your Online Shop</strong> you should see your shop page:</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-952 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_frontend.jpg" alt="Frontend Page" width="900" height="459" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_frontend.jpg 900w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_frontend-300x153.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_frontend-768x392.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_frontend-897x457.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_frontend-684x349.jpg 684w" sizes="auto, (max-width: 900px) 100vw, 900px" /></p>
<p>Or if you click on the <strong>Login to your Control Panel</strong> button you should see the login page:</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-953 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_login_page.jpg" alt="Login Page" width="900" height="428" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_login_page.jpg 900w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_login_page-300x143.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_login_page-768x365.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_login_page-897x427.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_login_page-684x325.jpg 684w" sizes="auto, (max-width: 900px) 100vw, 900px" /></p>
<p>Provide your admin username, password and click on the <strong>Login</strong> button. You should see your administration panel:</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-954 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_dashboard.jpg" alt="AbanteCart Dashboard" width="900" height="448" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_dashboard.jpg 900w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_dashboard-300x149.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_dashboard-768x382.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_dashboard-897x447.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/12/AbanteCart_dashboard-684x340.jpg 684w" sizes="auto, (max-width: 900px) 100vw, 900px" /></p>
<p>&nbsp;</p>
<p>Now, open your terminal and remove the installation directory with the following command:</p>
<pre><code># rm -rf /var/www/abantecart/install/</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Comments and Conclusion</span></h2>
<p>Congratulations! You have successfully installed AbanteCart. Thanks for using this tutorial for installing the AbanteCart on Ubuntu 22.04 OS.</p>
<p>For additional help or useful information, we recommend you to check <a href="https://www.abantecart.com/" target="_blank" rel="noopener">the official AbanteCart website</a>.</p>
<p>The post <a href="https://www.linuxtuto.com/how-to-install-abantecart-on-ubuntu-22-04/">How to Install AbanteCart on Ubuntu 22.04</a> appeared first on <a href="https://www.linuxtuto.com">LinuxTuto</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.linuxtuto.com/how-to-install-abantecart-on-ubuntu-22-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">938</post-id>	</item>
	</channel>
</rss>
