< What is “Webmin”? >
“Webmin” is a configuration tool with WEB based UI written in Perl. It can run on Linux / UNIX / Windows / OSX. When I install Debian to my computer, I install “Webmin”. Basically I use it to edit configuration files, because I don’t need to remember where are configuration files. “Webmin” can control starting and stopping of any services. “Webmin” has so many convenient functions. But it’s too heavy for me to explain everything about it. If you want to know about “Webmin” more, please check Webmin – Wikipedia and http://www.webmin.com/.
< Installation on Debian >
Please check latest version of webmin on http://www.webmin.com/. Please replace the red URL to the newest one when you check the official web site. Execute the commands below as root to install webmin.
root@myhost:~# cd /tmp root@myhost:/tmp# wget http://prdownloads.sourceforge.net/webadmin/webmin_1.690_all.deb root@myhost:/tmp# dpkg -i webmin_1.690_all.deb root@myhost:/tmp# apt-get -f install
After the command “dpkg -i webmin_1.690_all.deb“, apt show you any warnings. After that, please execute “apt-get -f install” to install required software for webmin.
< For security >
By default configuration, webmin can be accessed only from local network. I have never changed it, because of the security. I always use SSH port transfer or any kind of VPN to use webmin from the internet. You don’t need to allow webmin to be accessed directly from the internet.
< SSH port transfer >
If your user name is “abcd” and domain is “example.com“, SSH login with port transfer for webmin is a command line below.
$ ssh -L 10000:localhost:10000 firstname.lastname@example.org
This command line is for Linux / UNIX / OSX. You can also use IP address instead of domain.
< Login to Webmin >
Use any browser to access “https://localhost:10000/“. You will see untrusted message like below.
It is an example of Firefox. Please push “Add Exception” if you use Firefox.
First time, you need to login as root. If you don’t want to use root to login to webmin, you can add any user for webmin.
< Which language do you use? >
Default language for webmin is English. If you want to change global language setting, please check the navigation and picture below.
[ Webmin ] – [ Webmin Configuration ] – [ Language ]
You can select default language and character code for webmin user interface by the function above. If you want to change personal language or theme, please check the navigation and picture below.
[ Webmin ] – [ Change Language and Theme ]
< Webmin theme >
I want to explain how to add webmin users, but before adding webmin users, I need to explain about my webmin theme.
[ Webmin ] – [ Webmin Configuration ] – [ Webmin Themes ]
You can select themes for Webmin UI. I always use “MSC.Linux Theme“. Please choose a theme you want to use. But during following my procedure on this post, it’s easy to follow using “MSC.Linux Theme“.
< Add system user >
I always add system user before adding webmin user. Because I use UNIX login for webmin. You can add users for your operation system at the navigation below. I use this function instead of “adduser” command.
[ System ] – [ Users and Groups ] – [ Create a new user ]
I basically use default settings for new user. I only change password.
< Add Webmin user >
You can add users for webmin at the navigation below. You need to select functions of webmin to allow the user can control. I always use UNIX authentication for PASSWORD.
[ Webmin ] – [ Webmin Users ] – [ Create a new Webmin user ]
After I add webmin user, I always re-login webmin on the new user.
You can find the module list like below.
If you want to control everything like an administrator, please click “Select all” to select all functions.
< About Webmin modules >
When I have spare time, I will update this post or write new post about some modules for webmin.