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 (21-25)

Question 21
Download file from http://ip/dir/restircted.html, and the local user harry can access it by http://station.domain30.example.com/restircted.html, and cannot be accessed by t3gg.com.

Answer: 
  # cd /var/www/html
  # wget http://ip/dir/restircted.htm
  # iptables -A INPUT -s 172.25.0.0/16 -p tcp -dport 80 -j REJECT
  # service iptables save

OR

  # yum install httpd
  # service httpd restart
  # chkconfig httpd on
  # cd /var/www/html
  # wget http://ip/dir/restricted.html
  # iptables -A INPUT 172.25.0.0/16 -p tcp –dport 80 -j REJECT
  # service iptables save
  # service iptables restart
  # elinks http://station.domain30.example.com/restricted.html

Question 22
Configure the nfs server, share the /common directory to domain30.example.com, and allow client to have the root user right when access as root user

Answer:
   # yum install -y nfs
   # chkconfig nfs on
   # chkconfig rpcbind on
   # vim /etc/exports
       /common 172.24.30.0/255.255.255.0(rw,no_root_squash)

   # showmount -e 172.16.30.5
   # mount -t nfs 172.16.30.5:/common /mnt  (Test)

Question 23
Configure the samba server, share /common, which can be browsed. The user harry can only read it. If it is needed, the password for harry is harryuser.

Answer:
# yum install -y samba samba-common samba-client
    # chkconfig smb on
# chkconfig nmb on      (nmb is a dependency of smb to resolve netbios)
    # service smb start
# service nmb start

    # useradd harry
    # smbpasswd -a harry
    # mkdir /common
# vim /etc/samba/smb.conf
         [common]
            comment = common
            path = /common
            browseable = yes
              valid user = harry
            read only = yes

  testparm
    # getsebool -a |grep samba_share_nfs
    # setsebool -P samba_share_nfs=1
# chcon -R –reference=/var/spool/samba/ /common/ 
    # services smb restart
    # mount -t cifs //172.16.30.5/common /mnt -o
username=harry,password=harryuser
# smbclient  //172.24.50.5/common  -U  harry

Question 24
Configure an email server domian30.example.com, and it requests to send and receive emails from the local server or the user harry can send or receive emails from network. The email of user harry is  /var/spool/mail/harry. Please note: the DNS server has already been MX record analyzed.

Answer:
    # yum install -y postfix
# service postfix restart
    # chkconfig postfix on
    # vim /etc/postfix/main.cf
        inet_interfaces = all
        mydestination = example.com, domain30.example.com, localhost
        mynetworks = 172.16.30.0/24, 127.0.0.1/8
    # services postfix restart

     Test:

    # netstat -tulnp |grep 25
# hostname
# echo hello |mail -s “test”[email protected]
# cat /var/spool/mai/harry

Question 25
Connect to the email server and send email to admin, and it can be received by harry.

Answer:
# vim /etc/aliases
       admin: harry
    # newaliases

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.