顶九网服务器搭建手册之AMPF环境搭建(1)

安装webmin

Webmin是一个强大而非常有用的在线管理软件,可以管理所有服务器的配置文件.

# cd /usr/ports/sysutils/webmin

# make

# make install

# make clean

# make rmconfig

# /usr/local/lib/webmin/setup.sh

 

# /usr/local/lib/webmin/setup.sh

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

*            Welcome to the Webmin setup script, version 1.270        *

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

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/lib/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.

 

Log file directory [/var/log/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): #也是直接按回车,选默认值

Testing Perl …

Perl seems to be installed ok

 

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

Operating system name:    FreeBSD

Operating system version: 6.0

 

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

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): #这是也是按回车,选默认值

Login name (default admin): #这里也是直接按回车,选默认值

Login name (default admin):

Login password:

Password again: #这里输入两次密码

Use SSL (y/n): y

然后,编辑/etc/rc.conf增加启动.

# vi  /etc/rc.conf

添加

webmin_enable=”YES”

然后重启系统,webmin的在线管理服务器功能就生效。

以下文章点击率最高

Loading…

     

如果这文章对你有帮助,请扫左上角微信支付-支付宝,给于打赏,以助博客运营

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注