<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>映像とその周辺 &#187; Fedora</title>
	<atom:link href="http://www.kalium.net/image/tag/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kalium.net/image</link>
	<description></description>
	<lastBuildDate>Sun, 13 Nov 2011 03:36:10 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Fedora 9 に cronをインストール</title>
		<link>http://www.kalium.net/image/2009/11/03/fedora-9-%e3%81%ab-cron%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://www.kalium.net/image/2009/11/03/fedora-9-%e3%81%ab-cron%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 06:07:28 +0000</pubDate>
		<dc:creator>araken</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[玄箱]]></category>

		<guid isPermaLink="false">http://www.kalium.net/image/?p=943</guid>
		<description><![CDATA[おかしいことに玄箱に入れたFedora9にcronが入っていなかったので、インストール。 # yum install vixie-cron # /sbin/chkconfig crond on # /etc/rc.d/i [...]]]></description>
			<content:encoded><![CDATA[<p>おかしいことに玄箱に入れたFedora9にcronが入っていなかったので、インストール。</p>
<p><code>
<pre># yum install vixie-cron
# /sbin/chkconfig crond on
# /etc/rc.d/init.d/crond start</pre>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kalium.net/image/2009/11/03/fedora-9-%e3%81%ab-cron%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>玄箱/Fedora9へのNagiosのインストール</title>
		<link>http://www.kalium.net/image/2009/10/21/%e7%8e%84%e7%ae%b1fedora9%e3%81%b8%e3%81%aenagios%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://www.kalium.net/image/2009/10/21/%e7%8e%84%e7%ae%b1fedora9%e3%81%b8%e3%81%aenagios%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 02:34:21 +0000</pubDate>
		<dc:creator>araken</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[玄箱]]></category>

		<guid isPermaLink="false">http://www.kalium.net/image/?p=929</guid>
		<description><![CDATA[Fedora9を入れている玄箱へのNagiosのインストール方法 パッケージのインストール # yum -y install nagios nagios-plugins-all Nagiso本体とプラグインのすべてがイン [...]]]></description>
			<content:encoded><![CDATA[<p>Fedora9を入れている玄箱への<a href="http://www.nagios.org/">Nagios</a>のインストール方法</p>
<h4>パッケージのインストール</h4>
<p><code># yum -y install nagios nagios-plugins-all</code><br />
Nagiso本体とプラグインのすべてがインストールされる。Nagiosは、このプラグインが無いと各サービスへの監視はできない。</p>
<p>次のパッケージがインストールされる<br />
<code>nagios-plugins-1.4.13-9.fc9.ppc<br />
nagios-plugins-mysql-1.4.13-9.fc9.ppc<br />
nagios-plugins-snmp-1.4.13-9.fc9.ppc<br />
nagios-plugins-procs-1.4.13-9.fc9.ppc<br />
nagios-plugins-cluster-1.4.13-9.fc9.ppc<br />
nagios-plugins-by_ssh-1.4.13-9.fc9.ppc<br />
nagios-plugins-ping-1.4.13-9.fc9.ppc<br />
nagios-plugins-swap-1.4.13-9.fc9.ppc<br />
nagios-plugins-mrtg-1.4.13-9.fc9.ppc<br />
nagios-plugins-load-1.4.13-9.fc9.ppc<br />
nagios-plugins-ldap-1.4.13-9.fc9.ppc<br />
nagios-plugins-tcp-1.4.13-9.fc9.ppc<br />
nagios-plugins-real-1.4.13-9.fc9.ppc<br />
nagios-plugins-nagios-1.4.13-9.fc9.ppc<br />
nagios-plugins-ups-1.4.13-9.fc9.ppc<br />
nagios-plugins-overcr-1.4.13-9.fc9.ppc<br />
nagios-plugins-dig-1.4.13-9.fc9.ppc<br />
nagios-plugins-fping-1.4.13-9.fc9.ppc<br />
nagios-plugins-game-1.4.13-9.fc9.ppc<br />
nagios-plugins-perl-1.4.13-9.fc9.ppc<br />
nagios-plugins-wave-1.4.13-9.fc9.ppc<br />
nagios-plugins-ircd-1.4.13-9.fc9.ppc<br />
nagios-plugins-breeze-1.4.13-9.fc9.ppc<br />
nagios-plugins-log-1.4.13-9.fc9.ppc<br />
nagios-2.11-3.fc9.ppc<br />
nagios-plugins-all-1.4.13-9.fc9.ppc<br />
nagios-plugins-pgsql-1.4.13-9.fc9.ppc<br />
nagios-plugins-nt-1.4.13-9.fc9.ppc<br />
nagios-plugins-disk-1.4.13-9.fc9.ppc<br />
nagios-plugins-ssh-1.4.13-9.fc9.ppc<br />
nagios-plugins-hpjd-1.4.13-9.fc9.ppc<br />
nagios-plugins-dhcp-1.4.13-9.fc9.ppc<br />
nagios-plugins-http-1.4.13-9.fc9.ppc<br />
nagios-plugins-ntp-1.4.13-9.fc9.ppc<br />
nagios-plugins-mrtgtraf-1.4.13-9.fc9.ppc<br />
nagios-plugins-ide_smart-1.4.13-9.fc9.ppc<br />
nagios-plugins-icmp-1.4.13-9.fc9.ppc<br />
nagios-plugins-nwstat-1.4.13-9.fc9.ppc<br />
nagios-plugins-time-1.4.13-9.fc9.ppc<br />
nagios-plugins-dummy-1.4.13-9.fc9.ppc<br />
nagios-plugins-users-1.4.13-9.fc9.ppc<br />
nagios-plugins-smtp-1.4.13-9.fc9.ppc<br />
nagios-plugins-dns-1.4.13-9.fc9.ppc<br />
nagios-plugins-flexlm-1.4.13-9.fc9.ppc<br />
nagios-plugins-file_age-1.4.13-9.fc9.ppc<br />
nagios-plugins-mailq-1.4.13-9.fc9.ppc<br />
nagios-plugins-udp-1.4.13-9.fc9.ppc<br />
nagios-plugins-oracle-1.4.13-9.fc9.ppc<br />
nagios-plugins-rpc-1.4.13-9.fc9.ppc<br />
nagios-plugins-disk_smb-1.4.13-9.fc9.ppc</code><br />
Nagios自体は、nagios-2.11-3.fc9.ppcとなる。3.xがリリースされているが、2.xでも事足りそうなので、このまま使うことに。</p>
<h4>Nagiosの設定ファイルの編集</h4>
<p><code># vi /etc/nagios/nagios.cfg</code><br />
以下の項目の数値を変更<br />
<code>check_external_commands=1 // Nagiosのコマンド実行のためのコマンドファイル確認を行う<br />
date_format=iso8601 // 日付・時刻の表示フォーマットを変更</code><br />
date_formatは、お好みで</p>
<h4>NagiosのWEBインタフェース設定ファイルの編集</h4>
<p><code># vi /etc/nagios/cgi.cfg</code><br />
以下の項目をhtpasswdで設定したユーザ名に変更<br />
<code>authorized_for_system_information=nagios<br />
authorized_for_configuration_information=nagios<br />
authorized_for_system_commands=nagios<br />
authorized_for_all_services=nagios<br />
authorized_for_all_hosts=nagios<br />
authorized_for_all_service_commands=nagios<br />
authorized_for_all_host_commands=nagios</code></p>
<h4>Nagiosの監視設定のメイン的なファイルを編集する</h4>
<p><code># vi /etc/nagios/localhost.cfg</code></p>
<p>通知先アドレスの設定<br />
エラーが等があった際の通知を送るメールアドレスを設定する<br />
define_contactの項のemailを変更<br />
<code> email                           admin@foo.com</code></p>
<h4>Apacheの設定</h4>
<p>Nagiosは、WEBインタフェースを利用する。その画面の認証を設定する。<br />
<code>htpasswd -c /etc/nagios/passwd nagios</code><br />
ユーザ名は、設定ファイルで変更できるので、任意で付けても構わない。</p>
<p>/etc/httpd/conf.d/nagios.conf を編集<br />
<code>ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi-bin/<br />
<Directory /usr/lib/nagios/cgi-bin/><br />
   Options ExecCGI<br />
   order deny,allow<br />
   #deny from all<br />
   #allow from 127.0.0.1<br />
   AuthType Basic<br />
   AuthUserFile /etc/nagios/passwd<br />
   AuthName "nagios"<br />
   require valid-user<br />
</Directory></p>
<p>Alias /nagios/ /usr/share/nagios/html/<br />
<Directory /usr/share/nagios/html/><br />
   Options None<br />
   order deny,allow<br />
   #deny from all<br />
   #allow from 127.0.0.1<br />
   AuthType Basic<br />
   AuthUserFile /etc/nagios/passwd<br />
   AuthName "nagios"<br />
   require valid-user<br />
</Directory></code></p>
<p>ローカルホスト以外からもWEB閲覧が出来る様に、deny, allowの行をコメントアウト</p>
<h4>自動起動設定</h4>
<p><code># /sbin/chkconfig --add nagios<br />
# /sbin/chkconfig nagios on</code></p>
<h4>Nagiosを起動</h4>
<p><code># /etc/rc.d/init.d/nagios start</code></p>
<p>この設定で、localhostの監視がデフォルト設定で始まる。監視画面は、http://localhost/nagios/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kalium.net/image/2009/10/21/%e7%8e%84%e7%ae%b1fedora9%e3%81%b8%e3%81%aenagios%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ディストリビューション名を調べる方法</title>
		<link>http://www.kalium.net/image/2009/10/21/%e3%83%87%e3%82%a3%e3%82%b9%e3%83%88%e3%83%aa%e3%83%93%e3%83%a5%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e5%90%8d%e3%82%92%e8%aa%bf%e3%81%b9%e3%82%8b%e6%96%b9%e6%b3%95/</link>
		<comments>http://www.kalium.net/image/2009/10/21/%e3%83%87%e3%82%a3%e3%82%b9%e3%83%88%e3%83%aa%e3%83%93%e3%83%a5%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e5%90%8d%e3%82%92%e8%aa%bf%e3%81%b9%e3%82%8b%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 02:07:59 +0000</pubDate>
		<dc:creator>araken</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[RedHat]]></category>

		<guid isPermaLink="false">http://www.kalium.net/image/?p=923</guid>
		<description><![CDATA[RedHat/CentOS系だったら $ cat /etc/redhat-release Fedora系だったら $ cat /etc/fedora-release]]></description>
			<content:encoded><![CDATA[<p>RedHat/CentOS系だったら<br />
<code>$ cat /etc/redhat-release</code></p>
<p>Fedora系だったら<br />
<code>$ cat /etc/fedora-release</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kalium.net/image/2009/10/21/%e3%83%87%e3%82%a3%e3%82%b9%e3%83%88%e3%83%aa%e3%83%93%e3%83%a5%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e5%90%8d%e3%82%92%e8%aa%bf%e3%81%b9%e3%82%8b%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

