[FreeBSD]


この日記のはてなブックマーク数 このエントリーを含むはてなブックマーク
webminとはウェブのインターフェースからサーバの管理をするためのツールです。以下portinstallによるセットアップ方法。

#portinstallにてwebminをインストール
[root@www.ksknet.net /usr/local/www]# cd /usr/ports/
[root@www.ksknet.net /usr/ports]# portinstall sysutils/webmin



#初期設定
[root@www.ksknet.net /usr/local/www]# /usr/local/lib/webmin/setup.sh
***********************************************************************
*            Welcome to the Webmin setup script, version 1.210        *
***********************************************************************
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.

Config file directory [/usr/local/etc/webmin]:
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: 2005

***********************************************************************
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
***********************************************************************
Creating web server config files..
..done

Creating access control file..
..done

Creating start and stop scripts..
..done

Copying config files..
..done

Creating uninstall script /usr/local/etc/webmin/uninstall.sh ..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
..done

Attempting to start Webmin mini web server..
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

  https://www.ksknet.net:10000/

and login with the name and password you entered previously.

Because Webmin uses SSL for encryption only, the certificate
it uses is not signed by one of the recognized CAs such as
Verisign. When you first connect to the Webmin server, your
browser will ask you if you want to accept the certificate
presented, as it does not recognize the CA. Say yes.

これでhttps://ホスト名:10000にて入れるようになります。

起動時にwebminが立ち上がるよう/etc/rc.confに以下の一行を追加。

webmin_enable="YES"



広告
UNIXシェルスクリプト逆引き大全333の極意―Linux,FreeBSD,Solaris,Mac OS X対応 UNIXシェルスクリプト逆引き大全333の極意―Linux,FreeBSD,Solaris,Mac OS X対応
¥ 2,520 / 売り上げランク: 81654 / 463 ページ

「入門UNIXシェルプログラミング」と並ぶ良い本である。
辞書の様に引き、それらを組合わせる事でshellで実現可能な
殆どのやりたい事ができる。
この本がボロボロになっている頃には、もうあなたもshellマスター
になっていることでしょう。

基礎からわかるTCP/IPセキュリティ実験―Linux/FreeBSDの対応 基礎からわかるTCP/IPセキュリティ実験―Linux/FreeBSDの対応
¥ 2,520 / 売り上げランク: 86388 / 322 ページ

TCP/IPのシリーズの一冊として読むとよい。

できれば、「基礎からわかるTCP/IP JAVAネットワークプログラミング」のような、このシリーズのプログラミングの本でプログラミングできるようになってから読んで欲しい。

単にセキュリティを設定だけで回避しようとしても、プログラマはその裏をかくのが仕事なので、静的な設定だけでは不十分である。

プログラミングできる人がセキュリティを担当すると、設定の妥当性を確認するプログラムが書けるかもしれない。

セキュリティは実験段階であることを理解すれば、本書は非常に役立つものと思う。

改訂版 FreeBSD徹底入門 改訂版 FreeBSD徹底入門
¥ 3,990 / 売り上げランク: 124495 / 624 ページ

とにかく丁寧。
インストールのやり方から、環境の設定の行い方迄、これからFreeBSDを始めてみようと思ったら読んでみるべきでしょう。
本に収録されているバージョンは少々古めですが、ほとんど関係ありません。

旧版を愛読した人から薦められたのですが、自分でもぜひお薦めしたい一冊です。