FreeBSD 10.0
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*FreeBSD10 からBINDの同梱がなくなった [#ue8cef12]
とのことなので
Installing bind99-9.9.7P1_4...
********************************************************...
* _ _____ _____ _____ _ _ _____ ___ ___ _...
* / \|_ _|_ _| ____| \ | |_ _|_ _/ _ \| ...
* / _ \ | | | | | _| | \| | | | | | | | | ...
* / ___ \| | | | | |___| |\ | | | | | |_| | ...
* /_/ \_\_| |_| |_____|_| \_| |_| |___\___/|_...
* ...
* BIND requires configuration of rndc, including a "se...
* The easiest, and most secure way to configure rndc ...
* 'rndc-confgen -a' to generate the proper conf file, ...
* random key, and appropriate file permission...
* ...
* The /usr/local/etc/rc.d/named script will do that ...
* ...
********************************************************...
===> SECURITY REPORT:
This port has installed the following files which ...
servers and may therefore pose a remote security r...
/usr/local/sbin/named-journalprint
/usr/local/sbin/named
/usr/local/sbin/rndc-confgen
/usr/local/sbin/dnssec-verify
/usr/local/sbin/ddns-confgen
/usr/local/sbin/dnssec-dsfromkey
/usr/local/bin/host
/usr/local/sbin/nsec3hash
/usr/local/sbin/dnssec-signzone
/usr/local/bin/nsupdate
/usr/local/sbin/rndc
/usr/local/sbin/lwresd
/usr/local/bin/dig
/usr/local/sbin/dnssec-revoke
/usr/local/sbin/dnssec-keygen
/usr/local/sbin/named-checkzone
/usr/local/sbin/dnssec-keyfromlabel
/usr/local/sbin/dnssec-importkey
/usr/local/sbin/named-checkconf
/usr/local/bin/nslookup
/usr/local/sbin/dnssec-settime
This port has installed the following startup scri...
these network services to be started at boot time.
/usr/local/etc/rc.d/named
If there are vulnerabilities in these programs the...
risk to the system. FreeBSD makes no guarantee abo...
ports included in the Ports Collection. Please typ...
to deinstall the port if this is a concern.
For more information, and contact details about th...
status of this software, see the following webpage:
https://www.isc.org/software/bind
===> Cleaning for bind99-9.9.7P1_4
root@g7:/var/log #
http://freebsd.fkimura.com/bind9-c1.html
*MySQLをUPグレード [#w49e7e6d]
********************************************************...
Remember to run mysql_upgrade the first time you start t...
after an upgrade from an earlier version.
********************************************************...
*10.0 to 10.1 [#jbd0ef00]
10.0のサポートもおわったったので、10.1へUPする・・・まえ...
で、Apache関連も取り敢えずUPするも、Default Versionが22...
これをこのまま、インストールしようとすると
root@g7:/usr/ports/www/mod_dav_svn # make install
===> mod_dav_svn-1.8.13_2 is marked as broken: : Error ...
*** Error code 1
などとなって、怒られます。
で、こそこそと /etc/make.conf をこしらえて
DEFAULT_VERSIONS+=apache=22
と書いてmake しますと、無事 mod_dav_svn-1.8.13_2とかが出...
これで、無事、Apacheを再起動しても怒られなくなります。
root@g7:/usr/ports/www/apache24 # apachectl restart
Performing sanity check on apache22 configuration:
Syntax error on line 2 of /usr/local/etc/apache22/Includ...
Unknown DAV provider: svn
さてと、次は10.1へUP。
http://w.vmeta.jp/tdiary/20141119.html
http://www.lifewithunix.jp/notes/2014/09/25/freebsd-apach...
root@g7:~ # freebsd-update -r 10.1-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... none found.
Fetching metadata signature for 10.0-RELEASE from update...
Fetching metadata index... done.
Fetching 1 metadata files... done.
Inspecting system... done.
The following components of FreeBSD seem to be installed:
kernel/generic world/base world/games world/lib32
The following components of FreeBSD do not seem to be in...
src/src world/doc
Does this look reasonable (y/n)? y
Fetching metadata signature for 10.1-RELEASE from update...
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system...
** # zpool upgrade -a [#p207e7cf]
root@g7:~ # zpool status
pool: tank
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ada1 ONLINE 0 0 0
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0
errors: No known data errors
root@g7:~ # gpart bootcode -b /boot/pmbr -p /boot/gptzfs...
bootcode written to ada0
root@g7:~ #
root@g7:~ #
root@g7:~ # gpart bootcode -b /boot/pmbr -p /boot/gptzfs...
gpart: No such geom: ada1.
root@g7:~ #
----
http://blog.livedoor.jp/dankogai/archives/51907188.html
*FreeBSD 10.0 [#v85ee2b0]
FreeBSD 10.0 DVD1
インストール終了後
freebsd-update fetch
freebsd-update install
reboot
locate データベースを作る
/etc/periodic/weekly/310.locate
7 6:46 locate portupgrade
8 6:46 cd /usr/ports/ports-mgmt/portupgrade-devel
9 6:46 make install clean
10 6:58 portinstall portaudit
11 6:58 portaudit -Fda
12 6:58 portinstall portaudit
13 6:58 locate portaudit
14 6:59 portinstall ports-mgmt/portaudit
15 7:00 cd
16 7:00 portinstall ports-mgmt/portaudit
17 7:00 pkg audit
18 7:01 pkg audit
19 7:01 pkg audit -F
20 7:15 history
**portaudit を入れようとすると・・・ [#yb54f340]
root@blackcube2:/usr/ports/ports-mgmt/portupgrade-devel ...
[Reading data from pkg(8) ... - 17 packages found - done]
[Gathering depends for ports-mgmt/portaudit done]
** Port marked as IGNORE: ports-mgmt/portaudit:
use 'pkg audit' instead
** Listing the failed packages (-:ignored / *:skipped / ...
- ports-mgmt/portaudit
root@blackcube2:~ # pkg audit
pkg: unable to open vulnxml file, try running 'pkg audit...
root@blackcube2:~ # pkg audit -F
vuln.xml.bz2 ...
0 problem(s) in the installed packages found.
**screen をいれようとすると [#b1e89b27]
root@g7:~ # portinstall sysutils/screen
portinstall: Command not found.
といわれる
root@g7:~ # pkg install screen
The package management tool is not yet installed on your...
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebs...
Verifying signature with trusted certificate pkg.freebsd...
Installing pkg-1.2.7_2... done
If you are upgrading from the old package format, first ...
# pkg2ng
Updating repository catalogue
digests.txz ...
packagesite.txz ...
Incremental update completed, 22923 packages processed:
0 packages updated, 0 removed and 22923 added.
The following 1 packages will be installed:
Installing screen: 4.0.3_14
The installation will require 865 KB more space
428 KB to be downloaded
Proceed with installing packages [y/N]: y
screen-4.0.3_14.txz ...
Checking integrity... done
[1/1] Installing screen-4.0.3_14... done
**Postfix [#y7143e59]
[[Postfix on FreeBSD]]
root@blackcube2:~ # portinstall mail/postfix
/etc/rc.conf
postfix_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
/etc/periodic.conf
# touch /etc/periodic.conf
daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
/etc/make.conf
NO_SENDMAIL= true
/etc/newsyslog.conf
#/var/log/sendmail.st 640 10 * 168 BN
**Apache [#tc6a3d65]
# portinstall www/apache22
/etc/rc.conf
apache22_enable="YES"
***/usr/local/etc/rc.d/apache22: WARNING: failed to start...
[Mon Feb 17 16:11:45 2014] [alert] (EAI 8)hostname nor s...
unable to find IPv4 address of "blackcube2"
Configuration Failed
http://d.hatena.ne.jp/takeR/20120715/1342354382
/etc/hosts へ、以下を追加
219.117.246.200 blackcube2
*** sysinstall から bsdinstall へ変更された模様 [#nbac6320]
http://www.freebsd.org/doc/ja/books/handbook/bsdinstall.h...
**mysql [#c6c1bbf1]
portinstall databases/mysql55-client
/etc/rc.conf
mysql_enable="YES"
mysqlの設定ファイルの雛形をコピーしておきます。(より大規...
# cp /usr/local/share/mysql/my-medium.cnf /usr/local/etc...
# chmod 644 /usr/local/etc/my.cnf
以下の起動スクリプトで制御できます。
# /usr/local/etc/rc.d/mysql-server start ←デーモンを起動...
# /usr/local/etc/rc.d/mysql-server restart ←デーモンを再...
# /usr/local/etc/rc.d/mysql-server stop ←デーモンを停止...
起動できたら、rootユーザのパスワードを設定します。初期状...
# mysqladmin -u root -h localhost password 'XXXXXX' ←XXX...
** portinstall lang/php5 [#m0a66a44]
Apacheのモジュールにチェック
/usr/local/etc/apache22/http.conf
********************************************************...
Make sure index.php is part of your DirectoryIndex.
You should add the following to your Apache configuratio...
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
********************************************************...
これしとかないと、index.php へアクセスすると、ダウンロー...
** php5-extensions [#ue2ba600]
** portinstall databases/phpmyadmin [#vf78ced1]
chown -R www:www phpMyAdmin/
+script/create_tables.sql で必要なテーブルを作成します。
k222# cd /usr/local/www/phpMyAdmin/examples
k222# mysql -u root -p < create_tables.sql
Enter password: ← パスワード(mysql管理者)の入力作ったテ...
+設定ファイル (config.inc.php) で高度な機能を有効にします...
**munin on FreeBSD 10 p2 2014/05/03 [#v657a994]
munin を、pkg install してみる。
一応、念のため、phpの extension.iniを待避しておくよ。
/usr/local/etc/php # cp extensions.ini extensions.ini_20...
pkg install sysutils/munin-node
pkg install sysutils/munin-master
/usr/local/www/muninにインストールされるので、Apacheに以...
/usr/local/etc/apache22/Includes/munin.conf
# Alias /webpath /full/filesystem/path
Alias /munin /usr/local/www/munin
314 6:12 apachectl restart
315 6:20 munin-node-configure -suggest
***munin-node-configure --shell [#ie9f962e]
とすると、
root@g7:~ # munin-node-configure --shell
ln -s '/usr/local/share/munin/plugins/cpu' '/usr/local/e...
ln -s '/usr/local/share/munin/plugins/df' '/usr/local/et...
ln -s '/usr/local/share/munin/plugins/df_inode' '/usr/lo...
ln -s '/usr/local/share/munin/plugins/if_' '/usr/local/e...
ln -s '/usr/local/share/munin/plugins/if_' '/usr/local/e...
等と表示されるが、 /usr/local/etc/munin/pluginsには、リン...
表示されたものをコピーしてプロンプトに貼って実行した。
ServerFQDN/munin/ にアクセスすると、ID・PWを訊かれ、...
http://sugutsukaeru.jp/support/3/
どうやら、.htaccess の問題のようなので、/usr/local/www/mu...
マシン名が、10amd64-default-job-02 となっていたので、/us...
# a simple host tree
#[10amd64-default-job-02]
[g7.kuji-clinic.net]
address 127.0.0.1
use_node_name yes
** munin [#lf7d7483]
********************************************************...
Unless this file already existed, a sample configuration...
has been placed in /usr/local/etc/munin/munin.conf.
Please edit it according to your needs.
The Munin server will be run from cron under the user 'm...
********************************************************...
***設定 [#d2ec4536]
/usr/local/etc/munin/munin.conf
# htmldir /usr/local/www/munin
htmldir /usr/local/www/apache22/data/munin ←コレを追加
# mkdir /usr/local/www/apache22/data/munin
# chown -R munin:munin /usr/local/www/apache22/data/munin
# cd /usr/local/www
# cp cgi-bin/munin-cgi-graph apache22/cgi-bin
# cp -rp munin apache22/data
# echo munin_node_enable="YES" >> /etc/rc.conf
***使えるプラグインを確認 [#t34f7bf5]
http://techno-st.net/2009/12/10/munin-munin-node-configur...
# munin-node-configure -suggest
*** --shell を使ってプラグイン追加 [#k36f21c5]
# munin-node-configure --shell
[[Munin on NEC-Express5800/GT110b FreeBSD 8.1]]
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*FreeBSD10 からBINDの同梱がなくなった [#ue8cef12]
とのことなので
Installing bind99-9.9.7P1_4...
********************************************************...
* _ _____ _____ _____ _ _ _____ ___ ___ _...
* / \|_ _|_ _| ____| \ | |_ _|_ _/ _ \| ...
* / _ \ | | | | | _| | \| | | | | | | | | ...
* / ___ \| | | | | |___| |\ | | | | | |_| | ...
* /_/ \_\_| |_| |_____|_| \_| |_| |___\___/|_...
* ...
* BIND requires configuration of rndc, including a "se...
* The easiest, and most secure way to configure rndc ...
* 'rndc-confgen -a' to generate the proper conf file, ...
* random key, and appropriate file permission...
* ...
* The /usr/local/etc/rc.d/named script will do that ...
* ...
********************************************************...
===> SECURITY REPORT:
This port has installed the following files which ...
servers and may therefore pose a remote security r...
/usr/local/sbin/named-journalprint
/usr/local/sbin/named
/usr/local/sbin/rndc-confgen
/usr/local/sbin/dnssec-verify
/usr/local/sbin/ddns-confgen
/usr/local/sbin/dnssec-dsfromkey
/usr/local/bin/host
/usr/local/sbin/nsec3hash
/usr/local/sbin/dnssec-signzone
/usr/local/bin/nsupdate
/usr/local/sbin/rndc
/usr/local/sbin/lwresd
/usr/local/bin/dig
/usr/local/sbin/dnssec-revoke
/usr/local/sbin/dnssec-keygen
/usr/local/sbin/named-checkzone
/usr/local/sbin/dnssec-keyfromlabel
/usr/local/sbin/dnssec-importkey
/usr/local/sbin/named-checkconf
/usr/local/bin/nslookup
/usr/local/sbin/dnssec-settime
This port has installed the following startup scri...
these network services to be started at boot time.
/usr/local/etc/rc.d/named
If there are vulnerabilities in these programs the...
risk to the system. FreeBSD makes no guarantee abo...
ports included in the Ports Collection. Please typ...
to deinstall the port if this is a concern.
For more information, and contact details about th...
status of this software, see the following webpage:
https://www.isc.org/software/bind
===> Cleaning for bind99-9.9.7P1_4
root@g7:/var/log #
http://freebsd.fkimura.com/bind9-c1.html
*MySQLをUPグレード [#w49e7e6d]
********************************************************...
Remember to run mysql_upgrade the first time you start t...
after an upgrade from an earlier version.
********************************************************...
*10.0 to 10.1 [#jbd0ef00]
10.0のサポートもおわったったので、10.1へUPする・・・まえ...
で、Apache関連も取り敢えずUPするも、Default Versionが22...
これをこのまま、インストールしようとすると
root@g7:/usr/ports/www/mod_dav_svn # make install
===> mod_dav_svn-1.8.13_2 is marked as broken: : Error ...
*** Error code 1
などとなって、怒られます。
で、こそこそと /etc/make.conf をこしらえて
DEFAULT_VERSIONS+=apache=22
と書いてmake しますと、無事 mod_dav_svn-1.8.13_2とかが出...
これで、無事、Apacheを再起動しても怒られなくなります。
root@g7:/usr/ports/www/apache24 # apachectl restart
Performing sanity check on apache22 configuration:
Syntax error on line 2 of /usr/local/etc/apache22/Includ...
Unknown DAV provider: svn
さてと、次は10.1へUP。
http://w.vmeta.jp/tdiary/20141119.html
http://www.lifewithunix.jp/notes/2014/09/25/freebsd-apach...
root@g7:~ # freebsd-update -r 10.1-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... none found.
Fetching metadata signature for 10.0-RELEASE from update...
Fetching metadata index... done.
Fetching 1 metadata files... done.
Inspecting system... done.
The following components of FreeBSD seem to be installed:
kernel/generic world/base world/games world/lib32
The following components of FreeBSD do not seem to be in...
src/src world/doc
Does this look reasonable (y/n)? y
Fetching metadata signature for 10.1-RELEASE from update...
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system...
** # zpool upgrade -a [#p207e7cf]
root@g7:~ # zpool status
pool: tank
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ada1 ONLINE 0 0 0
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0
errors: No known data errors
root@g7:~ # gpart bootcode -b /boot/pmbr -p /boot/gptzfs...
bootcode written to ada0
root@g7:~ #
root@g7:~ #
root@g7:~ # gpart bootcode -b /boot/pmbr -p /boot/gptzfs...
gpart: No such geom: ada1.
root@g7:~ #
----
http://blog.livedoor.jp/dankogai/archives/51907188.html
*FreeBSD 10.0 [#v85ee2b0]
FreeBSD 10.0 DVD1
インストール終了後
freebsd-update fetch
freebsd-update install
reboot
locate データベースを作る
/etc/periodic/weekly/310.locate
7 6:46 locate portupgrade
8 6:46 cd /usr/ports/ports-mgmt/portupgrade-devel
9 6:46 make install clean
10 6:58 portinstall portaudit
11 6:58 portaudit -Fda
12 6:58 portinstall portaudit
13 6:58 locate portaudit
14 6:59 portinstall ports-mgmt/portaudit
15 7:00 cd
16 7:00 portinstall ports-mgmt/portaudit
17 7:00 pkg audit
18 7:01 pkg audit
19 7:01 pkg audit -F
20 7:15 history
**portaudit を入れようとすると・・・ [#yb54f340]
root@blackcube2:/usr/ports/ports-mgmt/portupgrade-devel ...
[Reading data from pkg(8) ... - 17 packages found - done]
[Gathering depends for ports-mgmt/portaudit done]
** Port marked as IGNORE: ports-mgmt/portaudit:
use 'pkg audit' instead
** Listing the failed packages (-:ignored / *:skipped / ...
- ports-mgmt/portaudit
root@blackcube2:~ # pkg audit
pkg: unable to open vulnxml file, try running 'pkg audit...
root@blackcube2:~ # pkg audit -F
vuln.xml.bz2 ...
0 problem(s) in the installed packages found.
**screen をいれようとすると [#b1e89b27]
root@g7:~ # portinstall sysutils/screen
portinstall: Command not found.
といわれる
root@g7:~ # pkg install screen
The package management tool is not yet installed on your...
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebs...
Verifying signature with trusted certificate pkg.freebsd...
Installing pkg-1.2.7_2... done
If you are upgrading from the old package format, first ...
# pkg2ng
Updating repository catalogue
digests.txz ...
packagesite.txz ...
Incremental update completed, 22923 packages processed:
0 packages updated, 0 removed and 22923 added.
The following 1 packages will be installed:
Installing screen: 4.0.3_14
The installation will require 865 KB more space
428 KB to be downloaded
Proceed with installing packages [y/N]: y
screen-4.0.3_14.txz ...
Checking integrity... done
[1/1] Installing screen-4.0.3_14... done
**Postfix [#y7143e59]
[[Postfix on FreeBSD]]
root@blackcube2:~ # portinstall mail/postfix
/etc/rc.conf
postfix_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
/etc/periodic.conf
# touch /etc/periodic.conf
daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
/etc/make.conf
NO_SENDMAIL= true
/etc/newsyslog.conf
#/var/log/sendmail.st 640 10 * 168 BN
**Apache [#tc6a3d65]
# portinstall www/apache22
/etc/rc.conf
apache22_enable="YES"
***/usr/local/etc/rc.d/apache22: WARNING: failed to start...
[Mon Feb 17 16:11:45 2014] [alert] (EAI 8)hostname nor s...
unable to find IPv4 address of "blackcube2"
Configuration Failed
http://d.hatena.ne.jp/takeR/20120715/1342354382
/etc/hosts へ、以下を追加
219.117.246.200 blackcube2
*** sysinstall から bsdinstall へ変更された模様 [#nbac6320]
http://www.freebsd.org/doc/ja/books/handbook/bsdinstall.h...
**mysql [#c6c1bbf1]
portinstall databases/mysql55-client
/etc/rc.conf
mysql_enable="YES"
mysqlの設定ファイルの雛形をコピーしておきます。(より大規...
# cp /usr/local/share/mysql/my-medium.cnf /usr/local/etc...
# chmod 644 /usr/local/etc/my.cnf
以下の起動スクリプトで制御できます。
# /usr/local/etc/rc.d/mysql-server start ←デーモンを起動...
# /usr/local/etc/rc.d/mysql-server restart ←デーモンを再...
# /usr/local/etc/rc.d/mysql-server stop ←デーモンを停止...
起動できたら、rootユーザのパスワードを設定します。初期状...
# mysqladmin -u root -h localhost password 'XXXXXX' ←XXX...
** portinstall lang/php5 [#m0a66a44]
Apacheのモジュールにチェック
/usr/local/etc/apache22/http.conf
********************************************************...
Make sure index.php is part of your DirectoryIndex.
You should add the following to your Apache configuratio...
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
********************************************************...
これしとかないと、index.php へアクセスすると、ダウンロー...
** php5-extensions [#ue2ba600]
** portinstall databases/phpmyadmin [#vf78ced1]
chown -R www:www phpMyAdmin/
+script/create_tables.sql で必要なテーブルを作成します。
k222# cd /usr/local/www/phpMyAdmin/examples
k222# mysql -u root -p < create_tables.sql
Enter password: ← パスワード(mysql管理者)の入力作ったテ...
+設定ファイル (config.inc.php) で高度な機能を有効にします...
**munin on FreeBSD 10 p2 2014/05/03 [#v657a994]
munin を、pkg install してみる。
一応、念のため、phpの extension.iniを待避しておくよ。
/usr/local/etc/php # cp extensions.ini extensions.ini_20...
pkg install sysutils/munin-node
pkg install sysutils/munin-master
/usr/local/www/muninにインストールされるので、Apacheに以...
/usr/local/etc/apache22/Includes/munin.conf
# Alias /webpath /full/filesystem/path
Alias /munin /usr/local/www/munin
314 6:12 apachectl restart
315 6:20 munin-node-configure -suggest
***munin-node-configure --shell [#ie9f962e]
とすると、
root@g7:~ # munin-node-configure --shell
ln -s '/usr/local/share/munin/plugins/cpu' '/usr/local/e...
ln -s '/usr/local/share/munin/plugins/df' '/usr/local/et...
ln -s '/usr/local/share/munin/plugins/df_inode' '/usr/lo...
ln -s '/usr/local/share/munin/plugins/if_' '/usr/local/e...
ln -s '/usr/local/share/munin/plugins/if_' '/usr/local/e...
等と表示されるが、 /usr/local/etc/munin/pluginsには、リン...
表示されたものをコピーしてプロンプトに貼って実行した。
ServerFQDN/munin/ にアクセスすると、ID・PWを訊かれ、...
http://sugutsukaeru.jp/support/3/
どうやら、.htaccess の問題のようなので、/usr/local/www/mu...
マシン名が、10amd64-default-job-02 となっていたので、/us...
# a simple host tree
#[10amd64-default-job-02]
[g7.kuji-clinic.net]
address 127.0.0.1
use_node_name yes
** munin [#lf7d7483]
********************************************************...
Unless this file already existed, a sample configuration...
has been placed in /usr/local/etc/munin/munin.conf.
Please edit it according to your needs.
The Munin server will be run from cron under the user 'm...
********************************************************...
***設定 [#d2ec4536]
/usr/local/etc/munin/munin.conf
# htmldir /usr/local/www/munin
htmldir /usr/local/www/apache22/data/munin ←コレを追加
# mkdir /usr/local/www/apache22/data/munin
# chown -R munin:munin /usr/local/www/apache22/data/munin
# cd /usr/local/www
# cp cgi-bin/munin-cgi-graph apache22/cgi-bin
# cp -rp munin apache22/data
# echo munin_node_enable="YES" >> /etc/rc.conf
***使えるプラグインを確認 [#t34f7bf5]
http://techno-st.net/2009/12/10/munin-munin-node-configur...
# munin-node-configure -suggest
*** --shell を使ってプラグイン追加 [#k36f21c5]
# munin-node-configure --shell
[[Munin on NEC-Express5800/GT110b FreeBSD 8.1]]
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: