Paypal donation


Configure a Dedicated Server with Webmin

Part 02 - Webmin

01-Introduction - [[ 02-Installing Webmin ]] - 03-Configure DNS - 04-Assign Nameservers - 05-Configure SFTP - 06-Setup Web server - 07-Let's Encrypt - 08-Setup Perl/CGI PHP - 09-Manage MySQL - 10-Setup Email server - 11-Setup SASL - 12-Setup Email accounts - 13-Email process - 14-Email antivirus - 15-Usermin - 16-Extras

Webmin is a web-based interface for system administration for Linux.
This application will help us administer easier our dedicated server.
Let's see how we can install it remotely.

Install Webmin

From the official Webmin download web page find the current:
"RPM suitable for Redhat, Fedora, CentOS, SuSE or Mandrake Linux" version.
In our case is :

"http://prdownloads.sourceforge.net/webadmin/webmin-1.791-1.noarch.rpm"

Connect via SSH using PuTTY at your dedicated server.
Write :

wget http://prdownloads.sourceforge.net/webadmin/webmin-1.791-1.noarch.rpm

and hit ENTER in order to download Webmin at your server.

Now install the optional Webmin dependencies using the command :

yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty

Lastly run the command :

rpm -U webmin-1.791-1.noarch.rpm

in order to install Webmin

If you have problems installing Webmin under CentOS 6.7 take a look at the official how to install documentation

Login via Webmin

Once installed Webmin you can access via web using your favourite web browser.
I will use Mozilla Firefox for the entire ebook.
Write this URL at your browser :

https://111.111.111.111:10000/

Where 111.111.111.111 is your dedicated server's IP.
Pay attention at the https.


Your browser will warn you for an untrusted connection.
This warning is normal.
Hit "I understand the risks" and add this exception at your browser.
This happens because you have an secure http(s) connection but it is not certified by an Certificate Authority (CA) like Comodo, Symantec etc ...
Webmin security warning

The Webmin login screen should appear like the picture below :
Webmin login screen
Use the same Username and Password that you are using for SSH.
Example :
Username : root
Password : rootpassword

The Webmin main screen is shown below :
Webmin main screen

Configure Webmin

Now it is time to configure Webmin.
First of all it is always advised to change your root password.
Your start password was given via email so it is not secure at all.

Go to System > Users and Groups
and click over root user
Webmin root

Now select the "Normal password" radio button and write your new root password.
Click the "Save" button.
Webmin root new password

By doing this procedure you have changed the password of PuTTY. Webmin will still login with the old one.
Go to Webmin > Webmin Users, and click over the "root" Webmin User.
Webmin root new password

Under the voice "Webmin user access rights" go to "Password" label and select "Unix authentication" if you want that the Webmin password will be the same as the PuTTY SSH login password or simply select "Set to..." and give your new Webmin root password.
Now hit the "Save" button.
Webmin root new password

It is always a good idea to change the listening Webmin port.
Go to Webmin > Webmin Configuration > Ports and Addresses
Webmin configuration

For security reasons is recommended to change the Webmin port
Listen on port : change port, for example use 10009.
Check Listen for broadcasts on UDP port : "Don't listen"
Hit the "Save" button.
Webmin ports and addresses

Now your new Webmin access link will be :

https://111.111.111.111:10009/

Login using :

Username : root
Password : rootpassword

Now go to
Networking > Network Configuration.
Click over the "Hostname and DNS Client" icon.
Webmin network configuration panel

Under "DNS Clients Options" you can find your "Hostname".
I do not recommend changing your Hostname, just save it in a secure place with all your server data and click the "Return to network configuration" link.
Webmin get hostname of your server

You can also reach your Webmin using :

https://YOUR-HOSTNAME:10009/

Login using :

Username : root
Password : rootpassword

Update System

Refresh Webmin modules from "Refresh Modules" Link at the main left menu of Webmin:
Webmin refresh modules

Update the hole system using Webmin by going to :
System > Software Package Updates
Hit the button "Refresh Available packages"
Webmin software package updates

Also the same action can be done from the "System Information" link by clicking the "package updates are available" link".
system update

If there are updates click the "Select all" link and then press the "Update selected packages" button Webmin software package updates 2

We have installed and configured Webmin.
Currently you can reach and modify our dedicated server using two different options : PuTTY and Webmin.

Upgrade Webmin

Every time you log in Webmin tells you if there is a new upgrade.
Webmin upgrade

By clicking the "Upgrade Webmin Now" button just wait until all the packages are downloaded and installed at your server.
Webmin upgrade 2

Now log out and log in again.


In the next section we will see how to configure our DNS Server called Bind.

01-Introduction - [[ 02-Installing Webmin ]] - 03-Configure DNS - 04-Assign Nameservers - 05-Configure SFTP - 06-Setup Web server - 07-Let's Encrypt - 08-Setup Perl/CGI PHP - 09-Manage MySQL - 10-Setup Email server - 11-Setup SASL - 12-Setup Email accounts - 13-Email process - 14-Email antivirus - 15-Usermin - 16-Extras


Copyright © TrustFm.net 1998-2017 - Made by TrustFm - All Rights Reserved Worldwide