$
学ぶ Linux ハンドブック
ja
XP:0
クエスト 97Editor Virtuoso
+475 XP

Boss Challenge 11: Corrupted Server Configuration

このクエストの対話型ターミナルを起動する→インストール不要 • ブラウザ上で完全動作

概念と概要

CONFIGURATION CORRUPTION: A late-night config commit broke /home/learner/server.conf. The file contains invalid directives: host=0.0.0.0.0 (malformed IP) and port=99999 (outside the 1-65535 port range).

Open /home/learner/server.conf with your text editor (nano, vim, or shell tools) and correct the file so that host=127.0.0.1, port=80, and max_connections=500 are set.

Edit /home/learner/server.conf using either nano (nano server.conf) or vim (vim server.conf) to set host=127.0.0.1, port=80, and max_connections=500, removing the broken parameters.

コマンド構文リファレンス

Command / SyntaxDescription
nano server.confOpen file in GNU nano text editor
vim server.confOpen file in Vim modal text editor
cat server.confVerify modified configuration

検証目標

  • ○
    Fix /home/learner/server.conf with host=127.0.0.1, port=80, and max_connections=500

クエスト完了への準備はできましたか? 97?