How To Install Joomla 4 On Ubuntu 18.047 min read
Joomla! is an open source content management system (CMS). Many web site built using Joomla!. So I want to share how to install Joomla! 4 on your Ubuntu 18.04 server.
★ How To Install Google Chrome On Ubuntu Gnome Desktop 16.04
★ How To Install Zabbix 5.0 On Centos 7
Remember : My video is using php 7.2, but this is not working. So please use below this code for install 3.9.24 version using php 7.3.
Step #01: Install web server, database server & php for required Joomla! install.
root@Joomla-CMS:~# vi /etc/resolv.conf Insert nameserver 8.8.8.8 then save it root@Joomla-CMS:~# apt-get update root@Joomla-CMS:~# apt-get upgrade -y root@Joomla-CMS:~# sudo add-apt-repository ppa:ondrej/php root@Joomla-CMS:~# apt-get update root@Joomla-CMS:~# apt -y install php7.3 root@Joomla-CMS:~# root@Joomla-CMS:~# apt-get install apache2 mariadb-{server,client} php-pear php7.3-curl php7.3-dev php7.3-gd php7.3-mbstring php7.3-zip php7.3-mysql php7.3-xml php7.3-fpm libapache2-mod-php7.3 php7.3-imagick php7.3-recode php7.3-tidy php7.3-xmlrpc php7.3-intl root@Joomla-CMS:~# systemctl is-active mysql root@Joomla-CMS:~# mysql_secure_installation
Step #02: Setup secure installation for create root password.
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! In order to log into MariaDB to secure it, we'll need the current password for the root user. If you've just installed MariaDB, and you haven't set the root password yet, the password will be blank, so you should just press enter here. Enter current password for root (enter for none): OK, successfully used password, moving on... Setting the root password ensures that nobody can log into the MariaDB root user without the proper authorisation. Set root password? [Y/n] y New password: Re-enter new password: Password updated successfully! Reloading privilege tables.. ... Success! By default, a MariaDB installation has an anonymous user, allowing anyone to log into MariaDB without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment. Remove anonymous users? [Y/n] y ... Success! Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network. Disallow root login remotely? [Y/n] y ... Success! By default, MariaDB comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment. Remove test database and access to it? [Y/n] y - Dropping test database... ... Success! - Removing privileges on test database... ... Success! Reloading the privilege tables will ensure that all changes made so far will take effect immediately. Reload privilege tables now? [Y/n] y ... Success! Cleaning up... All done! If you've completed all of the above steps, your MariaDB installation should now be secure. Thanks for using MariaDB!
Step #03: Create database for store all data.
Login mysql terminal using below command and then type root password.
root@Joomla-CMS:~# mysql -u root -p
Create database and user using below command
create database joomladb; grant all privileges on joomladb.* TO 'dbuser'@'localhost' identified by 'passw0rd'; flush privileges; \q
Step #04: Setup time & date from apache php config file.
root@Joomla-CMS:~# sed -i 's/output_buffering = 4096/output_buffering = Off/' /etc/php/7.2/apache2/php.ini root@Joomla-CMS:~# vi /etc/php/7.2/apache2/php.ini //Edit php time zone date.timezone =Asia/Dhaka root@Joomla-CMS:~# cd /var/www/html
Step #05: Download & extract Joomla! then restart web server.
root@Joomla-CMS:/var/www/html# wget https://github.com/joomla/joomla-cms/archive/3.9.24.tar.gz root@Joomla-CMS:/var/www/html# tar xf Joomla_4.0.0-alpha3-Alpha-Full_Package.tar.gz root@Joomla-CMS:/var/www/html# mv htaccess.txt .htaccess root@Joomla-CMS:/var/www/html# rm -rf index.html root@Joomla-CMS:/var/www/html# chown www-data:www-data -R /var/www/html root@Joomla-CMS:/var/www/html# service apache2 restart
Now browse your Joomla server ip address and setup from web
http://10.66.25.10/
Step #06: Setup login admin account type user name, password and email address.
Step #07: Joomla! database configuration collect from step #03.
After complete installation process then login and using Joomla!.
If any error please see my YouTube channel and this video. Don’t forget subscribe my channel.
- How To Install Zabbix Server 6.4 On AlmaLinux 8 Server - August 9, 2024
- How To Clear RAM Memory Cache Buffer Linux Server - February 29, 2024
- How To Install Apache Cloud Stack Management Server 4.17 On Ubuntu 22.04 - February 1, 2024
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!