
 |
「Fedora Core 1で始める自宅サーバーfor Linux」サポート情報
● アフターケア:
本文中に以下の誤植がありましたので、お詫びして訂正致します。
1. 119ページ中央「squid.confの編集例」において
正:編集部分(濃色部分)のすぐ上にある「http_access deny all」を無効にする必要があります。この行を削除するか、先頭に#を挿入してください。
Q. no-ip.comのコンパイルがうまくいかない
no-ip.comのアップデータのバージョンが新しくなっため、インストールできないようなのですが、どうすればいいでしょうか?
A. 次の通り操作してください
- .rootとしてログインする
- .配布ファイルをホームディレクトリ/rootにダウンロードする
- .配布ファイルを解凍する
[root@linux root]# tar zxf noip-duc-linux.tar.gz
- .実行ファイルのあるディレクトリへ移動する
[root@linux root]# cd noip-2.1.1/binaries
- .実行ファイルをコマンド用ディレクトリへ名前を変えてコピーする
[root@linux binaries]# cp noip2-Linux /usr/local/bin/noip2
- .設定ファイルを作る
[root@linux binaries]# noip2 -C -Y
Auto configuration for Linux client of no-ip.com.
Please enter the login/email string for no-ip.com 〈登録メールアドレス〉
Please enter the password for user 'xxx@xxx.xxx' 〈登録パスワード〉
1 hosts are registered to this account.
Please enter an update interval:[30] 〈Enter〉
Do you wish to run something at successful update?[N] (y/N) 〈N〉
New configuration file '/usr/local/etc/no-ip2.conf' created.
- .起動スクリプトのあるディレクトリへ移動する
[root@linux binaries]# cd ..(注-移動先はピリオド2つです)
- .起動スクリプトを起動用ディレクトリへ名前を変えてコピーする
[root@linux noip-2.1.1]# cp redhat.noip.sh /etc/rc.d/init.d/noip2
- .起動スクリプトを実行可に設定する
[root@linux noip-2.1.1]# chmod 755 /etc/rc.d/init.d/noip2
- .起動時自動実行に設定する
[root@linux noip-2.1.1]# chkconfig noip2 on
- .アップデータを一時的に起動する
[root@linux noip-2.1.1]# noip2
- .アップデータの動作確認をする
[root@linux noip-2.1.1]# noip2 -S
1 noip2 process active.
Process 2689, started as noip2
Using configuration from /usr/local/etc/no-ip2.conf
Last IP Address set xxx.xxx.xxx.xxx
Account xxx@xxx.xxx
configured for:
host suzuki.sytes.net
Updating every 30 minutes via /dev/eth0 with NAT enabled.
- .ディレクトリなどを削除する
[root@linux noip-2.1.1]# cd
[root@linux root]# rm -rf noip-*
|
|
|
 |