0% found this document useful (0 votes)
60 views4 pages

V01-Install Joomla Ubuntu

Uploaded by

Nicko De Guzman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views4 pages

V01-Install Joomla Ubuntu

Uploaded by

Nicko De Guzman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

JOOMLA INSTALLATION - UBUNTU 23.

04 LTS | June 2023

TOWiOS
The Only Way is Open Source

JOOMLA (4) INSTALLATION - UBUNTU 23.04 LTS


June 2023

1> INSTALL SOFTWARE


2> DOWNLOAD JOOMLA
3> WEB SERVER (APACHE2) & PHP SETUP
4> MYSQL SETUP
5> WEB SERVER (APACHE2) PERMISSIONS
6> INSTALL JOOMLA

Note:

The following websites have been used for reference:


● https://www.joomla.org/
● https://downloads.joomla.org/
● https://linuxhostsupport.com/blog/how-to-install-joomla-4-0-on-ubuntu-20-04/
● https://www.digitalocean.com/community/tutorials/how-to-install-joomla-on-a-virtual-server-running-
ubuntu-12-04
● http://www.cyberciti.biz/faq/mysql-change-user-password/

The following instructions are to install Joomla locally on Ubuntu.

If you use these instructions you do so at your own risk. They are not considered ‘perfect’, and are purely for
testing purposes.

The Only Way is Open Source (TOWiOS) | towios.vivaldi.net 1


JOOMLA INSTALLATION - UBUNTU 23.04 LTS | June 2023

1> INSTALL SOFTWARE

Install packages for apache, mysql and php:


sudo apt install unzip php php-common libapache2-mod-php php-cli php-fpm php-mysql php-json
php-opcache php-gmp php-curl php-intl php-mbstring php-xmlrpc php-gd php-xml php-zip mysql-client
mysql-server

It will suggest additional packages and you will be asked to continue:


Do you want to continue? [Y/n] (Enter)

Note: At the time of writing, version 8.1 of php was installed. (Yours may be newer - make a note of the version.)

2> DOWNLOAD JOOMLA

Download the latest .zip Joomla file:


https://downloads.joomla.org/

Extract the downloaded directory:


sudo unzip /home/username/Downloads/Joomla_4.3.2-Stable-Full_Package.zip -d /var/www/html/joomla

Note: Enter the relevant username, and Joomla version (at the time of writing, it was 4.3.2).

3> WEB SERVER (APACHE2) & PHP SETUP

Amend the php.ini file:


sudo nano /etc/php/8.1/apache2/php.ini
● Remove the comment (semi-colon ;) by line: max_input_vars
● Increase the size of max_input_vars to at least 5000
● Increase memory_limit = 512M
● Change upload_max_filesize = 256M
● Change post_max_size = 256M
● Increase max_execution_time = 300
● Change max_file_uploads = 40
● Search for output_buffering = 4096 and change this to output_buffering = off

Start the web server:


sudo service apache2 start

Check the webserver is running:


Load firefox and go to http://localhost

Note: Your php version may vary.

The Only Way is Open Source (TOWiOS) | towios.vivaldi.net 2


JOOMLA INSTALLATION - UBUNTU 23.04 LTS | June 2023

4> MYSQL SETUP

Start mysql:
sudo service mysql start

Log into mysql:


sudo mysql -u root -p
Enter password (enter)

Create database:
CREATE DATABASE joomla_db;

Check database was created:


show databases;

Create database user:


CREATE USER 'joomlauser'@'localhost' IDENTIFIED BY 'Password123!&';

Assign database permissions:


GRANT ALL PRIVILEGES ON joomla_db.* TO 'joomlauser'@'localhost';

Clear cache:
FLUSH PRIVILEGES;

Leave mysql:
quit;

Note: Anything underlined can be changed to suit your needs - but remember them for ‘Step 6’. Highlighted details
must match.

5> WEB SERVER PERMISSIONS

Set permissions for the web server:


sudo chown -R www-data: /var/www/html/joomla

Restart the web server:


sudo service apache2 restart

6> INSTALL JOOMLA

Firefox, go to: http://localhost/joomla/

1. Joomla Install:
a. Select Installation Language: English (United Kingdom)
b. Setup Site Name: website-1
(Setup Login Data >)

2. Login Data:
a. Enter the real name of your Super User.*: Firstname Lastname
b. Set the username for your Super User account.*: SuperUser
c. Set the password for your Super User account.*: Complex123!&
d. Enter the email address of the website Super User.*: Enter an email address

The Only Way is Open Source (TOWiOS) | towios.vivaldi.net 3


JOOMLA INSTALLATION - UBUNTU 23.04 LTS | June 2023

(Setup Database Connection >)

3. Database Configuration: (These will link back to step 4)


a. Select the database type.*: MySQLi
b. Enter the host name, usually "localhost" or a name provided by your host.*: localhost
c. Either a username you created or a username provided by your host.*: joomlauser
d. Either a password you created or a password provided by your host.*: Password123!&
e. Enter the database name.*: joomla_db
f. Enter a table prefix or use the randomly generated one.*: Leave with what is auto generated
g. Connection Encryption*: Default (server controlled)
(Install Joomla >)

4. Installation complete. (A or B):


a. Open Site:

b. Open Administrator:

Note: To view the website: http://localhost/joomla . To administer: http://localhost/joomla/administrator .

The Only Way is Open Source (TOWiOS) | towios.vivaldi.net 4

You might also like