New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Passed Exam Today RH202

Page: 2 / 5
Total 140 questions

RHCT (Redhat Certified Technician) RH202 Questions and Answers

Question 5

Install the dialog-*

Answer and Explanation:

Questions asking you to install the dialog package from the server. In your Lab FTP server as well as NFS server are configured. You can install either through FTP or NFS.

1.Just Login to server1.example.com through FTP: ftp server1.example.com

2.Enter to pub directory: cd pub

3.Enter to RedHat/RPMS: cd RedHat/RPMS

4.Download the Package: mget dialog-*

5.Logout from the FTP server: bye

6.Install the package: rpm -ivh dialog-*

7.Verify the package either installed or not: rpm -q dialog

Options:

Question 6

Create the directory /storage and group owner should be the sysusers group.

Answer and Explanation:

1.chgrp sysusers /storage

2.Verify using ls -ld /storage command. You should get like

drwxr-x--- 2 root sysusers 4096 Mar 16 17:59 /storage

chgrp command is used to change the group ownership of particular files or directory.

Another way you can use the chown command.

chown root:sysusers /storage

Options:

Question 7

There are Mail servers, Web Servers, DNS Servers and Log Server. Log Server is already configured. You should configure the mail server, web server and dns server to send the logs to log server.

Answer and Explanation:

According to question, log server is already configured. We have to configure the mail, web and dns server for log redirection.

In mail, web and dns server:

1.vi /etc/syslog.conf

mail.*@logserveraddress

2.service syslog restart

mail is the facility and * means the priority. It sends logs of mail services into log server.

Options:

Question 8

Create the group named sysadmin.

Answer and Explanation:

1.groupadd sysadmin

groupadd command is used to create the group and all group information is stored in /etc/group file.

Options:

Page: 2 / 5
Total 140 questions