Tuesday, November 2, 2010

Working easy on Linux with Webmin

Official Webmin website
http://www.webmin.com/

If you are using the DEB version of webmin, first download the file and then run the command :

dpkg --install webmin_1.530_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/. Or if accessing it remotely, replace localhost with your system's IP address.

If Debian complains about missing dependencies, you can install them with the command :

apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions

If you are installing on Ubuntu and the apt-get command reports that some of the packages cannot be found, edit /etc/apt/sources.list and make sure the lines ending with universe are not commented out.

Some Debian-based distributions (Ubuntu in particular) don't allow logins by the root user by default. However, the user created at system installation time can use sudo to switch to root. Webmin will allow any user who has this sudo capability to login with full root privileges.

If you want to connect from a remote server and your system has a firewall installed, see this page for instructions on how to open up port 10000.

How to change webmin default port

# Stop webmin with the command /etc/webmin/stop
# Edit the line port in /etc/webmin/miniserv.conf
# Start webmin with the command /etc/webmin/start

No comments:

Post a Comment