RHCE6 Preperation (10) – SMTP,NFS, boot parameter

1, Configure smtp service, reject the mail from remote.test install postfix, installed before. copy from access, cd /etc/postfix/ vim access copy following lines, # /etc/postfix/main.cf: # smtpd_client_restrictions = # check_client_access hash: /etc/postfix/access copy to /etc/postfix/main.cf, and switch on, /etc/postfix/main.cf: smtpd_client_restrictions = check_client_access hash: /etc/postfix/access modify the access document, add one line, 192.168.0.254 REJECT 2, Configure […]

RHCE6 Preperation (8) – http, virtual host, http limited access

1, Implement a web server for the site http://serverX.example.com,then perform the following steps:— Download ftp://instructor.example.com/pub/rhce/server.html— Rename the downloaded file to index.html— Copy this index.html to DocumountRoot of your web server — Do NOT make any modifications to the content of index.html Install the http, yum install http* start the service and make it auto start when […]

RHCE6 Preperation (2) – yum source and auto mount

1, configure the YUM source to the instructor location. in the folder, ‘/etc/yum.repos.d’, create the file, vim serverX.repo the content is as: 【serverX】 name=serverX baseurl= the location of the YUM source in my case the location of YUM source is “= http://instructor.example.com/pub/rhel6/dvd” make sure you have network connection to http://instructor.example.com/pub/rhel6/dvd, this has already been done […]