EX200 Exam - EX200 Red Hat Certified System Administrator (RHCSA) Exam

certleader.com

Q1. CORRECT TEXT 

Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server. ) 

Answer: # cd /etc/yum.repos.d 

# vim local.repo 

[local] 

name=local.repo 

baseurl=file:///mnt 

enabled=1 

gpgcheck=0 

# yum makecache 

# yum install -y vsftpd 

# service vsftpd restart 

# chkconfig vsftpd on 

# chkconfig --list vsftpd 

# vim /etc/vsftpd/vsftpd.conf 

anonymous_enable=YES 

Q2. CORRECT TEXT 

Configure a task: plan to run echo hello command at 14:23 every day. 

Answer: # which echo 

# crontab -e 

23 14 * * * /bin/echo hello 

# crontab -l (Verify) 

Q3. CORRECT TEXT 

Find the files owned by harry, and copy it to catalog: /opt/dir 

Answer: # cd /opt/ 

# mkdir dir 

# find / -user harry -exec cp -rfp {} /opt/dir/ \; 

Q4. CORRECT TEXT 

Configure the verification mode of your host account and the password as LDAP. And it can ldapuser40. The password is set as "password". And the certificate login successfully through 

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. 

Answer: 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 

:1.User Account Database: LDAP 

:2.LDAP Search Base DN: dc=example,dc=com 

:3.LDAP Server: ldap://instructor.example.com (In domain form, not write IP) 

:4.Download CA Certificate 

:5.Authentication Method: LDAP password 

:6.Apply 

getent passwd ldapuser40 

Q5. CORRECT TEXT 

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: # 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> 

Q6. CORRECT TEXT 

Configure autofs to make sure after login successfully, it has the home directory autofs, which is shared as /rhome/ldapuser40 at the ip: 172.24.40.10. and it also requires that, other ldap users can use the home directory normally. 

Answer: # chkconfig autofs on 

# cd /etc/ 

# vim /etc/auto.master 

/rhome /etc/auto.ldap 

# cp auto.misc auto.ldap 

# vim auto.ladp 

ldapuser40 -rw,soft,intr 172.24.40.10:/rhome/ldapuser40 

* -rw,soft,intr 172.16.40.10:/rhome/& 

# service autofs stop 

# server autofs start 

# showmount -e 172.24.40.10 

# su - ladpuser40 

Q7. CORRECT TEXT 

Configure the verification mode of your host account and the password as LDAP. And it can ldapuser40. The password is set as "password". And the certificate login successfully through 

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. 

Answer: 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 

:1.User Account Database: LDAP 

:2.LDAP Search Base DN: dc=example,dc=com 

:3.LDAP Server: ldap://instructor.example.com (In domain form, not write IP) 

:4.Download CA Certificate 

:5.Authentication Method: LDAP password 

:6.Apply 

getent passwd ldapuser40