Webmin和Virtualmin是著名的主机管理面板, 可以用来管理多个WEB网站。网站和网站之间不能越界管理到对方的文件,有利于网站独立。如果是多人合租VPS服务器,使用面板来控制就比较好。

查看在Debian上面的安装方法:

deb http://mirrors.163.com/debian stable main contrib main non-free
deb-src http://mirrors.163.com/debian stable main contrib main non-free
 
apt-get update
apt-get install perl -y
apt-get install libnet-ssleay-perl openssl libauthen-pam-perl 
libio-pty-perl libmd5-perl -y
wget -c http://prdownloads.sourceforge.net/webadmin/usermin_1.400_all.deb
 
dpkg -i usermin_1.40_all.deb
wget -c http://software.virtualmin.com/gpl/scripts/install.sh
chmod +x install.sh
./install.sh
 
 The systems currently supported by install.sh are:
 CentOS 4 and 5 on i386 and x86_64
 Debian 4.0 and 5.0 on i386 and amd64
 Ubuntu 8.04 LTS on i386 and amd64
 
  If your OS is not listed above, this script will fail.  More details
 about the systems supported by the script can be found here:
 
Continue? (y/n)  Y
 
Please enter a fully qualified hostname (for example, example.com): debian.com 
#输入您的域名安装开始.. 
#-------------------------------------------------------------------------
INFO - Removing Debian standard Webmin package, 
if they exist (because they're broken)...
INFO - Removing Debian apache packages...
INFO - Installing dependencies using command: /usr/bin/apt-get 
--config-file apt.conf.noninteractive -y --force-yes install 
postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby 
libxml-simple-perl libcrypt-ssleay-perl unzip zip postfix-tls
...in progress, please wait...
 
这里提示需要等待,可能需要花费15分钟以上
#-------------------------------------------------------------------------
 
INFO - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes
 install virtualmin-base
...in progress, please wait...
Extracting templates from packages: 100%
Extracting templates from packages: 100%

#------------------------------------------------------------------------

这里也会花费很长时间.

加入 extension=mysql.so 使php5支持mysql
还有安装GD库 ( 虚拟主机必不可少的 )

debian:~# vi /etc/php5/apache2/php.ini
debian:~# apt-get install php5-gd -y