Free Braindump2go Latest Microsoft Exam Dumps

Collection of Braindump2go LatestMicrosoft Exam Questions and Dumps for free Download

Free Download Latest 2014 Pass4sure&Lead2pass Red Hat RHCE EX300 Exam Questions (6-10)

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:
[[email protected] common]# cd /var/www/html/
[[email protected] 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
[[email protected] html]# mv server.html index.html
[[email protected] html]# restorecon -Rv /var/www/html/
[[email protected] html]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[[email protected] 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:
[[email protected] html]# mkdir -p /var/http/virtual
[[email protected] html]# cd /var/http/virtual/
[[email protected] 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
[[email protected] virtual]# mv www.html index.html
[[email protected] virtual]# useradd harry
[[email protected] virtual]# chgrp harry .
[[email protected] 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
[[email protected] virtual]# /etc/init.d/postfix restart
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
[[email protected] 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:
[[email protected] 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.

, , , , , , , , ,

Comments are currently closed.