OSSミドルな戯れ
Acknowled gment: Much of the info in the KB article is extracted from the ddclient home page.とあるので、http://sourceforge.net/apps/trac/ddclient を訪れてみると、3.8.0 がリリースされていた。これをダウンロードして、展開すると ddclient-3.8.0/README ファイルがあるので、それを見ればインストールの手順もわかる。そこにあったように、大体次のようなコマンドでインストールができた。
cp ddclient /usr/sbin//etc/ddclient/ddclient.conf の設定は、次のページが参考になった。
mkdir /etc/ddclient
mkdir /var/cache/ddclient
cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
vi /etc/ddclient/ddclient.conf
-- ホスト名、ログイン、パスワードを設定(後述する)
cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
chown root:root /usr/sbin/ddclient ¥
/etc/ddclient/ddclient.conf ¥
/etc/rc.d/init.d/ddclient
chmod go-rwx /etc/ddclient/ddclient.conf
/sbin/chkconfig --add ddclient
/etc/rc.d/init.d/ddclient start
# diff sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
53c53
< #use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP Address
---
> use=web, web=checkip.dyndns.org/, web-skip='IP Address'
64,65c64,65
< #login=your-login # default login
< #password=test # default password
---
> login=xxxxxxxxxx
> password=xxxxxxxxxx
75,77c75,83
< # server=members.dyndns.org, ¥
< # protocol=dyndns2 ¥
< # your-dynamic-host.dyndns.org
---
> server=members.dyndns.org, ¥
> protocol=dyndns2 ¥
> infogres.dyndns.biz
> server=members.dyndns.org, ¥
> protocol=dyndns2 ¥
> infogres.mine.nu
> server=members.dyndns.org, ¥
> protocol=dyndns2 ¥
> aries.dynalias.net
# ddclient -daemon=0 -debug -verbose -noquietトラブルシューティングについても README ファイルに書かれているので、うまくゆかない場合はそちらを参考に。
評価:
arton,宇野 るいも 翔泳社 ¥ 1,974 (2009-01-30) コメント:コンピュータとかプログラムとかよくわからないところからプログラミングを始めたい人に是非おすすめです。 |