Contenidos
Monitoring with Webmin
Introduction to Webmin
Webmin is a web interface to manage virtually all of the equipment. We can configure it, turn it off, file sharing… is written in Perl and is a great tool to visualize our server. It will now be much easier to perform certain tasks, however in the following chapters I will always use the console.
Installation of Webmin
Update the system:
First it’s always, update:
sudo apt-get upgrade sudo apt-get update
SSH packages
Must install a series of packages prior to Webmin works:
sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions
If we didn’t do this when installing it would give us an error like this:
By selecting the webmin package previously selected no. (Reading the database...) (288244 files or directories installed currently.) Preparing to unpack webmin_1.520_all.deb... Unpacking webmin (1,520)... dpkg: dependency problems prevent configuration of webmin: Webmin depends on libnet-ssleay-perl; However: 'Libnet-ssleay-perl' package is not installed. Webmin depends on libauthen-pam-perl; However: The package ' libauthen-pam-perl' not is installed. Webmin depends of Libyan-pty-perl; However: 'Libio-pty-perl' package is not installed. Webmin depends on apt-show-versions; However: 'Apt-show-versions' package is not installed. dpkg: error processing webmin package (-install): dependency problems - leaving unconfigured Processing triggers for ureadahead (0.100.0-16)... Errors were found while processing: Webmin
Download and install
From the «home» we must download the following folder and compile:
wget http://downloads.sourceforge.net/webadmin/webmin_1.520_all.deb sudo dpkg-i webmin_1.520_all.deb
Root access
Before begin to experience Webmin, must either create a user with access of administrator either enable the root in ssh, in my case I have made it second and here show them steps.
Edit the ssh configuration file:
Nano /etc/ssh/sshd_config
We look for the following line with nano is Ctrl + w
PermitRootLogin without-password
And put:
PermitRootLogin yes
sudo service restart ssh
Video example of Winmin
External links
- Sliceoflinux install Webmin
- Ochobitshacenunbyte configure root user.