Difference between revisions of "Technique Knowledge of Webmin"
From ESS-WIKI
Eric.liang (talk | contribs) (Created page with "= Webmin How to install on Ubuntu 14.04 = = How to install = 首先加入 Webmin 官方 repository, 開啟檔案 <code>/etc/apt/sources.list</code> <pre>$ vi /etc/apt/s...") |
Eric.liang (talk | contribs) |
||
Line 12: | Line 12: | ||
然後取得以上 repository 的 GPG key: | 然後取得以上 repository 的 GPG key: | ||
− | <pre> | + | <pre>$ wget http://www.webmin.com/jcameron-key.asc |
− | $ wget http://www.webmin.com/jcameron-key.asc | ||
$ apt-key add jcameron-key.asc | $ apt-key add jcameron-key.asc | ||
</pre> | </pre> | ||
Line 19: | Line 18: | ||
更新 apt-get 就可以開始安裝了: | 更新 apt-get 就可以開始安裝了: | ||
<pre>$ apt-get update | <pre>$ apt-get update | ||
− | $ apt-get install webmin | + | $ apt-get install -y webmin |
</pre> | </pre> | ||
Revision as of 03:31, 15 February 2017
Webmin How to install on Ubuntu 14.04
How to install
首先加入 Webmin 官方 repository, 開啟檔案 /etc/apt/sources.list
$ vi /etc/apt/sources.list
加入以下兩行:
deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
然後取得以上 repository 的 GPG key:
$ wget http://www.webmin.com/jcameron-key.asc $ apt-key add jcameron-key.asc
更新 apt-get 就可以開始安裝了:
$ apt-get update $ apt-get install -y webmin
Webmin 預設使用 10000 埠號, 設定 firewall 開通 10000 埠號:
$ ufw allow 10000
預設帳號密碼為 root 之帳號密碼, 可以這樣存取:
http://localhost:10000 或 https://localhost:10000
Config file path
Webmin module 的目錄放置此路徑下.
$ cd /usr/share/webmin
module.infos.cache
路徑
$ /var/webmin/module.infos.cache
set module ACL
$ vi /etc/webmin/webmin.acl
Restart webmin
$ /etc/init.d/webmin restart
Webmin main process
$ vi /usr/share/webmin/miniserv.pl
Webmin main process read below config
$ vi /etc/webmin/miniserv.conf