<?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>Joomla Archives - LinuxTuto</title>
	<atom:link href="https://www.linuxtuto.com/tag/joomla/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.linuxtuto.com/tag/joomla/</link>
	<description>Linux Sysadmin and DevOps blog</description>
	<lastBuildDate>Tue, 26 Apr 2022 19:12:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://www.linuxtuto.com/wp-content/uploads/2022/01/cropped-LT_faveicon-32x32.png</url>
	<title>Joomla Archives - LinuxTuto</title>
	<link>https://www.linuxtuto.com/tag/joomla/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">201456972</site>	<item>
		<title>How to Install Joomla 4 on Ubuntu 22.04</title>
		<link>https://www.linuxtuto.com/how-to-install-joomla-4-on-ubuntu-22-04/</link>
					<comments>https://www.linuxtuto.com/how-to-install-joomla-4-on-ubuntu-22-04/#respond</comments>
		
		<dc:creator><![CDATA[LinuxTuto]]></dc:creator>
		<pubDate>Tue, 26 Apr 2022 19:11:49 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Joomla]]></category>
		<guid isPermaLink="false">https://www.linuxtuto.com/?p=363</guid>

					<description><![CDATA[<p>Joomla is a free, open source and one of the most popular Content Management System (CMS) around the world which allow the users to create...</p>
<p>The post <a href="https://www.linuxtuto.com/how-to-install-joomla-4-on-ubuntu-22-04/">How to Install Joomla 4 on Ubuntu 22.04</a> appeared first on <a href="https://www.linuxtuto.com">LinuxTuto</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Joomla</strong> is a free, open source and one of the most popular Content Management System (CMS) around the world which allow the users to create or build their own website and applications.</p>
<p>It is built on PHP and stores its data on an SQL-based database engine on the backend such as MySQL/MariaDB.</p>
<p>In this tutorial, we will show you how to install Joomla 4 on your Ubuntu 22.04 OS.</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 make sure all existing packages are up to date:</p>
<pre><code>$ sudo 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>You can install Apache via <code>apt</code> package manager by executing the following command.</p>
<pre><code>$ sudo 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>$ sudo systemctl start apache2
$ sudo systemctl enable apache2</code></pre>
<p>Verify the status of the <code>Apache</code> service using <code>systemctl status</code> command:</p>
<pre><code>$ sudo systemctl status apache2</code></pre>
<p>Output:</p>
<pre><code>● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-04-26 15:18:33 UTC; 1min 31s ago
Docs: https://httpd.apache.org/docs/2.4/
Main PID: 13521 (apache2)
Tasks: 55 (limit: 2200)
Memory: 4.8M
CPU: 148ms
CGroup: /system.slice/apache2.service
├─13521 /usr/sbin/apache2 -k start
├─13523 /usr/sbin/apache2 -k start
└─13524 /usr/sbin/apache2 -k start</code></pre>
<p>You can test to make sure everything is working correctly by navigating to:</p>
<pre><code>http://your-IP-address</code></pre>
<p>If everything is configured properly, you should be greeted by the default Apache2 Page, as seen below.</p>
<p><img fetchpriority="high" decoding="async" class="size-large wp-image-367 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/04/Apache2_Ubuntu-1024x577.jpg" alt="Apache2 on Ubuntu 22.04" width="1024" height="577" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/04/Apache2_Ubuntu-1024x577.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Apache2_Ubuntu-300x169.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Apache2_Ubuntu-768x432.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Apache2_Ubuntu-1536x865.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Apache2_Ubuntu-1222x688.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Apache2_Ubuntu-897x505.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Apache2_Ubuntu-684x385.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Apache2_Ubuntu.jpg 1918w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<h2><span class="has-inline-color has-vivid-purple-color">Step 3: Install PHP and PHP extensions for Joomla 4</span></h2>
<p>You can install PHP 8.1 and other supporting packages using the following command:</p>
<pre><code>$ sudo apt install php libapache2-mod-php php-dev php-bcmath php-intl php-soap php-zip php-curl php-mbstring php-mysql php-gd php-xml</code></pre>
<p>Verify if PHP is installed.</p>
<pre><code>php -v</code></pre>
<pre><code>Output:
PHP 8.1.2 (cli) (built: Apr 7 2022 17:46:26) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies
</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 4: Install MariaDB and create a database</span></h2>
<p>You can <a href="https://www.linuxtuto.com/how-to-install-mariadb-10-7-on-debian-11/">install MariaDB</a> with the following command:</p>
<pre><code>$ sudo apt install mariadb-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 mariadb
$ systemctl enable mariadb</code></pre>
<p>Verify the status of the <code>MariaDB</code> service using <code>systemctl status</code> command:</p>
<pre><code>$ sudo systemctl status mariadb</code></pre>
<p>Output:</p>
<pre><code><span style="color: #00ff00;">●</span> mariadb.service - MariaDB 10.6.7 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: <span style="color: #00ff00;">active (running)</span>
Docs: man:mariadbd(8)
https://mariadb.com/kb/en/library/systemd/
Process: 27074 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Process: 27075 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 27077 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] &amp;&amp; VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] &amp;&amp; &gt;
Process: 27117 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 27119 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
Main PID: 27106 (mariadbd)
Status: "Taking your SQL requests now..."
Tasks: 7 (limit: 2200)
Memory: 57.0M
CPU: 880ms
CGroup: /system.slice/mariadb.service
└─27106 /usr/sbin/mariadbd
</code></pre>
<p>Once the database server is installed, log into the MariaDB prompt:</p>
<pre><code>$ sudo  mysql -u root</code></pre>
<p>To create a database, database user, and grant all privileges to the database user run the following commands:</p>
<pre><code>MariaDB [(none)]&gt; CREATE DATABASE joomla_db;
MariaDB [(none)]&gt; CREATE USER 'joomla_user'@'localhost' IDENTIFIED BY 'Password';
MariaDB [(none)]&gt; GRANT ALL ON joomla_db.* TO 'joomla_user'@'localhost';
MariaDB [(none)]&gt; FLUSH PRIVILEGES;
MariaDB [(none)]&gt; EXIT</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 5: Download Joomla 4</span></h2>
<p>We will now download the latest version of Joomla from the <a href="https://downloads.joomla.org/" target="BLANK" rel="noopener">Official site</a>.</p>
<p>Use the following command to download Joomla 4:</p>
<pre><code>$ sudo wget https://downloads.joomla.org/cms/joomla4/4-1-2/Joomla_4-1-2-Stable-Full_Package.zip</code></pre>
<p>Extract file into the folder <strong>/var/www/html/joomla/</strong> with the following command,</p>
<pre><code>$ sudo apt -y install unzip 
$ sudo unzip Joomla_4-1-2-Stable-Full_Package.zip -d /var/www/html/joomla</code></pre>
<p>Enable permission for the Apache webserver user to access the files,</p>
<pre><code>$ sudo chown -R www-data:www-data /var/www/html/joomla/</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 6: Configure Apache Web Server for Joomla 4</span></h2>
<p>Navigate to <code>/etc/apache2/sites-available</code> directory and run the following command to create a configuration file for your installation:</p>
<pre><code class="hljs shell"><span class="hljs-meta">$</span><span class="bash"> sudo nano /etc/apache2/sites-available/joomla.conf</span></code></pre>
<p>Add the following content:</p>
<pre><code>&lt;VirtualHost *:80&gt;

