In this article, we’ll talk about How to Install Virtualmin on Ubuntu 20.04 LTS without error.
Virtualmin is an open-source hosting and cloud control panel. It is available to install on Linux with a script.
The Virtualmin application has shown to be capable of managing an internet server as easily as possible.
It allows access to the server via an SSL HTTP line.
It Provides a clear user interface. Almost all settings of the server.
We can optimize by this. No experience is require to set up VirtualMin.
A beginner can easily configure a server without any problem.
We don’t need to install XAMPP/ LAMP after installing VirtualMin.
Because Virtualmin automatically installs the apache server and MySQL during its installation.
Like Webmin, Virtualmin is completely free.
Virtualmin has a paid version also that includes more features and special support.
If you will install Virtualmin on your server, you will be able to manage your domain and website easily.
We know that it is very difficult to manage a website with a command line for a beginner.
A beginner can optimize his website easily with Virtualmin.
Now take the tour of install Virtualmin on ubuntu :
Install Virtualmin on Ubuntu 20.04 LTS
1. Run update command
First of all, I recommend you make sure that all of your existing packages are up-to-date.
sudo apt update
2. Download Virtualmin
Now, let’s download the script that will automatically install Webmin and Virtualmin on our Ubuntu 20.04 LTS.
sudo apt install wget wget http://software.virtualmin.com/gpl/scripts/install.sh
3. Set Hostname
The domain that you wish to utilize and administer with Virtualmin must be configure as the hostname for the server where you intend to install Virtualmin. It might also be a subdomain. For example- we want to use test.pnshostings.com and manage by Virtualmin. Thus, we set our system hostname to this.
Note: Substitute your domain or subdomain for test.how2shout.com. Also, ensure that the server IP address where you are installing Virtualmin, the A record of the domain is direct to it via your DNS, which is generally available from where you purchase your Domain name or from your domain registrar.
sudo hostnamectl set-hostname test.pnshostings.com
4. Change File permission to make Script executable
Because we now have the Virtualmin installation script on our Ubuntu 20.04 LTS server, let’s alter the permission so that we may run it on the system with root privileges to install various components.
chmod a+x install.sh
5. Run Virtualmin Installation Script on Ubuntu 20.04 LTS
If you use root, you don’t have to use Sudo with the next command, but you do have Sudo rights under ordinary users so that the installation procedure is automatic. Without involvement from you, everything will be set up from here.
Note: If the hostname of your domain did not resolve your specific Ip address, the setup might require you to manually re-enter the domain.
Now installation is complete.
6. Allow Firewall for Virtualmin on Ubuntu
sudo ufw allow 10000
7. Access Virtualmin Web Interface and log in
Now, you have to open your browser so that you can access the graphical user interface of the Webmin, and then refer to its IP address or domain that you select as a hostname for virtual min at port 10000.
Use your Default Virtualmin Username and Password to Login
As you see the login page, enter your server’s root username and its password. username– root password– the one you have set for the root user on your server.
8. Dashboard of Virtualmin
Finally, the dashboard allows you to access the different settings and choices needed to begin hosting websites.
9. Post-Installation Wizard of Virtualmin Server
Email Processing Settings:
Enable virus scanning with ClamAV:
Run SpamAssassin server filter:
Choose MySQL and PostgreSQL server for DataBase:
Set Passwords Saving Options:
Virtualmin provides you the choice to save plain text passwords or just one-way encoded passwords (hashed). for virtual servers and mailboxes. Passwords in plain text are handier, but less secure if your system is affect.
Password recovery for virtual servers is not feasible anymore when hash passwords are use.
Moreover, the MySQL password is distinct and randomly created for new servers from the administrative password.
SSL certificate via Let’s Encrypt:
10. Upload files for the website
- You’ll locate the index.html file under Public HTML, click the file manager.
- Click File Menu and corresponding upload option to remove it and upload the WordPress file to this file.
- It’s done once.
- Build a Webmin database.
- Your domain URL, showing the page Under construction, will be refreshed and you will see the setup page for WordPress, which will provide the necessary data also.
While it can be a bit difficult for WHM Cpanel customers to utilize Webmin and Virtualmin, if you’re not going to pay for Cpanel, then this alternative is excellent. C-Panel is a nice alternative.