webmin,非常棒的Linux管理工具

Thursday February 8, 2007

下载 Webmin
webmin-1.320.tar.gz

在安装webmin前,先安装perl5.x

#cd /usr/ports/lang/perl5
#make install clean; rehash

安装webmin

#tar zxvf webmin-1.320.tar.gz
#cp webmin-1.320 /usr/local/webmin
#cd /usr/local/webmin
#./setup.sh

***********************************************************************

* Welcome to the Webmin setup script, version 1.100 *

***********************************************************************

Webmin is a web-based interface that allows Unix-like operating

systems and common Unix services to be easily administered.

Installing Webmin in /usr/local/webmin

***********************************************************************
Webmin uses separate directories for configuration files and log files.

Unless you want to run multiple versions of Webmin at the same time

you can just accept the defaults.

Config file directory [/etc/webmin]: #默认配置文件目录

Log file directory [/var/webmin]: #默认日志文件目录

***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the

Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl): #检查Perl安装

Testing Perl …

Perl seems to be installed ok

***********************************************************************

Operating system name: FreeBSD

Operating system version: 6.2

***********************************************************************

Webmin uses its own password protected web server to provide access

to the administration programs. The setup script needs to know :

– What port to run the web server on. There must not be another

web server already using this port.

– The login name required to access the web server.

– The password required to access the web server.

– If the webserver should use SSL (if your system supports it).

– Whether to start webmin at boot time.

Web server port (default 10000): #默认webmin web server的端口

Login name (default admin): #通过浏览器登录webmin的用户名,默认为admin

Login password: #输入用户登录密码

Password again: #再次输入用户登录密码

The Perl SSLeay library is not installed. SSL not available.

Start Webmin at boot time (y/n): y 是否在FreeBSD启动时运行webmin

***********************************************************************

Creating web server config files..

..done

Creating access control file..

..done

Inserting path to perl into scripts..

..done

Creating start and stop scripts..

..done

Copying config files..

..done

Configuring Webmin to start at boot time..

Created init script /etc/rc.d/init.d/webmin

..done

Creating uninstall script /etc/webmin/uninstall.sh ..

..done

Changing ownership and permissions ..

..done

Running postinstall scripts ..

..done

Attempting to start Webmin mini web server..

Starting Webmin server in /usr/local/webmin

..done

**********************************************************************
Webmin has been installed and started successfully. Use your web

browser to go to

http://hostname:10000/

and login with the name and password you entered previously.

Leave a reply