Saturday, December 25, 2010

Getting Started

QUESTION 1

Change the root Password to redtophat

Answer and

Explanation:

1. Boot the system in Single user mode

2. Use the passwd command

QUESTION 2

Dig Server1.example.com, Resolve to successfully through DNS Where DNS server is 192.168.254.254

Answer and

Explanation:

#vi /etc/resolv.conf

nameserver 192.168.254.254
# dig server1.example.com
#host server1.example.com

DNS is the Domain Name System, which maintains a database that can help your

computer translate domain names such as www.redhat.com to IP addresses such as

192.162.1.197. As no individual DNS server is large enough to keep a database for the entire Internet, they can refer requests to other DNS servers.

DNS is based on the named daemon, which is built on the BIND (Berkeley Internet

Name Domain) package developed through the Internet Software Consortium

Users wants to access by name so DNS will interpret the name into ip address. You need
to specify the Address if DNS server in each and every client machine. In Redhat
Enterprise Linux, you need to specify the DNS server into /etc/resolv.conf file.
After Specifying the DNS server address, you can verify using host, dig and nslookup
commands.

QUESTION 3

Create the partition having 100MB size and mount it on /mnt/neo

Answer and

Explanation:

1. Use fdisk /dev/hda To create new partition.

2. Type n For New partitions

3. It will ask for Logical or Primary Partitions. Press l for logical.

4. It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.

5. Type the Size: +100M You can Specify either Last cylinder of Size here.

6. Press P to verify the partitions lists and remember the partitions name.

7. Press w to write on partitions table.

8. Either Reboot or use partprobe command.

9. Use mkfs -t ext3 /dev/hda? ->Where ? is your partition number

10. Or