RedHat EX200 Exam - Topic 7 Question 97 Discussion
Configure a HTTP server, which can be accessed through http://station.domain40.example.com.Please download the released page from http://ip/dir/example.html.
A) 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>
Craig
7 months agoPok
8 months agoJacqueline
8 months agoThea
8 months agoSvetlana
8 months agoLaquanda
9 months agoAnnelle
9 months agoPaulina
9 months agoMattie
9 months agoAlayna
9 months agoClorinda
9 months agoTracie
9 months agoJaime
9 months agoNilsa
9 months agoIzetta
9 months agoLayla
1 year agoWillard
1 year agoWillard
1 year agoNancey
1 year agoHobert
1 year agoLarue
1 year agoNancey
1 year ago