How to install Webmin on Rocky Linux

With Webmin, you may higher safe and handle your situations of Rocky Linux. Jack Wallen walks you thru the method of getting this web-based device up and operating.

Rocky Linux logo on mountain scene background

Illustration: Lisa Hornung/TechRepublic

Webmin is a superb device for admins new to Linux. With this web-based admin system, you may maintain absolutely anything you want, together with safety issues akin to SSH configuration, system upgrades, service administration and extra. With distributions akin to Rocky Linux (a 1:1 RHEL binary appropriate working system), Webmin is not included in the usual repositories, so you will want to leap via a few hoops to get it up and operating. 

Observe: Rocky Linux does embrace the web-based administration device Cockpit; nonetheless, Cockpit is not almost as extendable as Webmin, nor does it supply the safety choices in Webmin. You’ll be able to all the time use each for much more performance.

SEE: 5 Linux server distributions you need to be utilizing (TechRepublic Premium)

What you will want

To get Webmin put in, you will want a operating occasion of Rocky Linux and a consumer with sudo privileges. 

The way to set up the required dependencies

First, we’ll must maintain the dependencies. Log into your Rocky Linux occasion and subject the command:

sudo dnf set up wget tar perl -y

As soon as the dependencies are put in, you are prepared to put in Webmin.

The way to set up Webmin

To make this work, you will must obtain the present model of Webmin with the command:

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

As soon as the file has accomplished downloading, unpack it with the command:

tar xvf webmin-current.tar.gz

Create a brand new listing for Webmin with:

sudo mkdir -p /usr/native/webmin

You could discover out what model of Webmin has been downloaded–do this with the ls command. It is best to see a brand new listing named webmin-XXX (the place XXX is the discharge quantity). With that quantity in hand, now you can run the set up script with the command:

sudo ./webmin-XXX/setup.sh /usr/native/webmin/

The place XXX is the discharge quantity.

The installer script will ask the next questions:

  • Config file listing [/etc/webmin]:

  • Log file listing [/var/webmin]:

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

  • Net server port (default 10000):

  • Login title (default admin): NAME

  • Login password: PASSWORD

  • Password once more: PASSWORD

  • Use SSL (y/n): y

  • Begin Webmin at boot time (y/n): y

The place NAME is the username you need to use because the Webmin admin and PASSWORD is the password you will use for that login. 

Outdoors of the Login title/password, settle for the defaults for the entire questions.

Lastly, open the firewall with the instructions:

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

The way to entry Webmin

Open an internet browser and level it to https://SERVER:10000 (the place SERVER is the IP handle or area of the Rocky Linux server). Since Webmin makes use of a self-signed SSL certificates, you will have to simply accept the chance. When you do this, you will be introduced with the login window. Use the credentials you created throughout set up. Upon profitable authentication, you will end up on the principle Webmin web page (Determine A), the place you can begin administering your Rocky Linux server.

Determine A

webmina.jpg

Webmin has been efficiently put in and is able to assist make your Rocky Linux admin job even simpler.

And that is all there may be to getting this highly effective, web-based admin system up and operating on Rocky Linux. Now you can take management of the safety of that working system and lock it down precisely as you want.

Additionally see

Recent Articles

spot_img

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Stay on op - Ge the daily news in your inbox