• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Thursday, June 5, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Linux

Installing Joomla! on Ubuntu 16.04

How VPS by How VPS
January 1, 2020
in Linux
0
0
SHARES
16
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Using a Different System?
  2. Step 1: Installing Apache
  3. Step 2: Installing MySQL
  4. Step 3: Installing PHP
  5. Step 4: Confirming the installation of LAMP
  6. Step 5: Installing Joomla! files
  7. Step 6: Creating a Joomla! MySQL database
  8. Step 7: Installing Joomla!
  9. Want to contribute?

Using a Different System?

  • Installing Joomla! on Ubuntu

Are we missing a guide for your target system? Request one, or submit your own!


Joomla! is a popular content management system (CMS) written in PHP. It is the second most popular CMS behind WordPress. As of 2017, about 3.3% of all sites on the internet use Joomla! as their CMS. This guide shows how to install Joomla! on Ubuntu 16.04 on a LAMP stack.

Step 1: Installing Apache

Update your repository list.

apt-get update

Install the Apache web server.

apt-get install apache2

Step 2: Installing MySQL

Joomla! runs on top of a LAMP stack. We will need to install MySQL and link it to PHP.

apt-get install mysql-server php7.0-mysql

You will be prompted for a MySQL password. Enter a safe root password.

Complete the MySQL installation by executing,

/usr/bin/mysql_secure_installation

When asked for a password, enter the MySQL password you just created. Continue through the installation process.

Would you like to setup VALIDATE PASSWORD plugin? [Y/N] N
Change the root password? [Y/N] N
Remove anonymous users? [Y/N] Y
Disallow root login remotely? [Y/N] Y
Remove test database and access to it? [Y/N] Y
Reload privilege tables now? [Y/N] Y

Step 3: Installing PHP

Joomla! requires PHP to be installed. Execute the following command to install PHP 7.0 and some required PHP modules.

apt-get install php7.0 libapache2-mod-php7.0 php7.0-mcrypt php7.0-xml php7.0-curl php7.0-json php7.0-cgi 

PHP will be installed.

Step 4: Confirming the installation of LAMP

In order to confirm that the LAMP installation was successful, open a web browser and navigate to your server’s IP address. You should see the “Apache2 Ubuntu Default Page” page.

In order to confirm that PHP was successfully installed, remove the default page:

rm /var/www/html/index.html

Create a new file:

touch /var/www/html/index.php

Edit it:

nano /var/www/html/index.php

And enter sample PHP code such as:

<?php
phpinfo();
?>

Navigate to your server in a browser. You should see a page with information about your PHP installation, confirming that PHP has been installed successfully.

Now remove the index.php file,

rm /var/www/html/index.php

Step 5: Installing Joomla! files

Once you have successfully installed the LAMP stack, you can proceed with installing Joomla!. Navigate to your Apache web server’s root and download Joomla!.

cd /var/www/html
wget https://downloads.joomla.org/cms/joomla3/3-7-5/Joomla_3-7.5-Stable-Full_Package.zip

Install unzip to be able to unzip the downloaded archive.

apt-get install unzip

Unzip the downloaded Joomla! archive.

unzip Joomla_3-7.5-Stable-Full_Package.zip

Activate the .htaccess file by renaming it.

mv htaccess.txt .htaccess

Set the appropriate file permissions,

chown -R www-data.www-data /var/www/html
chmod -R 755 /var/www/html

Step 6: Creating a Joomla! MySQL database

Before proceeding with the installation you will need a MySQL database for Joomla!. Enter the MySQL console.

mysql -u root -p

Enter the root password you created in Step 2 to proceed. Once you are logged in to the MySQL console, create a new database for Joomla!..

mysql>CREATE DATABASE joomla;

Create a new user and grant it privileges to the Joomla! database. You can replace username and password with the username and password of your choice.

mysql>GRANT ALL PRIVILEGES on joomla.* to 'username'@'localhost' identified by 'password';
mysql>FLUSH PRIVILEGES;

Exit the MySQL console.

mysql>exit

Step 7: Installing Joomla!

Restart the Apache web server,

systemctl restart apache2

Open a browser and navigate to your server’s IP. You will see the Joomla! web interface. Continue through the installation process.
In the Database Configuration section, you must enter the MySQL username, password and database you created in Step 6. In this case it would be,

Database Type: MySQLi
Host Name: localhost
Username: username
Password: password
Database Name: joomla
Table Prefix: joomla_
Old Database Process: Remove

Once you have entered the data, click ‘Next’ and continue with the installation process. Your Joomla! installation is complete!

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

Using Finnix Rescue CD to Rescue, Repair, or Backup Your Linux System

Next Post

How to Install the Sphinx Search Engine on CentOS 7

Next Post

How to Install the Sphinx Search Engine on CentOS 7

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In