How to Install WordPress via Webmin on Ubuntu 20.04 / Debian. In this post, we will introduce Webmin, its features, then explain step by step procedure to install Webmin and install WordPress via the Webmin dashboard.
So lets start this article blog about How to Install WordPress via Webmin on Ubuntu 20.04 / Debian.
Webmin is a web based interface used by system administrators for Linux/Unix. Through its single interface or seamless login on other hosts on a similar subnet or LAN, you can control several machines. It also enables you to use any modern web browser to connect to your server.
With the help of Webmin, you do not have to edit Linux/Unix configuration files manually. It also enables you to manage the server from your console or remotely. Moreover, you can configure operating system internals like users, service, or configuration files, disk quotas, and modify and control open source applications like PHP, Apache, Tomcat, DNS, file sharing, and MySQL. Since it is based on Perl, it runs on its own process and web server.
Webmin’s small learning curve enables its customers to navigate effortlessly. Its dashboard provides the statistics of CPU, RAM, and disk space with understandable charts. To make necessary changes, you can look at the search function in the sidebar. Further, if you want to perform any advanced functions, you can use a terminal available in its dashboard.
Comes with PHP versions and variables that can configure effortlessly from the dashboard after it has been installed from the command shell.
Its Graphical file management makes the process of editing, uploading, and downloading files seamless.
Native server security feature that provides IPtables firewalls, RAID configuration, directory protection, log viewers, two factor authentication, and much more while including third party modules.
It’s MySQL and PostgreSQL database management enables you to install the respective module from the Webmin dashboard.
Then install the Webmin package by running the following command:
apt install webmin
You should see the following output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libauthen-pam-perl libio-pty-perl libnet-ssleay-perl perl-openssl-defaults
The following NEW packages will be installed:
libauthen-pam-perl libio-pty-perl libnet-ssleay-perl perl-openssl-defaults webmin
0 upgraded, 5 newly installed, 0 to remove and 24 not upgraded.
Need to get 28.8 MB of archives.
After this operation, 305 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Now start the Webmin service and enable it to start at system reboot using the following command:
systemctl start webmin
systemctl enable webmin
You can also check the status of the Webmin with the following command:
systemctl status webmin
You will get the Webmin status in the following output:
● webmin.service - Webmin server daemon
Loaded: loaded (/lib/systemd/system/webmin.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-08-30 08:14:50 UTC; 53s ago
Process: 3902 ExecStart=/usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf (code=exited, status=0/SUCCESS)
Main PID: 3912 (miniserv.pl)
Tasks: 1 (limit: 2347)
Memory: 28.6M
CGroup: /system.slice/webmin.service
└─3912 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
Aug 30 08:14:48 ubuntu2004 systemd[1]: Starting Webmin server daemon...
Aug 30 08:14:48 ubuntu2004 perl[3902]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root
Aug 30 08:14:50 ubuntu2004 webmin[3902]: Webmin starting
Aug 30 08:14:50 ubuntu2004 systemd[1]: Started Webmin server daemon.
Now, open your web browser and access the Webmin web interface using the URL https://your-server-ip:10000. You should see the SSL security warning page:
Click on the proceed to your-server-ip. You will be redirected to the Webmin login page:
Provide your root username, password and click on the Sign in button. You should see the Webmin dashboard on the following page:
Now it is the main part of How to Install WordPress via Webmin on Ubuntu 20.04 / Debian start’s here.
Click on the Unused Modules => Apache Webserver. You should see the Apache configuration section.
Click on the Create virtual host. You should see the virtual host configuration screen:
Provide your WordPress directory path, port, server name, and click on the create now button. You should see your virtual host configuration on the following page:
Next, you will need to download the latest version of WordPress to your local system and upload it on the server via Webmin.
Click on the Tools => File Manager and go to the /var/www/html/wordpress directory. You should see the following page:
Click on the File => Uploadto the current directory, then upload your downloaded WordPress directory content on the Webmin. You should see the following page:
Next, select the WordPress directory, click on the Tools => Change Ownership button. You should see the following page:
Define your Apache user, and group then click on the Change button to set the ownership.
Create a Database and User for WordPress
Next, you will need to create a database and user for WordPress.
Click on the Servers => MySQL Database Server. You should see the following page:
Click on Create a new database. You should see the database creation page:
Provide your database name and click on the Create button.
Next, click on User Permissions. You should see the following page:
Click on the Create new user. You should see the user creation page:
Provide your username, password, host, permission, and click on the Create button.
At this point, WordPress is installed and configured via Webmin. You can now access it using the URL http://wordpress.example.com. You should see the WordPress language selection page:
Select your language and click on the Continue button. You should see the following page:
Click on the Let’s go!. You should see the WordPress database configuration page:
Provide your WordPress database, username, password, host and click on the Submit button. You should see the following page:
Click on the Run the installation button. You should see the WordPress site information page:
Define your site title, username, password, email, and click on the Install WordPress button. You should see the following page:
Click on the Log in button. You should see the WordPress login page:
Provide your admin username, password and click on the Log in button. You should see the WordPress dashboard on the following page:
Thank you for reading How to Install WordPress via Webmin on Ubuntu 20.04 / Debian. We shall conclude.
How to Install WordPress via Webmin on Ubuntu 20.04 / Debian Conclusion
In this step by step guide, we learned how to install the WordPress via Webmin interface. This guide will be helpful for those users who don’t have enough knowledge of the Linux command line. After following this guide, any beginner user can install WordPress easily via Webmin. You can now install your preferred themes, plugins and start creating your first blog post using the WordPress admin dashboard.
Why don’t you check out more WordPress content here.
I am a fan of open source technology and have more than 10 years of experience working with Linux and Open Source technologies. I am one of the Linux technical writers for Cloud Infrastructure Services.
00votes
Article Rating
Subscribe
Login and comment with
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
Login and comment with
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.