You are administrator of Certpaper network. First time you are going to take the full backup of all user’s home directory. Take the full backup of /home on /tmp/back file.
Answer and Explanation:
1.dump -0u –f /tmp/back /dev/hda4
dump is the standard backup utility. According to the questions, fullback should take. –0 means fullback, -u means update the /etc/dumpdates which maintains the backup record and -f means filename. If you are directly taking backup into other device, you can specify the device name.
i.e dump -0u -f /dev/st0 /dev/hda4. Where hda4 is a separate partition mounted on /home.
Raw (Model) printer named printer1 is installed and shared on 192.168.0.254. You should install the shared printer on your PC to connect shared printer using IPP Protocols.
Answer and Explanation:
IPP( Internet Printing Protocol), allows administrator to manage printer through browser so CUPS is called Internet Printing Protocol based on HTTP. We can Install the printer either through: system-confing-printer tool or through Browser.
1.Open the browser and Type on address: http://localhost:631 CUPS (Common Unix Printing System) used the IPP protocol. CUPS use the 631 port.
2.Click on Manage Printer.
3.Click on Add Printer.
4.Type Printer name, Location, Description.
5.Select Device for bb. (Select IPP).
6.Device URL: ipp://192.168.0.254/ipp/ queue name Same printer name of shared printer.
7.Select Model/Driver RAW printer.
8.service cups restart
There are three Disk Partitions /dev/hda8, /dev/hda9, /dev/hda10 having size 100MB of each partition. Create a Logical Volume named testvolume1 and testvolume2 having a size 250MB. Mount each Logical Volume on lvmtest1, lvmtest2 directory.
Answer and Explanation:
Steps of Creating LVM:
1.pvcreate /dev/hda8 /dev/hda9 /dev/hda10
pvdisplay command is used to display the information of physical volume.
2.vgceate test0 /dev/hda8 /dev/hda9 /dev/hda10
vgdisplay command is used to display the information of Volume Group.
3.lvcreate –L 250M –n testvolume1 test0
lvdisplay command is used to display the information of Logical Volume.
4.lvcreate –L 250M –n testvolume2 test0
5.mkfs –t ext3 /dev/test0/testvolume1
6.mkfs –t ext3 /dev/test0/testvolume2
7.mkdir /lvtest1
8.mkdir /lvtest2
9.mount /dev/test0/testvolume1 /lvtest1
10.mount /dev/test0/testvolume2 /lvtest2
11.vi /etc/fstab
/dev/test0/testvolume2/lvtest2ext3defaults0 0
/dev/test0/testvolume1/lvtest1ext3defaults0 0
To create the LVM( Logical Volume Manager) we required the disks having ‘8e’ Linux LVM type. First we should create the physical Volume, then we can create the Volume group from disks belongs to physical Volume. lvcreate command is used to create the logical volume on volume group. We can specify the size of logical volume with –L option and name with -n option.
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
UESTION NO: 44 CORRECT TEXT
Who ever creates the files/directories on /data group owner should be automatically should be the same group owner of /data.
Answer and Explanation:
1.chmod g+s /data
2.Verify using: ls -ld /data
Permission should be like:
drwxrws--- 2 root sysadmin 4096 Mar 16 18:08 /data
If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory.
To set the SGID bit: chmod g+s directory
To Remove the SGID bit: chmod g-s directory
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.
Add a job on Cron schedule to display Hello World on every two Seconds in terminal 8.
Answer and Explanation:
*/2 * * * * /bin/echo “Hello World” >/dev/tty8
Cron helps to schedule on recurring events. Pattern of Cron is:
MinuteHourDay of MonthMonth Day of WeekCommands
0-590-231-311-120-7 where 0 and 7 means Sunday.
Note * means every. To execute the command on every two minutes */2.
To add the scheduled file on cron job: crontab filename
To List the Cron Shedule: crontab –l
To Edit the Schedule: crontab –e
To Remove the Schedule: crontab –r
Install the Cron Schedule for david user to display “Hello” on daily 5:30.
Answer and Explanation:
30 05 * * * /bin/echo “Hello”
3. crontab –u david schedule.txt
4. service crond restart
The cron system is essentially a smart alarm clock. When the alarm sounds, Linux runs the commands of your choice automatically. You can set the alarm clock to run at all sorts of regular time intervals. Alternatively, the at system allows you to run the command of your choice once, at a specified time in the future.
Red Hat configured the cron daemon, crond. By default, it checks a series of directories for jobs to run, every minute of every hour of every day. The crond checks the /var/spool/cron directory for jobs by user. It also checks for scheduled jobs for the computer under /etc/crontab and in the /etc/cron.d directory.
Here is the format of a line in crontab. Each of these columns is explained in more detail:
#minute, hour, day of month, month, day of week, command
* * * * * command
Entries in a crontab Command Line
Field
Value
Minute
0-59
Hour
Based on a 24-hour clock; for example, 23 = 11 p.m.
Day of month
1-31
Month
1-12, or jan, feb, mar, etc.
Day of week
0-7; where 0 and 7 are both Sunday; or sun, mon, tue, etc.
Command
The command you want to run
Install the Redhat Linux RHEL 5 through NFS. Where your Server is server1.example.com having IP 172.24.254.254 and shared /var/ftp/pub. The size of the partitions are listed below:
/1048
/home1028
/boot 512
/var 1028
/usr2048
Swap->1.5 of RAM Size
/documentconfigure the RAID Level 0 of remaining all free space.
After completing the installation through NFS solve the following questions. There are two networks 172.24.0.0/16 and 172.25.0.0/16. As well as there are two domains example.com on 172.24.0.0/16 network and cracker.org on 172.25.0.0/16 network. Your system is based on example.com domain. SELinux Must be on enforcing mode.
Answer and Explanation:
1. Insert the CD on CD-ROM and start the system.
2. In Boot: Prompt type linux askmethod
3. It will display the language, keyboard selection.
4. It will ask you for the installation method.
5. Select the NFS Image from the list
6. It will ask the IP Address, Net mask, Gateway and Name Server. Select Use
Dynamic IP Configuration: because DHCP Server will be configured in your exam lab.
7. It will ask for the NFS Server Name and Redhat Enterprise Linux Directory.
Specify the NFS Server: 172.24.254.254
Directory: /var/ftp/pub
8. After Connecting to the NFS Server Installation start in GUI. Go up to the partition screen by selecting the different Options.
9. Create the partition According to the Question because Size and what-what partition should you create at installation time is specified in your question
10.Create the two RAID partitions having equal size of remaining all free space.
11.Click on RAID button
12.Type mount point /document
13.Select RAID Level 0
14.Click on ok
15. Then select the MBR Options, time zone and go upto package selections.
It is another Most Important Time of installation. Due to the time limit, you should care about the installation packages. At Exam time you these packages are enough.
X-Window System
GNOME Desktop
(these two packages are generally not required)
Administration Tools.
System Tools
Windows File Server
FTP Servers
Mail Servers
Web Servers
Network Servers
Editors
Text Based Internet
Server Configuration Tools
Printing Supports
When installation will complete, your system will reboot. Jump for another Question.
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
PDF + Testing Engine |
---|
$66 |
Testing Engine |
---|
$50 |
PDF (Q&A) |
---|
$42 |
RedHat Free Exams |
---|
|