ServerAdmin webmaster@your-domain.com

ServerName your-domain.com
ServerAlias www.your-domain.com
DocumentRoot /var/www/html/joomla

&lt;Directory /var/www/html/joomla/&gt;
        Options FollowSymlinks
        AllowOverride All
        Require all granted
&lt;/Directory&gt;

ErrorLog ${APACHE_LOG_DIR}/your-domain.com_error.log
CustomLog ${APACHE_LOG_DIR}/your-domain.com_access.log combined

&lt;/VirtualHost&gt;
</code></pre>
<p>Save the file and Exit.</p>
<p>Enable the Joomla virtual host:</p>
<pre><code>$ sudo a2ensite joomla.conf</code></pre>
<p>Restart the Apache web server.</p>
<pre><code>$ sudo systemctl restart apache2</code></pre>
<h2><span class="has-inline-color has-vivid-purple-color">Step 7: Access Joomla 4 Web Installer</span></h2>
<p>Open your browser type your domain e.g <code>http://your-domain.com</code>  and complete the required steps to finish the installation.</p>
<p><img decoding="async" class="size-large wp-image-373 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_1-1024x485.jpg" alt="Joomla 4" width="1024" height="485" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_1-1024x485.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_1-300x142.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_1-768x364.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_1-1536x728.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_1-1222x579.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_1-897x425.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_1-684x324.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_1.jpg 1914w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<p>Once the Joomla has been installed, you will get the following screen:</p>
<p><img decoding="async" class="size-large wp-image-374 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_2-1024x486.jpg" alt="Install Joomla 4" width="1024" height="486" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_2-1024x486.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_2-300x142.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_2-768x365.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_2-1536x730.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_2-1222x580.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_2-897x426.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_2-684x325.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_2.jpg 1916w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<p>Click on the <strong>Open Administrator</strong>. You will get the login screen:</p>
<p><img loading="lazy" decoding="async" class="size-large wp-image-375 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_3-1024x486.jpg" alt="Install Joomla 4 on Ububntu 22.04" width="1024" height="486" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_3-1024x486.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_3-300x142.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_3-768x364.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_3-1536x729.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_3-1222x580.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_3-897x426.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_3-684x325.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_3.jpg 1916w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Enter your Joomla admin user, password and click on the<strong> Log in</strong>. You will get the dashboard in the following screen:</p>
<p><img loading="lazy" decoding="async" class="size-large wp-image-376 aligncenter" src="https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_4-1024x566.jpg" alt="Joomla 4 on Ubuntu 22.04" width="1024" height="566" srcset="https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_4-1024x566.jpg 1024w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_4-300x166.jpg 300w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_4-768x425.jpg 768w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_4-1536x849.jpg 1536w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_4-1222x676.jpg 1222w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_4-897x496.jpg 897w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_4-684x378.jpg 684w, https://www.linuxtuto.com/wp-content/uploads/2022/04/Joomla4_4.jpg 1894w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<h2><span class="has-inline-color has-vivid-purple-color">Comments and Conclusion</span></h2>
<p>That’s it. You have successfully installed Joomla 4 CMS (Content Management system) on Ubuntu 22.04</p>
<p>If you have any questions please leave a comment below.</p>
<p>The post <a href="https://www.linuxtuto.com/how-to-install-joomla-4-on-ubuntu-22-04/">How to Install Joomla 4 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-joomla-4-on-ubuntu-22-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">363</post-id>	</item>
	</channel>
</rss>
