Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»CMS»How to Install Joomla 3.9 CMS on Ubuntu, Debian, LinuxMint

    How to Install Joomla 3.9 CMS on Ubuntu, Debian, LinuxMint

    RahulBy RahulDecember 1, 20172 Mins ReadUpdated:October 23, 2019

    This tutorial will help you to install and configure Joomla CMS on your Debian based systems.

    Step 1 – Setup LAMP Server

    First of all, configure the LAMP server on your system. Execute the following commands from the system terminal for the installation of a LAMP server. First, add the required PPA repository in your system.

    sudo apt-get install -y python-software-properties
    sudo apt add-repository ppa:ondrej/php -y
    

    Now install the packages for Apache, PHP, and MySQL using the below commands.

    sudo apt-get install apache2 apache2-data apache2-utils 
    sudo apt-get install php php-mcrypt php-curl php-mysql php-gd php-cli php-json php-xml php-zip libapache2-mod-php 
    sudo apt-get install mysql-server mysql-client
    

    Step 2 – Download Joomla CMS

    Download the latest version of Joomla CMS archive from the official GitHub repository. At the time of writing this tutorial Joomla 3.8.2 is the latest available version, Use the following command to download Joomla archive.

    cd /tmp
    wget https://github.com/joomla/joomla-cms/releases/download/3.9.12/Joomla_3.9.12-Stable-Full_Package.tar.gz
    

    Now extract Joomla under the document root of the Joomla Apache Virtualhost.

    mkdir -p /var/www/html/joomla
    cd /var/www/html/joomla
    tar xzf Joomla_3.9.12-Stable-Full_Package.tar.gz
    chown -R www-data:www-data .
    chmod -R 755 .
    

    Step 3 – Setup Apache VirtualHost

    You can access your Joomla directory using the subdirectory URL like http://localhost/joomla. But if you need Joomla on the main domain, Let’s configure your Apache virtual host like below.

    <VirtualHost *:80>
       ServerName joomla.example.com 
       ServerAdmin [email protected]
       DocumentRoot /var/www/html/joomla
       <Directory /var/www/html/joomla>
    	    Allowoverride all
       </Directory>
    </VirtualHost>
    

    Step 4 – Create MySQL Database

    Now login to the MySQL server using administrative privileges and create the database for Joomla. Also, create a separate MySQL user for the newly created database.

    1
    2
    3
    mysql> CREATE DATABASE joomla;
    mysql> GRANT ALL on joomla.* to [email protected] IDENTIFIED by "secret";
    mysql> FLUSH PRIVILEGES;

    Step 5 – Running Joomla Web Installer

    Joomla provides a web installer to complete the installation. Begin the installation by access Joomla URL as configured in Apache virtual host.

    On the first page, enter the site name and administrative user details to access the Joomla admin panel after the installation.

    Install Joomla Step 1.0

    Install Joomla Step 1.1

    Input the database details on this page created in step 4.

    Install Joomla Step 2

    Install Joomla Step 3.1

    Install Joomla Step 3.2

    You Joomla installation has been finished. You just need to remove the installation directory by clicking on the “Remove Installation Folder” button.

    Install Joomla Step 4

    Install Joomla Step 5

    Click on Administrator button, Login to your Joomla admin panel using the specified credentials in Step 1.

    Install Joomla Step 6

    Administrator dashboard for your Joomla setup.

    Install Joomla Step 7

    CMS Joomla
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Disable Strict SQL Mode in MySQL
    Next Article Reset Joomla Admin Password via SQL or phpMyAdmin

    Related Posts

    How To Install and Configure Drupal on Fedora 35/34

    Updated:February 15, 20224 Mins Read

    How to Install Moodle 3.8 on Fedora 32/31/30

    Updated:May 12, 20202 Mins Read

    Update WordPress Ping List to Quick Index of Posts

    Updated:January 23, 20182 Mins Read

    Reset Joomla Admin Password via SQL or phpMyAdmin

    Updated:December 7, 20172 Mins Read

    Reset WordPress Admin Password via SQL or phpMyAdmin

    Updated:December 5, 20171 Min Read

    Top 5 WordPress Security Plugins To Keep Your Website Safe

    Updated:March 30, 20175 Mins Read

    3 Comments

    1. Mario on December 12, 2019 2:21 am

      Nice article, very straightforward! Although it seems you’ve changed the command as per the other comments, while as of Ubuntu 18.04.3 LTS it’s “add-apt-repository”.

      Reply
    2. xyz on May 6, 2019 8:34 am

      Step 1 Line 2 should be “sudo apt add-repository ppa:ondrej/php -y”.

      Reply
    3. jeddell on January 19, 2019 12:28 am

      Line 2 of step one “”sudo add-apt-repository ppa:ondrej/php -y”
      Comes back with command not found.
      Tried it without the sudo, without the add-. All the same

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Import GPG Keys on Ubuntu & Debian (without apt-key)
    • How To Install Google Chrome On macOS
    • How to Install Minecraft on Ubuntu 22.04 & 20.04
    • Running a Cron job every Sunday (Weekly)
    • Running Multiple Commands At Once in Linux
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.