WordPress, Ubuntu, Apache, or Nginx web server on VPS hosting or Cloud server together can be used to create a fast and easy to use blogging platform. However, if you are not a command-line friendly person then it could be a problem. In such a scenario one can go for open source Cpanel software such as ISPConfig Hosting Control Panel. Well, about that we will discuss in some other tutorial. Right now, let’s see the quick way to create the Apache web server, MySQL database, and WordPress installation over Ubuntu 20.04 LTS focal fossa to test WordPress related things.
One of the easiest ways is to get LAMp and WordPress is the Bitnami script that automates the process of setting up the whole Apache web server along with PHP, phpMyAdmin, MySQL, and WordPress. What you have to do is just run the script enter the asked information by it and let Bitnami do the rest of the work.
Let’s see how to do all this…
Use Bitnami Script to install WordPress on Ubuntu 20.04 LTS
Download Bitnami App installer
Go to its official website and download the script available for Linux platforms. This is a common one thus can be run on any Linux operating system regardless of the flavor. This means it doesn’t matter you are on Ubuntu, CentOS, or any other Linux. The procedure to run the installer will be the same. Here is the like to download page.
Open command Terminal
By default the things we download from the web browser generally go to Downloads directory, thus switch to that.
Now, change the permission of the installer:
sudo chmod 755 bitnami-wordpress-*-linux-x64-installer.run
A GUI installer will open select the components which you want to install such as WordPress, Varnish, and phpMyAdmin. By Default, all will be selected.
Default WordPress installation directory
The default directory to set the WordPress and its other files and folder on Linux using Bitnami will be /opt/wordPress. However, if you want to change then replace the set one with what you want.
Create Admin Account
This is the crucial option thus after adding the Login user and its corresponding password note it down somewhere so that you wouldn’t get forgot it while accessing the WordPress Admin backend.
In case the default Apache, SSL, and MySQL ports have been occupied on your system by some other application then the Bitnami will ask you to set some custom port. It’ll also give the port number by default to use.
Give WordPress blog a name
Now, enter that name that you want to use with the Bitnami created Blog and finally installed it.
Access the Blog
To access the installed WordPress, open your browser and type your local system or server Ip-address/wordpress where you have installed the Bitnami.
To login backend:
Alternatively, just open the system IP address in the browser and click on the option “Acess WordPress” given on the Bitnami page.