<?xml version="1.0" encoding="utf-8"?>

<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:cc="http://web.resource.org/cc/"
xmlns="http://purl.org/rss/1.0/">

<channel rdf:about="http://www.olive-design.com/~cgi/MT/">
<title>Olive-Design CGI PHP Linux Server Memo</title>
<link>http://www.olive-design.com/~cgi/MT/</link>
<description>Server Technical Memo</description>
<dc:language>ja</dc:language>
<dc:creator></dc:creator>
<dc:date>2005-09-10T21:41:35+09:00</dc:date>
<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=3.151-ja" />


<items>
<rdf:Seq><rdf:li rdf:resource="http://www.olive-design.com/~cgi/MT/archives/2005/09/ntp.html" />
<rdf:li rdf:resource="http://www.olive-design.com/~cgi/MT/archives/2005/09/windowsapacheph_2.html" />
<rdf:li rdf:resource="http://www.olive-design.com/~cgi/MT/archives/2005/09/windowsapacheph_1.html" />
<rdf:li rdf:resource="http://www.olive-design.com/~cgi/MT/archives/2005/09/windowsapacheph.html" />
<rdf:li rdf:resource="http://www.olive-design.com/~cgi/MT/archives/2005/07/windowsapacheac_1.html" />
<rdf:li rdf:resource="http://www.olive-design.com/~cgi/MT/archives/2005/06/windowsapacheac.html" />
<rdf:li rdf:resource="http://www.olive-design.com/~cgi/MT/archives/2005/06/windowapacheact.html" />
</rdf:Seq>
</items>

</channel>

