To setup and install Joomla on any of the cloud platforms, the recommended way is to deploy using the publicly available image. Setup Joomla Server on Ubuntu, Debian or CentOS. The image comes pre configured with the full LAMP Stack – Apache Web Server, MySQL Server, phpMyadmin. Check out the links below to deploy to your preferred cloud provider.
Once connected and logged in, the following sections explains how to run through the Joomla installation, using MySQL and Apache Web Server.
Joomla Installation
Once logged into your server via ssh terminal, the first step is to reset the MySQL root user account and create a new MySQL database that will be used by Joomla. Run the following command to reset the MySQL root password:
mysql --user=root --password
Enter password: mysql1234
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_pass_here';
FLUSH PRIVILEGES;
Note: If the above gives an ‘Access denied‘ message, try the following instead, as some OS versions have MySQL/MariaDB:
sudo mysql
Password is blank, hit enter if it asks for a password.
Create MySQL Database for Joomla
Next step is to create a new MySQL user account and MySQL database that will be used for Joomla.
Run the following command to create a new MySQL User:
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'some_very_complex_password';
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
FLUSH PRIVILEGES;
Run the following command to create a new MySQL database:
CREATE DATABASE joomladb;
Start Joomla Installation
Once you’ve setup your MySQL database, you’re now ready to start the quick Joomla setup. Simply browse to the server IP address in your browser and you will see a similar screen depending on your Joomla version:
Note: If you see a LAMP home page, run the following command to delete and then reload the webpage, otherwise continue with the Joomla installation wizard:
sudo rm /var/www/html/index.html
Joomla Installation Wizard
Once you’ve setup your MySQL database, you’re now ready to start the quick Joomla setup. Simply browse to the server IP address in your browser and you will see a similar screen depending on your Joomla version:
Simply fill out your new site details, email address and super user account details that will be used to login to the Joomla CMS. Press Next and then fill out the database details and follow the onscreen instructions and that will complete the setup of Joomla.
Setting up Joomla Mail Settings
To use the mail settings on Joomla, there are some configuration steps to make. From your SSH terminal run the following command to setup SendMail:
On Ubuntu/Debian Server Run
sudo sendmailconfig
Answer [Y] to all questions for sendmail config.
Next is to restart Apache, depending on which version of Apache is installed, try either of the following commands:
Next login to the admin area of Joomla, if you browse to > Global Configuration > Server > Mail Settings, i recommend setting up SMTP authentication. In the screenshot below i’ve set it up to use Office365
Joomla Login URL
The URL to login to Joomla is
http://YourPublicIP/administrator
or
http://YourPrivateIP/administrator
Using phpMyadmin to manage MySQL databases
To login to phpmyadmin, browse to the following URL on your web browser (use http):
http://yourserverip/phpmyadmin
Login using your MySQL root user account
Support / Documentation
If you experience any issues on getting this Joomla server setup on any of the cloud platforms, please contact us and we will assist
For documentation, please refer to the following links:
Cloud Solution Architect. Helping customers transform their business to the cloud. 20 years experience working in complex infrastructure environments and a Microsoft Certified Solutions Expert on everything Cloud.