2017-01-25

DiCE4

前回、設定した「DiCE」がサーバー再起動時に、自動起動するようにします。

1.インストール
2.設定
3.MyDNS設定
4.自動起動設定 ←今回



4.自動起動設定

①ディレクトリ移動
$ cd /etc

②「rc.local」を編集
$ sudo vi rc.local


↓↓↓↓編集内容↓↓↓↓

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

/usr/local/bin/DiCE/diced -d -l ←追加

exit 0

↑↑↑↑編集内容↑↑↑↑

以上でサーバー機を再起動したときに、「DiCE」も起動できるようになりました。

次回はルーターの設定について書いていきます。

0 件のコメント:

コメントを投稿