試験EX200-JPN トピック9 問題19 スレッド
RedHat EX200-JPNのリアル試験問題集
問題 #: 19
トピック #: 9
問題 #: 19
トピック #: 9
構成、設定
HTTPサーバー。http://station.domain40.example.comからアクセスできます。
お願いします
リリースされたページをhttp://ip/dir/example.htmlからダウンロードします。
HTTPサーバー。http://station.domain40.example.comからアクセスできます。
お願いします
リリースされたページをhttp://ip/dir/example.htmlからダウンロードします。
おすすめの解答:
see explanation below.
Explanation
# yum install -y httpd
# chkconfig httpd on
# cd /var/www/html
#
wget http://ip/dir/example.html
# cp example.com index.html
# vim /etc/httpd/conf/httpd.conf
NameVirtualHost 192.168.0.254:80
<VirtualHost 192.168.0.254:80>
DocumentRoot /var/www/html/
ServerName station.domain40.example.com
</VirtualHost>
Explanation
# yum install -y httpd
# chkconfig httpd on
# cd /var/www/html
#
wget http://ip/dir/example.html
# cp example.com index.html
# vim /etc/httpd/conf/httpd.conf
NameVirtualHost 192.168.0.254:80
<VirtualHost 192.168.0.254:80>
DocumentRoot /var/www/html/
ServerName station.domain40.example.com
</VirtualHost>
Ishimoto 2026-05-17 08:08:29
コメント
他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。
コメントを通報する
コメント中
今すぐ 新規登録 / ログイン (無料です)。