我是武男, 24歲, 大家都叫我阿男...有的人還會叫我白目研究生...

uBuntu Zone-Webmin How to

Autor 白目研究生

每一次開始弄CLI環境的系統都會很失落

然後墮落的尋找其他比較簡單的替代方案

FreeBSD也是,uBuntu也是…

不過,這不代表這不是一件好事情,而是會利用工具的技能才是最重要的…

這篇文章的主題是Webmin

針對不同的環境還蠻多種版本的,相關訊息就請至官網首頁查詢了

今天的Lab環境是:

uBuntu Server 7.10

Webmin 1.4

套件下載至/tmp或者自己知道的目錄即可

# wget http://hostname/webmin-1.400.tar.gz

解開目錄

# tar -zxvf webmin-1.400.tar.gz 

 進入安裝主程式目錄

 # cd webmin-1.400

 然後,安裝

# ./setup.sh

安裝參數

Config file directory [/etc/webmin]://預設
Log file directory [/var/webmin]://預設
Full path to perl (default /usr/bin/perl)://預設
Testing Perl …
Perl seems to be installed ok //確定有安裝perl
Web server port (default 10000)://指定port號,建議修改,另外在iptable設定rule限制trust hust
Login name (default admin)://管理員登入帳號,建議修改
Login password://管理員登入密碼,建議修改
Password again://管理員登入密碼確認,建議修改
The Perl SSLeay library is not installed. SSL not available.
//沒有裝ssl套件,故無法使用https protocol
Start Webmin at boot time (y/n):y//貼心的開機執行
***********************************************************************
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.

裝完了

然後你可以,透過你的Browser連結http://Hostname:10000/

12.bmp

看到你的系統資訊了,服務管理就從左邊的頁框做設定

21.bmp

基本上這樣子就是完成了

用完了,就是要移除

./etc/webmin/uninstall.sh

Are you sure you want to uninstall Webmin? (y/n) : y

Stopping Webmin server in /tmp/webmin-1.400
Running uninstall scripts ..
Deleted init script /etc/init.d/webmin
Deleting /tmp/webmin-1.400 ..
Deleting /etc/webmin ..
Done!

以上,Lab Complete!!

Reader's Comments

  1. ychsiao |

    太墮落啦

  2. heaven |

    學長這樣子說…

    那我就尷尬了…

    XDD

CommentComment