Sunday, April 24, 2011

Open Source: What is Webmin?

Installing Virtualmin

If you have a fresh system running CentOS 5 or Debian 4.0 and want to install the full Virtualmin GPL stack (including Webmin, Apache, Postfix and other dependencies), the easiest way is to use the Virtualmin GPL install script. Otherwise, you should add it to an existing Webmin install, as described here.
Virtualmin can be downloaded in Webmin module format from:
http://download.webmin.com/download/virtualmin/virtual-server-3.84.gpl.wbm.gz (1.3 MB)
The Virtualmin framed theme in Webmin module format can be downloaded from:
http://download.webmin.com/download/virtualmin/virtual-server-theme-7.9.wbt.gz (2.2 MB)
You can install it by going to the Webmin Configuration module, clicking on Webmin Modules and use the first form on the page to install the downloaded .wbm.gz file. Or install it directly from the above URL. After installation the module will show up in the Servers category.
To install the theme, go to the Webmin Configuration module, click on Webmin Themes and install the downloaded .wbt.gz file. Once this is done, you should use the Webmin Themes page to make the new theme the default, if your system is to be primarily used for virtual hosting.
The same theme file can be used with Usermin too, to provide a similar user interface style and a better framed interface for reading email. To install it, go the Usermin Configuration module, click on Usermin Themes and install from the .wbt.gz file.
If you are interested, older versions of Virtualmin are also available.
Virtualmin versions 2.30 and above support plugins, which are Webmin modules that provide additional virtual server or mailbox user features. Some existing plugins are available here.

Setting up Virtualmin

To work properly, Virtualmin requires that several servers like Apache, Postfix and BIND be configured and running, and that their corresponding Webmin modules be setup too. Detailed (but slightly old) documentation by Swelltech for doing this is available. Or you can follow the basic steps below :
  • Install Webmin, if you don't already have it. If so, make sure it is upgraded to the latest version.
  • Visit Webmin's modules for Apache, BIND, Postfix and MySQL to ensure that all those servers are installed and running. If you prefer Sendmail, it may be used instead of Postfix.
  • Go to the Webmin Configuration module and click on Webmin Modules. Then install both the virtual-server....wbm.gz and virtual-server-theme....wbt.gz files linked above.
  • In the Webmin Configuration module, click on Webmin Themes and select theVirtualmin Framed Theme.
  • Logout of Webmin and log back in again - you should see the new Virtualmin framed user interface.
  • Click the button labelled Re-check and refresh configuration. This will list any problems found on your system, such as missing or im-properly configured servers.
  • Fix all the problems, and re-try clicking the button. Repeat this until no problems are found.
  • Click the Create virtual server link on the left menu to add your first domain.

Tip of the Day

If you want to backup website created using Virtualmin, it is best to use its built-in backup feature instead of the Filesystem Backup or MySQL modules. This way individual domains can be easily restored or migrated



No comments:

Post a Comment