ブラウザでサーバー管理 Webmin インストール

この章を始める前に下記の設定が必要です
「Apache2 インストール」 「SSL暗号化通信 Apache2 mod_ssl インストール」
webminインストール
[root@freebsd ~]# cd /usr/ports/sysutils/webmin
[root@freebsd webmin]# make install clean
[root@freebsd webmin]# cd
webmin設定
[root@freebsd ~]# /usr/local/lib/webmin/setup.sh
***********************************************************************
*            Welcome to the Webmin setup script, version 1.390        *
***********************************************************************
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 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): ←空エンター

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): ←空エンター
Login name (default admin): ←空エンター
Login password: ←パスワード入力
Password again: ←パスワード入力
Use SSL (y/n): y ←y入力
***********************************************************************
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 ..
: Permission denied
..done
webmin起動
[root@freebsd ~]# vi /etc/rc.conf
webmin_enable="YES" ←追加(webmin起動)
[root@freebsd ~]# /usr/local/etc/rc.d/webmin start
ブラウザで確認 (https://www.ドメイン名:10000/)

ユーザー名(root)とパスワード(rootパスワード)を入力して「Login」をクリック。
Webmin日本語化

左上のメニューから「Webmin」をクリック。
展開したメニューから「Change Language and Theme」をクリック。
言語設定の変更

「Personal choice」を選択して、言語は「Japanese(JA_JP.UTF-8)」を選択する。
「Make Changes」をクリック。
日本語化完了

ブラウザを更新して日本語化完了。
各種設定

各種設定変更が可能。
外部に公開する場合
プロトコル(TCP)ポート10000番を開放。
Home PageTop