The very first thing would be to install a software package which allows me to connect to Webmin using a web browser over SSL.
At the command prompt I’ll type the following commands as root.
apt-get install libnet-ssleay-perl libauthen-pam-perl libpam-runtime
Downloading the latest version of Webmin into /usr/local/src.
tar xzvf webmin-version
I’ll ran the install script.
Using the default answers except for port and admin name. I prefer to change the port number to something else. The Webmin account has the same superuser access as root. I could just use the same password the root account has or I could create a new one.
Changing Webmin’s default port can also be done by editing /etc/webmin/miniserv.conf
Change the port value.
Restart Webmin afterwards.
When the installation script is done Webmin could now be access using a web browser by pointing it to http://mysite.com:44444
A security message pops up informing me unable to verify the identity of the trusted site. I’ll click OK. Later on I can purchase an SSL certificate from godaddy.com for my server to use.
To login I’ll use the username and password I created during the install process.
Once logged in I will limit as to which IP address can connect to my Webmin interface. Clicking on the Webmin link | Webmin Configuration | IP Access Control.
I am also going to block host and users after two failed login attempts.
I will enable the firewall by going to Networking | Linux Firewall. Allowing access to only ports I need opened. Webmin’s firewall module comes with a number of pre-built IPtable rules, I’ll pick one which closely matches what I need.Ã‚Â Clicking on the drop down arrow I can pick the nic card I want the rules to apply to then afterwards clicking on “Setup Firewall” Webmin will start creating the firewall rules. If I want to edit by hand the firewall rules I can easily do this by going to /etc/iptables.up.rules.
If I want to change the default theme of my Webmin install I can easily do this through Webmin | Webmin Configuration | Webmin Themes. Browse to location of my downloaded theme, and then click Install Theme. Different themes can be obtained from here.
Afterwards I can now complete the theme change.
If I need to edit configuration files I can do so by using webmin’s file editor. This will only work if java is installed on the computer accessing Webmin.
I can also check or change a files ownership including permissions by clicking info.
If I want to manage services currently installed on my server I just go to Servers. This brings up a page where each service has a related icon.
I’ll create user accounts by going to Systems | Users and Groups | create users. The same interface can also be use to create groups.
Inevitably while editing files mistakes can occur. I’ll backup my configuration files by going to System | Filesystem Backup, add the directory I could either backup to a local drive or a remote server using FTP or SSH.
I’ll setup the backup schedule as well still using the Filesystem Backup module.
Clicking on the Transport Mapping then clicking Transport Mapping Lookup Table webmin is helpful enough to offer assistance as to which values I could use.
I’d also like to be able to view stats of my system. For this I’ll have to install a third party module called webminstats created by Eric Gerbier. Going to System | Historic Systems Statistics.
I am able to view a nice graphical view of my current load.
Webmin is being continually being improved so watch for new realease version off the Webmin site. I would recommend to add your e-mail address to Webmin’s mailing list. To upgrade Webmin Go to Webmin | Webmin Configuration | Upgrade Webmin, click on Upgrade Webmin.
To uninstall software using Webmin, go to | System | Software Packages | type the name of the software | click search for package. After search finds the package click uninstall. On the next page click delete. There might be a need to choose ignore depencies.
If I want to uninstall Webmin this can be easily done using the uninstall script found in.
Running this script as the user root will completely removed Webmin from my server and deletes the directory used by Webmin.
Now I am ready to manage my Linux server remotely either through Webmin or SSH!
These examples hardly puts a dent on what webmin is capable of! Jamie Cameron the creator of Webmin has done a fantastic job of making a systems administrators job a lot easier.
Source of information:
Good place get help from the community.