5 03 2014
Free Download Latest 2014 Pass4sure&Lead2pass Red Hat RHCE EX300 Exam Questions (6-10)
mavis | Redhat Dumps, RHCE EX300 Dumps
Question 6
Arrange a web service address is: http://serverX.example.com, X is the number of your exam machine. Deploy it in accordance with the following requirements:
— Download ftp://instructor.example.com/pub/rhce/server.html
— Can not do any modification to file documwent server.html
— Rename file document server.html as index.html
— Copy the file document server.html to DocumentRoot
Answer:
[root@server1 common]# cd /var/www/html/
[root@server1 html]# lftp instructor.example.com
lftp instructor.example.com:~> cd pub/rhce
cd ok, cwd=/pub/rhce
lftp instructor.example.com:/pub/rhce> get server.html
20 bytes transferred
[root@server1 html]# mv server.html index.html
[root@server1 html]# restorecon -Rv /var/www/html/
[root@server1 html]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@server1 html]# chkconfig httpd on
Question 7
Expand your web service including a virtual hosting, address is:http://wwwX.example.com, X is the number of your exam machine. However, requiring you do as the following:
— Set up the DocumentRoot of this virtual hosting as /var/http/virtual
— Download ftp://instructor.example.com/pub/rhce/www.html
— Rename www.html file document as index.html
— Move this file document to this virtual hosting’s DocumentRoot
— Don’t do any changes to this document
— Making sure that harry users are able to creat project in /var/http/virtual
Attention: Original web address is http://serverX.example.com must also can be browsed.
The DNS of the Server instructor.example.com has already been analyzed as the domain wwwX.example.com.
Answer:
[root@server1 html]# mkdir -p /var/http/virtual
[root@server1 html]# cd /var/http/virtual/
[root@server1 virtual]# lftp instructor.example.com
lftp instructor.example.com:~> cd pub/rhce
lftp instructor.example.com:/pub/rhce> get www.html
17 bytes transferred
lftp instructor.example.com:/pub/rhce> quit
[root@server1 virtual]# mv www.html index.html
[root@server1 virtual]# useradd harry
[root@server1 virtual]# chgrp harry .
[root@server1 virtual]# chmod 775.
Edit /etc/httpd/conf/httpd.conf, add the follow content:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /var/http/virtual
ServerName www1.example.com
<Directory /var/http/virtual/limited>
Options Indexes MultiViews FollowSymlinks
order deny,allow
deny from all
allow from 192.168.0.
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /var/www/html/
ServerName server1.example.com
Notice: The priority level of order deny,allow is deployed: The back is higher than in front of the priority. It means allow -> deny
Question 8
Creating a directory /var/http/virtual/limited, Just limiting the local user to enter and browse the shared web page in this directory and users can’t access this webpage if they are not the local user.
Answer:
The deploy of <Directory> in the seventh question has been done.
Question 9
Deploy your SMTP mail service and complete it by the following requirements:
— Your mail service must can receive the local and remote mails
— harry must can receive the remote mail
— The mail which is delivered to mary should be put into the mail /var/spool/mail/mary
Answer:
Modify /etc/postfix/main.cf, open the following parameters:
inet_interfaces = all
[root@server1 virtual]# /etc/init.d/postfix restart
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
[root@server1 virtual]# chkconfig postfix on
Question 10
Configure a mail alias to your MTA, for example, send emails to harry but mary actually is receiving emails.
Answer:
Modify /etc/aliases,add:
harry: mary harry
After completing modification:
[root@server1 virtual]# newaliases
Notice:
This problem is a trap.The ninth questions require harry must be able to receive remote emails but the tenth problems requires mary to receive harry’s emails. So harry msut be added when you are deploying aliaes.
If you want to pass the Red Hat RHCE EX300 exam sucessfully, recommend to read latest Red Hat RHCE EX300 Dumps full version.
EX300 Download, EX300 Dumps, EX300 Exam Questions, EX300 PDF, EX300 Practice Exams, EX300 Practice Tests, EX300 VCE, Free EX300, Pass4sure EX300, Red Hat RHCE EX300