If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules.
Installing Webmin in Debian
#apt-get install webmin webmin-core
After the installation If you want to access webmin from any machine in your network edit the /etc/webmin/ miniserv.conf file change the “allow” option
allow=127.0.0.1 to allow=0.0.0.0
If you want to restrict webmin for only your network you can do in this allow option
Once you change this and save your file and restart the webmin using following command
#/etc/init.d/webmin restart
Go to your browser and type:- https://ipaddress:10000 and you can login using the debian linux root as username and password for root.
If you ou need any webmin modules for your applications you can download from here
Update Webmin online from your machine
Click on Webmin Configuration under webmin tab from here click on Upgrade Webmin and select the Latest version from www.webmin.com option now click on upgrade webmin button this will start the webmin upgrade from webmin site
Downloading http://www.webmin.com/download/webmin-1.290.tar.gz ..
Downloading http://easynews.dl.sourceforge.net/sourceforge/webadmin/webmin-1.290.tar.gz (10324511 bytes) ..
Received 1024 bytes (0 %)
Received 1033216 bytes (10 %)
Received 2065408 bytes (20 %)
Received 3097600 bytes (30 %)
Received 4130816 bytes (40 %)
Received 5163008 bytes (50 %)
Received 6195200 bytes (60 %)
Received 7227392 bytes (70 %)
Received 8260608 bytes (80 %)
Received 9292800 bytes (90 %)
Received 10324511 bytes (100 %)
.. Download complete.
No package signature verification done.
Running setup.sh script to upgrade Webmin .. Please wait a minute until it is complete before continuing.
Other available options
From local file
From uploaded file
From ftp or http URL
Installing Webmin from latest .deb package
You can download latest .deb from here
#wget http://prdownloads.sourceforge.net/webadmin/webmin_1.290.deb
#dpkg --install webmin_1.290_all.deb
the install will be done automatically to /usr/share/webmin, the administration username set to root and the password to your current root password. You should now be able to login to Webmin at the URL http://localhost:10000/
Installing Webmin in Ubuntu
You can use the above procedure but if you want to install latest version you can download from webmin site download section
Prerequisites
Perl 5 interpreter and libnet-ssleay-perl
#apt-get install perl5 libnet-ssleay-perl
Now you need to download the latest webmin from the above downloadlink
Download ‘webmin-1.290.tar.gz’ (at the time of writing) to some location in your machine ex:- /usr/local/src
#wget http://prdownloads.sourceforge.net/webadmin/webmin-1.290.tar.gz
#cd /usr/local/src
#tar xzvf webmin-1.290.tar.gz
#cd webmin-1.290
#sh setup.sh
This will start the installation and now it will prompt for several questions answer them as follows
Config file directory [/etc/webmin]:
Leave as default, or change as you wish
Log file directory [/var/webmin]:
Leave as default, or change as you wish
Full path to perl (default /usr/bin/perl):
Leave as default, or change as you wish
Operating system:
Enter ‘6′
Version:
Enter ‘6′
Web server port (default 10000):
This is where you can start to make webmin more secure then the standard install you get with apt-get, Synaptic, or RPM. Leave as default or change it to what ever port you want.
Login name (default admin):
It is ‘admin’, so you can leave it as that, or put in any name that you like.
Login password:
By creating the user above and giving it a password, you have now made it so you will not need to log into webmin with root.
Password again:
enter your password again
If you did not install ‘libnet-ssleay-perl’ you will get the following message:
‘The Perl SSLeay library is not installed. SSL not available.’ You can continue with the install, but it would be more secure if you install sslrelay.
Use SSL (y/n):y
Choose yes here
Start Webmin at boot time (y/n):y
select here y
At this point it is going to configure things, install things, and create things…
It will then tell you that you can log in to https://hostname:10000 and to accept the certificate.
Webmin User Password Change
If you want to change root password in webmin use this included Perl script:
# /usr/share/webmin/changepass.pl /etc/webmin root
If you want to install any standard modules you can download from here
If you want to install third party modules you can download from here
November 29th, 2006 at 12:28 pm
Very concise and helpful, especially now webmin no longer appears to be in the Ubuntu repositories!!! Thanks guys
December 6th, 2006 at 4:01 am
Do you, per chance, have an updated command for installing Webmin in Debian.
Doesn’t seem to be valid command anymore.
December 6th, 2006 at 9:03 am
try to run the following commands
apt-get update
apt-cache search webmin
this should give all webmin related packages
December 14th, 2006 at 3:37 pm
Thank you very much!
January 10th, 2007 at 11:07 pm
my system responsed as below:
root@server1:/etc/postfix/ssl# apt-get install webmin webmin-core
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package webmin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package webmin has no installation candidate
>>>>>>>>>>>>>>>>>>
any other way to install this ?
January 15th, 2007 at 1:01 am
para tí de mí
January 19th, 2007 at 5:27 am
I switched to Ubuntu 6.10 server sparc edition and did some research to install Webmin. Maybe some of this info may be of some use to you.
Webmin install
What is Webmin?
Webmin is an excellent web-based interface to your *nix based machines(www.webmin.com). There are no webmin packages in the latest release “Dapper”. This is how I installed webmin on my Dapper server…
Edit Jul 15 2006: as of July 2006 webmin.com has a testing deb for the full webmin package. You can use this, but you will have to enable the root user. Following the instructions below will avoid enabling the root account.
1. Install SSH
Code:
sudo apt-get install ssh openssh-server
2. Enable the universe and multiverse repositories in the /etc/apt/sources.list (https://wiki.ubuntu.com/AddingRepositoriesCliHowto)
3. To make this easier use a ssh client like Putty(Win32) or a Term on another machine that has a GUI and copy/paste these commands or you can just re-type them…
Below is the source I just happened to use. If it is not working go to: http://prdownloads.sourceforge.net/w…n-1.300.tar.gz and find a working mirror.
Where to install Webmin?
At this point you should note that the directory that you are currently in will be the directory that webmin gets installed into. I don’t mind it being in /home/MyAdminAccount/webmin, but if you want it somewhere else now is the time to change to that directory.
Doing something like this would put your installation in /opt/webmin
Code:
sudo su
Code:
mkdir /opt/webmin
and then
Code:
cd /opt/webmin
Now Download the Webmin archive…
Code:
wget http://easynews.dl.sourceforge.net/sourceforge/webadmin/webmin-1.310.tar.gz
Code:
gzip -cd webmin-1.310.tar.gz | tar xvf -
Code:
sudo apt-get install libauthen-pam-perl libnet-ssleay-perl libpam-runtime openssl perl perl-modules
If having problems on Edgy server sparc for libauthen-pam-perl then do
Code
#apt-get install libnet-ssleay-perl
Code:
cd webmin*
Code:
./setup.sh
Basically just hit enter and choose SSL and the auto start the service at boot
Web server port (default 10000): (Feel Free to change this)
Login name (default admin):
Login password: AReallyGoodONE
Password again: AReallyGoodONE
Use SSL (y/n): y
Start Webmin at boot time (y/n): y
Now you can login with the user/password that you set at the https://IpAddressOfYourMachine:10000
________________________________________
January 26th, 2007 at 9:42 am
Very nice tutorial… Thanx!
March 4th, 2007 at 3:50 am
Thanks for this post, Richard. This was exactly what I needed to get my Webmin going. The standard “apt-get” command didn’t install of the components that make webmin very useful, and I was worried there for a bit, until I saw your post, and not realizing that it would install the same way as if the box were a readhat, I was thinking I was limited to the apt installer (can you tell I’m new to Linux?!?!). This post cleared all of that up, and now I can see my servers tab, and can get my web server going.
THanks!
March 28th, 2007 at 1:00 pm
Nice how-to, but the line
#dpkg –install webmin_1.290_all.deb
should read:
#dpkg –-install webmin_1.290.deb