You are new System Administrator and from now you are going to handle the system and your main task is Network monitoring, Backup and Restore. But you don’t know the root password. Change the root password to redhat and login in default Runlevel.
Answer and Explanation:
When you Boot the System, it starts on default Runlevel specified in /etc/inittab:
Id:?:initdefault:
When System Successfully boot, it will ask for username and password. But you don’t know the root’s password. To change the root password you need to boot the system into single user mode. You can pass the kernel arguments from the boot loader.
ro root=LABEL=/ rhgb queit s
Make Successfully Resolve to server1.example.com where DNS Server is 192.168.0.254.
Answer and Explanation: 1. vi /etc/resolv.conf
Write : nameserver 192.168.0.254
Your System is configured in 192.168.0.0/24 Network and your nameserver is 192.168.0.254. Make successfully resolve to server1.example.com.
Answer and Explanation:
Very Easy question, nameserver is specified in question,
1.vi /etc/resolv.conf
nameserver 192.168.0.254
2.host server1.example.com
Successfully resolv to server1.example.com where your DNS server is 172.24.254.254
Answer and Explanation:
nameserver 172.24.254.254
On every clients, DNS server is specified in /etc/resolv.conf. When you request by name it tries to resolv from DNS server .
Create one partitions having size 100MB and mount it on /data.
Answer and Explanation:
Or
mke2fs –j /dev/hda? ïƒ To create ext3 filesystem.
Write:
/dev/hda?/dataext3defaults1 2
11. Verify by mounting on current Sessions also:
mount /dev/hda? /data
One Logical Volume named lv1 is created under vg0. The Initial Size of that Logical Volume is 100MB. Now you required the size 500MB. Make successfully the size of that Logical Volume 500M without losing any data. As well as size should be increased online.
Answer and Explanation:
The LVM system organizes hard disks into Logical Volume (LV) groups. Essentially, physical hard disk partitions (or possibly RAID arrays) are set up in a bunch of equal-sized chunks known as Physical Extents (PE). As there are several other concepts associated with the LVM system, let's start with some basic definitions:
1. Verify the size of Logical Volume: lvdisplay /dev/vg0/lv1
2. Verify the Size on mounted directory: df –h or df –h mounted directory name
3. Use : lvextend –L+400M /dev/vg0/lv1
4. ext2online –d /dev/vg0/lv1 ïƒ to bring extended size online.
5. Again Verify using lvdisplay and df –h command.
Create the user named jackie, curtin, david
Answer and Explanation:
1.useradd jackie
2.useradd curtin
3. useradd david
useradd command is used to create the user. All user’s information stores in /etc/passwd and user;s shadow password stores in /etc/shadow.
Create a RAID Device /dev/md0 by creating equal two disks from available free space on your harddisk and mount it on /data.
Answer and Explanation:
Redhat Enterprise Linux 5 Supports the RAID LEVEL 0, RAID LEVEL 1, RAID LEVEL 5 and RAID LEVEL 6 at installation time. You can create it at installation time later no need to type lots of commands for RAID.
At Installation Time:
After Installation: We can create the RAID Device after Installation on command-line.
/dev/md0/dataext3defaults0 0