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.
See explanation below.
Correct answer: 1
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>
# 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>
Question 2
Configure the verification mode of your host account and the password as LDAP. And it can login successfully through ldapuser40. The password is set as "password". And the certificate can be downloaded from http://ip/dir/ldap.crt. After the user logs on the user has no host directory unless you configure the autofs in the following questions.
See explanation below.
Correct answer: 1
Explanation:
system-config-authentication LDAP Server: ldap//instructor.example.com (In domain form, not write IP)OR # yum groupinstall directory-client (1.krb5-workstation 2.pam-krb5 3.sssd) # system-config-authentication User Account Database: LDAPLDAP Search Base DN: dc=example,dc=comLDAP Server: ldap://instructor.example.com (In domain form, not write IP) 4.Download CA CertificateAuthentication Method: LDAP passwordApply getent passwd ldapuser40
system-config-authentication
LDAP Server: ldap//instructor.example.com (In domain form, not write IP)