<item rdf:about="http://www.olive-design.com/~cgi/MT/archives/2005/09/ntp.html">
<title>ntpサーバーの設定</title>
<link>http://www.olive-design.com/~cgi/MT/archives/2005/09/ntp.html</link>
<description><![CDATA[<p>サーバーの正確な時間をセットする為にNTPクライアントを使ってNTPタイムサーバーに情報を取りに行く様に設定します。</p>

<p>（１）まず最初にntp.confを修正します<br />
<table border=0 width=95%><tr><td><br />
<table bgcolor=black width=100% border=1 cellspacing=0><tr><td><font color=white>#vi /etc/ntp.conf<br />
</font></td></tr></table><br />
</td></tr></table></p>

<p>ファイルを開いたら<br />
<table border=0 width=95%><tr><td><br />
<table bgcolor=black width=100% border=1 cellspacing=0><tr><td><font color=white><br />
#<br />
# Undisciplined Local Clock. This is a fake driver intended for backup<br />
# and when no outside source of synchronized time is available. The<br />
# default stratum is usually 3, but in this case we elect to use stratum<br />
# 0. Since the server line does not have the prefer keyword, this driver<br />
# is never used for synchronization, unless no other other<br />
# synchronization source is available. In case the local host is<br />
# controlled by some external source, such as an external oscillator or<br />
# another protocol, the prefer keyword would cause the local host to<br />
# disregard all other synchronization sources, unless the kernel<br />
# modifications are in use and declare an unsynchronized condition.<br />
#<br />
#server 127.127.1.0     # local clock<br />
fudge   127.127.1.0 stratum 10</p>

<p>#<br />
# Drift file.  Put this in a directory which the daemon can write to.<br />
# No symbolic links allowed, either, since the daemon updates the file<br />
# by creating a temporary in the same directory and then rename()'ing<br />
# it to the file.<br />
#<br />
driftfile /etc/ntp/drift<br />
multicastclient                 # listen on default 224.0.1.1<br />
broadcastdelay  0.008 </p>

<p>#<br />
# Keys file.  If you want to diddle your server at run time, make a<br />
# keys file (mode 600 for sure) and define the key number to be<br />
# used for making requests.<br />
#<br />
# PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote<br />
# systems might be able to reset your clock at will. Note also that<br />
# ntpd is started with a -A flag, disabling authentication, that<br />
# will have to be removed as well.<br />
#<br />
#keys           /etc/ntp/keys<br />
</font></td></tr></table><br />
</td></tr></table></p>

<p>このファイルの最後に各プロバイダでも公開されているntpサーバーまたは、<br />
<a href="http://plamo.minidns.net/ntpsites.shtml">国内公開 ntp サイト一覧</a><br />
などを参考にして</p>

<p>server ***.***.***.*** </p>

<p>の行を追加します。(***はntpサーバーアドレス)</p>

<p><br />
（２）ntp.confを修正して保存したら、ntpサーバーと同期をとるために<br />
ntpdateコマンドで時計を合わせ直します。</p>

<table border=0 width=95%><tr><td>
<table bgcolor=black width=100% border=1 cellspacing=0><tr><td><font color=white>#/etc/rc.d/init.d/ntpd stop<br>
#/usr/sbin/ntpdate 210.173.160.57</font></td></tr></table>
</td></tr></table>

<p>（３）NTPDを起動します。<br />
<table border=0 width=95%><tr><td><br />
<table bgcolor=black width=100% border=1 cellspacing=0><tr><td><font color=white>#/etc/rc.d/init.d/ntpd start</font></td></tr></table><br />
</td></tr></table></p>

<p>（４）動作確認<br />
<table border=0 width=95%><tr><td><br />
<table bgcolor=black width=100% border=1 cellspacing=0><tr><td><font color=white>#/usr/sbin/ntpq -p<br />
　remote　　refid　　　　　　st t when　poll 　reach　delay　offset　 jitter<br />
==============================================================================<br />
*ntp2.jst.mfeed. 210.173.160.86　　2 u 　3　64　1　39.731　21.946　0.002<br />
</font></td></tr></table><br />
</td></tr></table><br />
しばらくして*が表示されたら同期完了です。(ローカルの時計との誤差が+-１分ぐらいでないと同期できません。）</p>

<p>（５）再起動後自動起動するように設定します。<table border=0 width=95%><tr><td><br />
<table bgcolor=black width=100% border=1 cellspacing=0><tr><td><font color=white>#/sbin/chkconfig ntpd on<br />
</font></td></tr></table><br />
</td></tr></table></p>]]></description>
<dc:subject>時間合わせNTPサーバー</dc:subject>
<dc:creator>yuuya</dc:creator>
<dc:date>2005-09-10T21:41:35+09:00</dc:date>
</item>
<item rdf:about="http://www.olive-design.com/~cgi/MT/archives/2005/09/windowsapacheph_2.html">
<title>Windows＋Apache＋PHPインストール（その3）</title>
<link>http://www.olive-design.com/~cgi/MT/archives/2005/09/windowsapacheph_2.html</link>
<description><![CDATA[<p>Apacheを再起動させたら最後にPHPの動作確認をしてみましょう。<br />
エデッタ等でphpinfo.phpというファイル名の以下の内容のファイルを作成します。</p>

<p></p>

<p><br />
</p>]]></description>
<dc:subject>WindowsでPHP</dc:subject>
<dc:creator>yuuya</dc:creator>
<dc:date>2005-09-08T22:34:46+09:00</dc:date>
</item>
<item rdf:about="http://www.olive-design.com/~cgi/MT/archives/2005/09/windowsapacheph_1.html">
<title>Windows＋Apache＋PHPインストール（その2）</title>
<link>http://www.olive-design.com/~cgi/MT/archives/2005/09/windowsapacheph_1.html</link>
<description><![CDATA[<p>PHPのインストールがうまくできたら最後にApacheで.phpファイルが実行できるようにApacheの設定ファイルの編集をおこないます。</p>

<p><br />
</p>]]></description>
<dc:subject>WindowsでPHP</dc:subject>
<dc:creator>yuuya</dc:creator>
<dc:date>2005-09-08T22:17:49+09:00</dc:date>
</item>
<item rdf:about="http://www.olive-design.com/~cgi/MT/archives/2005/09/windowsapacheph.html">
<title>Windows＋Apache＋PHPインストール（その１）</title>
<link>http://www.olive-design.com/~cgi/MT/archives/2005/09/windowsapacheph.html</link>
<description><![CDATA[<p>ここでは、Windows2000をWWWサーバーOSとして、<br />
wwwサーバーには「Apache」を使ってPHP用のローカルのテスト環境作成例を紹介します。</p>

<p><br />
</p>]]></description>
<dc:subject>WindowsでPHP</dc:subject>
<dc:creator>yuuya</dc:creator>
<dc:date>2005-09-06T21:10:26+09:00</dc:date>
</item>
<item rdf:about="http://www.olive-design.com/~cgi/MT/archives/2005/07/windowsapacheac_1.html">
<title>Windows＋Apache＋ActivePerlインストール（その3）</title>
<link>http://www.olive-design.com/~cgi/MT/archives/2005/07/windowsapacheac_1.html</link>
<description><![CDATA[<p>ActivePerlのインストールがうまくできたら最後にApacheで.cgiファイルが実行できるようにApacheの設定ファイルの編集をおこないます。<br />
</p>]]></description>
<dc:subject>WindowsでPerl</dc:subject>
<dc:creator>yuuya</dc:creator>
<dc:date>2005-07-06T21:48:07+09:00</dc:date>
</item>
<item rdf:about="http://www.olive-design.com/~cgi/MT/archives/2005/06/windowsapacheac.html">
<title>Windows＋Apache＋ActivePerlインストール（その２）</title>
<link>http://www.olive-design.com/~cgi/MT/archives/2005/06/windowsapacheac.html</link>
<description><![CDATA[<p>Apacheがうまくインストールできたら、次はActivePerlをインストールします。<br />
以下のURLから最新バージョンをダウンロードしてきます。<br />
<a href="http://www.activestate.com/Products/ActivePerl/">http://www.activestate.com/Products/ActivePerl/</a><br />
最新版のWindows のmsiインストーラパッケージをダウンロードしておきます。<br />
ダウンロードしたファイルをダブルクリックしてセットアップをはじめます。</p>]]></description>
<dc:subject>WindowsでPerl</dc:subject>
<dc:creator>yuuya</dc:creator>
<dc:date>2005-06-28T21:57:37+09:00</dc:date>
</item>
<item rdf:about="http://www.olive-design.com/~cgi/MT/archives/2005/06/windowapacheact.html">
<title>Windows＋Apache＋ActivePerlインストール（その１）</title>
<link>http://www.olive-design.com/~cgi/MT/archives/2005/06/windowapacheact.html</link>
<description><![CDATA[<p>ここでは、Windows2000をWWWサーバーOSとして、wwwサーバーには「Apache」を、Perlエンジンには「ActivePerl」を利用して組み合わせにおける、ローカルのCGIテスト環境作成例を紹介します。</p>]]></description>
<dc:subject>WindowsでPerl</dc:subject>
<dc:creator>yuuya</dc:creator>
<dc:date>2005-06-26T22:39:53+09:00</dc:date>
</item>


</rdf:RDF>