頂九網服務器搭建手冊之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…

     

如果這文章對你有幫助,請掃左上角微信支付-支付寶,給於打賞,以助博客運營

發表評論

您的電子郵箱地址不會被公開。 必填項已用*標註