Webmin

From MEPIS Documentation Wiki

Revision as of 00:44, 16 August 2011 by Jerry bond (Talk | contribs)
Jump to: navigation, search

Contents

Webmin

Introduction

If you are installing network services of any kind on your MEPIS box, Webmin is an indispensable tool for administrating them through a common interface directly from your web browser. Webmin has administration modules for dozens of servers, network settings, and system settings, as well as other remote administration tools. As the name implies, Webmin is entirely browser-based and allows you to administrate your system locally or remotely.

Installation

MEPIS 11

Via the Webmin Repository

If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system and add the lines :

  deb http://download.webmin.com/download/repository sarge contrib
  deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib 

You should also fetch and install tre GPG key with which the repository is signed, with the commands :

  wget http://www.webmin.com/jcameron-key.asc
  su -c 'apt-key add jcameron-key.asc'

You will now be able to install with the commands:

  su -c 'apt-get update'
  su -c 'apt-get install webmin' 

All dependencies should be resolved automatically.

Manually

Download the latest .deb file from webmin download page. Open a konsole and and install webmin by running executing:

  su -c 'dpkg -i webmin-*.deb'

If dpkg complains about missing dependencies, you can install the missing dependencies by executing the following command:

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

MEPIS 8 and Mepis 8.5

Webmin is in the repos and can be installed in the usual manner. Once that process is finished, webmin can now be accessed via a web browser using the URL https://localhost:10000 then use the user name "root" and your root password.

Once you install from there you can upgrade to the latest version from within Webmin by choosing Webmin from the left-hand menu and then Webmin Configuration and finally Upgrade Webmin from the page that displays. Choose the option 'Latest Version from webmin.com' and it will check for a newer version and download and install it.

MEPIS 7

Download the latest .deb file from webmin download page. Open a konsole and and install webmin by running executing:

  su -c 'dpkg -i webmin-*.deb'

If the install fails, it is most likely due to missing dependencies. To resolve these dependencies errors, run:

  su - c 'apt-get -f install'

This should get all your dependencies installed and webmin will be set up.

Use

Open your favorite web browser and go to https://localhost:10000. Log in as "root" with your root password.

If you want to have webmin start at boot you can run the following command from a konsole:

  su -c 'insserv webmin'

or via webmin. In webmin goto System > Bootup and Shutdown > webmin. Select "Start at boot time?" and click "Save".

If you wish to manually start webmin, run the following command from a konsole:

  su -c '/etc/init.d/webmin start'

To stop webmin run

  su -c '/etc/init.d/webmin stop'

To restart webmin run

  su -c '/etc/init.d/webmin restart'

Tips and tricks

Managing Remote Servers

One of the biggest benefits of using webmin is its ability to manage multiple, remote computers. To manage a remote computer from webmin you need to first add the computer. Fortunately, webmin provides several automated methods. From webmin select Webmin > Webmin Servers Index. You can "Broadcast for servers" on your network to find other webmin servers, "Scan for servers", or have webmin periodically check for new servers by clicking on "Automatically Find Servers". You can also manually register a webmin server by clicking on the "Register a new server" link.

Links

Personal tools
In other languages