红联Linux门户
Linux帮助

在FreeBSD下安装WebMin管理

发布时间:2006-08-12 00:26:48来源:红联作者:download
今天我们一起来学习一下用WebMin来管理FreeBSD,实现GUI远程操作管理。
功能:可以用浏览器来管理FreeBSD系统,一个字“爽”。
安装需求:PREL 5.0以上。
安装环境:FreeBSD+Apache2.0+PHP5.0+MYQL
安装示范版本:WebMin-1.260
一、安装过程:
1.将下载来的webmin-1.260.tar.gz上传到/home/user/app目录里,以 tar zxvf webmin-1.260.tar.tar 解开压缩。(最好不要把webmin-1.260.tar.gz放在/tmp目录,如果到时WebMin哪天起动不了了,不要来找我哟!^_^)
2.解开压缩后,我们是不是发现app目录下面是不是多出来webmin-1.260对我们要的就是它啦!文件名这么长,太麻烦了,好吧!那我们先改名方便第一嘛!mv webmin-1.260 webmin改好了我们就可以用cd webmin访问了,进入目录后执行./setup.sh.
4.接下来只要逐一回答问题就可以完成安装手续了,框线内有颜色的部份setup.sh问的问题,中文部份是我的说明。通常采用缺省值就可以,需要修改的地方我会提出建议。
***********************************************************************
* Welcome to the Webmin setup script, version 1.260 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /root/webmin-1.260 ...
***********************************************************************
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]: /usr./local/webmin安装目录(我这里是放在了/usr/local/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): ###prel 安装目录
Testing Perl ...
Perl seems to be installed ok
***********************************************************************
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.
- The hostname of this system that the web server should use.
- If the webserver should use SSL (if your system supports it).
- Whether to start webmin at boot time.
Web server port (default 10000):1024###设置访问端口,缺省值是10000
个人建议改一下,主要是为了系统安全起见,设1024以上,也不要和其它的端口号相同。
Web server port (default 10000):
Login name (default admin): ### 管理员帐号,个人建议不要要缺省值,改一下为好!
Login password: ### 密码Password again: ###确认密码
Web server hostname (default linux): ###主机名称The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): y ###问你系统启动时要不要执行WEBMIN当然的要了,所以选Y
Creating web server 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 (那一天要把webmin 删除就需要运行./uninstall.sh了,呵呵/)
***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to
and login with the name and password you entered previously.
到这里就算OK了。如果中间不出错的话。
文章评论

共有 0 条评论