私が 1997 年頃に Slackware から Debian にやって来たとき、 悩んだことのひとつが起動スクリプトでした。 Slackware では rc.local というファイルに起動コマンド列を べた書きすればよかったのですが、 Debian では start, stop, restart などの引き数をとって、 ひとつのスクリプトで起動・停止・設定変更などを行います。 このため走っているデーモンプロセスを捕まえるために start-stop-daemon という独自コマンドが多用されることになりますが、 これは使い方に多少のコツがあります。 この文書では、これまでに自前の起動スクリプトを書いた経験から、 そのへんのポイントをいくつか書いておこうと思います。 ただまあ、 シャットダウンに気を使わなくていい いざとなったらスーパーユーザ権限でモゲればいい という場合も結構多いと思う
これって何? † フリー(無料無償)の仮想マシンソフト「VMware Player」上で、 フリー(自由)のLinuxディストリビューション「Debian」をインストールして、 Windows上でLinuxをネイティブな形で利用する組み合わせです。 仮想マシンソフトについては、 ウィキペディアの「仮想機械」 Linuxディストリビューションについては、 ウィキペディアの「Linuxディストリビューション」 をご覧ください。 ↑ このソフトの良い所 † GNU/Linuxを利用するのに、 新しいマシンを組み立てる必要がありません。 ネットワークの設定等も自動で行ってくれるので、 ファイルの共有やインターネット接続の設定に、 手間が掛かりません。 coLinuxの導入に挫折した人(それは私)にお勧めです。 ↑
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く