Question 7:
SIMULATION - 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.
Answer correct:
See explanation below.
# 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>