Tuesday, March 07, 2006

Webmin 安裝說明

Webmin 安裝說明


下載網站:http://www.webmin.com/
我站上也有:webmin-1.0.tar.gz
功能:以瀏覽器管理 UNIX-Like 系統。
安裝需求:PREL 5.0以上。
安裝環境:Redhat Linux 6.1 + CLE 0.9。電腦名稱:linux
安裝示範版本:Webmin 0.78 版
安裝說明:

1.在適當目錄 以 tar zxvf webmin-0.78.tar.gz 解開檔案。(不要在 /tmp 之類的目錄)
2.tar 程式會自動把檔案解開至 ./webmin-0.78
3. cd webmin-0.78 ,執行 ./setup.sh
4.接下來只要逐一回答問題就可以完成安裝手續,框線內有顏色的部份setup.sh問的問題,中文部份則是我的說明。通常採預設值即可,需修改處筆者會提出建議。


***********************************************************************
* Welcome to the Webmin setup script, version 0.78 *
***********************************************************************
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-0.78 ...

***********************************************************************
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): <=prel 程式的目錄

Testing Perl ...
Perl seems to be installed ok


***********************************************************************
For Webmin to work properly, it needs to know which operating system
type and version you are running. Please select your system type by
entering the number next to it from the list below
---------------------------------------------------------------------------

1) Sun Solaris 2) Caldera OpenLinux eServer
3) Caldera OpenLinux 4) Redhat Linux
5) Slackware Linux 6) Debian Linux
7) SuSE Linux 8) Corel Linux
9) TurboLinux 10) Mandrake Linux
11) Delix DLD Linux 12) MkLinux
13) FreeBSD 14) OpenBSD
15) BSDI 16) HP/UX
17) SGI Irix 18) DEC/Compaq OSF/1
19) IBM AIX 20) SCO UnixWare
21) SCO OpenServer 22) MacOS Server X

---------------------------------------------------------------------------
Operating system: <=你的 系統名稱

這是 webmin 支援的系統種類,大概所有的 unix-like 系統都全包括了,我安裝的系統是 4) Redhat Linux 。


Please choose which version of Redhat Linux you are running, by entering
the number next to it from the list below
---------------------------------------------------------------------------
1) Redhat Linux 4.0 2) Redhat Linux 4.1
3) Redhat Linux 4.2 4) Redhat Linux 5.0
5) Redhat Linux 5.1 6) Redhat Linux 5.2
7) Redhat Linux 6.0 8) Redhat Linux 6.1
---------------------------------------------------------------------------
Version: <=系統的版本
目前最常用的版本大概就是 6.0 +cle 0.8 或 6.1 + cle 0.9 ,我用的是 6.1+cle 0.9 ,所以選8 。
如果你的系統是6.2 ,那就下載0.79 或安裝 0.78 後再進行昇級。

Operating system name: Redhat Linux
Operating system version: 6.1
選完,安裝程式回應你所選擇的系統名稱和版本。

***********************************************************************
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): <=設定連線的port,預設是10000
個人建議改一下,為了系統安全起見,設1024 以上,也不要和其他程式的port 相同。

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

Creating web server config files..
..done

Configuring Webmin to start at boot time..
Created init script /etc/rc.d/init.d/webmin
..done (script 的安裝目錄)

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

http://linux:9798/

and login with the name and password you entered previously.

到這裡就算大功告成了。


以下是幾個Webmin 執行的畫面

Webmin 畫面一

Webmin 管理server 上的一些 services的畫面,例如 bind 4 和 bind 8 重覆了,也可以
利用上圖中 webmin/ Webmin Configuration/Webmin Modules 的選項,把 bind 4 的
modules 拿掉。

這套webmin 我從0.72 版就開始使用了,用 telnet方式到 server 上做設定是很方便,但那
也要熟悉系統才行,被 微軟寵壞的人對這種界面應該會覺得親切才對,不過先別對她有
太大的希望,因為多少也要先了解一些 server 上的運作情形,和設定方法。


中文化(2000.6.7)

首先我們應該感謝參與 I18N的熱心人士,該我們可以使用到這麼好的中文化軟體,
也希望各位網友能多給他們鼓勵,翻譯的工作對我來說是能力不及,但是寫點
使用文件倒是可以。在此也要特別感謝 Jing-Jong Shyue ,是他完成這些文件翻譯的。

i18n 網站:http://i18n.linux.org.tw/index.shtml

webmin-0.8 以後的版本已經支援中文語系了,所以安裝好後,選擇 Language
有 zh_big5的選項了。

(一)修改前

(二)選取BIG5 碼


(三)中文化了!!


http://www.cses.tcc.edu.tw/~chihwu/Webmin.html

0 Comments:

Post a Comment

<< Home