Webminの設定
Webminをクライアントマシンから接続できるように設定します。
サーバーは最小構成にてOSをインストールしましたので、Webminをインストールしたものの使うことができません。
一方Webminの初期設定はインストールしたマシンからしか行うことができません。
そこで、Webminの設定ファイル /etc/webmin/miniserv.conf を編集して他のマシン(Xありの)から接続できるように変更します。
- 設定ファイルの
allow = 127.0.0.1の部分に他のマシンのIPアドレスを追加します。:# vi /etc/webmin/miniserv.conf port=10000 root=/usr/libexec/webmin mimetypes=/usr/libexec/webmin/mime.types addtype_cgi=internal/cgi realm=Webmin Server logfile=/var/webmin/miniserv.log errorlog=/var/webmin/miniserv.error pidfile=/var/webmin/miniserv.pid logtime=168 ppath= ssl=1 env_WEBMIN_CONFIG=/etc/webmin env_WEBMIN_VAR=/var/webmin atboot=0 logout=/etc/webmin/logout-flag listen=10000 denyfile=\.pl$ log=1 blockhost_failures=5 blockhost_time=60 syslog=1 allow=127.0.0.1 192.168.0.12 ← ここの一行のみ編集 session=1 userfile=/etc/webmin/miniserv.users keyfile=/etc/webmin/miniserv.pem passwd_file=/etc/shadow passwd_uindex=0 passwd_pindex=1 passwd_cindex=2 passwd_mindex=4 passwd_mode=0 preroot=mscstyle3 passdelay=1 libwrap= alwaysresolve= # /etc/rc.d/init.d/webmin restart