Atlantic.Net Blog

How to Install Webmin on Oracle Linux 8

Hitesh Jethva
by Atlantic.Net (414 posts) under Dedicated Server Hosting, Tutorials
0 Comments

Open-source Webmin is one of the most widely used server control panels for Linux. It allows users to manage a Linux server from a web browser. Any user with basic knowledge can install and configure different services on Linux using Webmin. It can be installed on all major Linux operating systems including Linux, Solaris, FreeBSD, and more. It allows the system admin to perform several tasks using Webmin such as package management, network configuration, and performance monitoring, user account creation, file management, firewall management, and more.

In this post, we will show you how to install Webmin on Oracle Linux 8.

Prerequisites

  • A server running Oracle Linux 8 on Atlantic.Net Cloud Platform
  • A root password configured on your server

Step 1 – Create Atlantic.Net Cloud Server

First, log in to your Atlantic.Net Cloud Server. Create a new server, choosing Oracle Linux as the operating system with at least 2GB of RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.

Once you are logged in to your server, run the following command to update your base system with the latest available packages.

dnf update -y

Step 2 – Install Webmin

By default, the Webmin package is not available in the Oracle Linux default repository. You will need to install it from the Webmin installation script.

First, install the required dependencies using the following command:

dnf install wget tar python3 perl -y

Once all the dependencies are installed, download the latest version of Webmin with the following command:

wget https://www.webmin.com/download/webmin-current.tar.gz

Once Webmin is downloaded, extract the downloaded file using the following command:

tar xvf webmin-current.tar.gz

Next, create an installation directory for Webmin.

mkdir -p /usr/local/webmin

Next, start the Webmin installation by running the following script:

./webmin-1.994/setup.sh /usr/local/webmin/

During the installation, you will be asked to provide a Webmin port, admin username, and password as shown below:

Config file directory [/etc/webmin]: 
Log file directory [/var/webmin]: 

***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl): 

Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name:    Oracle Linux
Operating system version: 8.4

***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
 - What port to run the web server on. There must not be another
   web server already using this port.
 - The login name required to access the web server.
 - The password required to access the web server.
 - If the webserver should use SSL (if your system supports it).
 - Whether to start webmin at boot time.

Web server port (default 10000): 
Login name (default admin): 
Login password: 
Password again: 
Use SSL (y/n): n
Start Webmin at boot time (y/n): y
***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

  http://oraclelinux8:10000/

and login with the name and password you entered previously.

At this point, Webmin is installed and listens on port 10000. You can check it with the following command:

ss -antpl | grep 10000

You should see the following output:

LISTEN 0      128          0.0.0.0:10000      0.0.0.0:*    users:(("miniserv.pl",pid=21220,fd=7))

Step 3 – Configure Firewall

You will also need to allow port 10000 through firewalld. You can allow it using the following command:

firewall-cmd --add-port=10000/tcp --permanent

Next, reload firewalld to apply the changes:

firewall-cmd --reload

Step 4 – Access Webmin Web Interface

Now, open your web browser and access the Webmin web interface using the URL http://your-server-ip:10000. You will be redirected to the Webmin login page:
Webmin login page

Provide your admin username and password and click on the Sign in button. You should see the Webmin dashboard on the following page:
Webmin dashboard
Click on Tools => Command Shell. You should see the web-based Linux command-line shell:
Webmin command line interface
Here, you can execute any command on your Linux server.

Click on Tools => File Manager. You should see the Linux file system on the following page:
Webmin file manager
Here, you can create and manage files and directories on your server.

Click on Tools => Upload and Download. You should see the following page:
Webmin upload download manager
Here, you can upload and download any file to and from the server.

Click on Un-used Modules. You should see the following page:
Webmin software manager
Here, you can install and remove different packages on your server.

If you want to uninstall Webmin from your server, run the following script:

bash /etc/webmin/uninstall.sh

Conclusion

Congratulations! You have successfully installed Webmin on Oracle Linux 8. You can now easily manage your Linux server without any command-line knowledge. Try it on dedicated hosting from Atlantic.Net!

Get A Free To Use Cloud VPS

Free Tier Includes:
G3.2GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

Top 10 Best Cybersecurity Training Services
How to Install Ansible on Oracle Linux 8
How to Install LEMP Server on Oracle Linux 8
How to Install and Configure Apache Webserver on Oracle Linux 8
How to Install and Configure Nginx Webserver on Oracle Linux 8

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G3.2GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2008 Lookout Dr,

Dallas, Texas 75044

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources