我是武男, 24歲, 大家都叫我阿男...有的人還會叫我白目老百姓...找我的話請Google "武男" 就沒錯了~

Webmin Install Steps How To

Autor 白目研究生

說明:
Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely. See the standard modules page for a list of all the functions built into Webmin, or check out the demo and screenshots.

語言:各國語系,支援繁體中文(Big5/UTF8),不過翻譯的完整性尚待加強

版本:Webmin development version 1.352 released

測試安裝環境:FreeBSD 6.2 Release

下載:Download

Install Steps:

更新PortTree確認要安裝的套件是在維護後的最新版本

#make update

不確定後續PortTree維護會不會換目錄,所以用以下指令搜尋

#whereis webmin
webmin: /usr/ports/sysutils/webmin

找到webmin在PortTree的目錄後安裝

#cd /usr/ports/sysutils/webmin; make install clean;

或者是從這裡下載回來的檔案可以透過下面方式安裝

[root@localhost /tmp]# gunzip webmin-1.350.tar.gz
[root@localhost /tmp]# tar xf webmin-1.350.tar
[root@localhost /tmp]# cd webmin-1.350
[root@localhost /tmp/webmin-1.350]# ./setup.sh /usr/local/webmin
#make install clean

安裝完成後,會出現下面提示訊息

@comment Insert PLIST.lib-webmin here
===================================

To reconfigure webmin you should
run the following command as root:

${LOCALBASE}/lib/webmin/setup.sh

You won’t have to perform this step
after every webmin upgrade.

Since 1.150_2, to run webmin from
startup, add webmin_enable=』YES』
your /etc/rc.conf.

===================================
===> Installing rc.d startup script(s)
===> Registering installation for webmin-1.350_1

找到${LOCALBASE}/lib/webmin/開始Webmin的初始化設定,會有自動提示協助完成安裝

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

***********************************************************************
* Welcome to the Webmin setup script, version 1.350 *
***********************************************************************
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相關的Log目錄,預設按ENTER繼續

***********************************************************************
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): 使用到perl程式的路徑,預設按ENTER繼續

Testing Perl …
Perl seems to be installed ok

***********************************************************************
Operating system name: FreeBSD
Operating system version: 6.2

***********************************************************************
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):
12345 設定登入Webmin的port number,建議修改,預設10000
Login name (default admin): heaven 設定登入Webmin的帳號,預設admin
Login password: 設定登入Webmin的帳號
Password again: 設定登入Webmin的帳號
Use SSL (y/n): y 是否啟動SSL連線加密
***********************************************************************
Creating web server config files..
..done

Creating access control file..
..done

Creating start and stop scripts..
..done

Copying config files..

..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
..done

接著設定開機自動啟動Wemin

#vi /etc/rc.conf; webmin_enable=』YES』

或者是直接啟動

#/usr/local/etc/rc.d/webmin start

透過下面連結Server

https://u’re ip:剛剛設定的port number/

結論:

大致上支援下面列表的功能設定,對使用者來說,網頁的設定介面是比較親善的,推薦給Unix like的初心者使用。不過建議基礎的設定要做好,不然安全性會造成很嚴重的影響。

Login: heaven

Webmin
Backup Configuration Files
Usermin設定
Webmin 伺服器索引
Webmin 使用者
Webmin 組態
Webmin動作紀錄
變更語言和佈景主題

系統
LDAP Users and Groups
Log File Rotation
MIME Type Programs
Security Sentries
手冊頁
系統紀錄
使用者與群組
定時執行工作 (Cron)
指令排程
執行中的程序
軟體套件
開機與關機
磁碟配額
磁碟與網路檔案系統
檔案系統備份
變更密碼

伺服器
Apache 網頁伺服器
BIND 8 DNS 伺服器
CVS伺服器
DHCP 伺服器
Dovecot IMAP/POP3 Server
FTP 伺服器
Fetchmail取信管理
Frox FTP Proxy
Jabber IM Server
Majordomo 郵遞列表管理者
MySQL 資料庫伺服器
OpenSLP Server
Postfix 組態
PostgreSQL資料庫伺服器
ProFTP伺服器
Procmail Mail Filter
QMail Configuration
SSH Server
Samba 視窗檔案分享
Sendmail 組態
SpamAssassin Mail Filter
Squid Analysis Report Generator
Squid 代理伺服器
流量監控
讀取使用者郵件

網路
BSD Firewall
Bandwidth Monitoring
IPFilter Firewall
NFS 匯出
PPTP VPN Server
SSL Tunnels
網路組態
網際網路服務與協定

硬體
CD燒錄
印表機管理者
系統時間

電腦叢集
Cluster Change Passwords
Cluster Copy Files
Cluster Cron Jobs
Cluster Shell Commands
Cluster Usermin Servers
Cluster Users and Groups
Cluster Webmin Servers
Configuration Engine
Heartbeat Monitor

Others
系統和伺服器的狀態
HTTP Tunnel
PHP Configuration
Perl模組
Shell指令
Telnet 登入
上傳和下載
自訂的命令
網站目錄保護
檔案管理者

——————————————————————————–

System Information
登出

Random Posts

請留言

CommentComment