SIMULATIONCreate one partitions having size 100MB and mount it on data.
Answer(s): A
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?ORmke2fs -j /dev/hda? To create ext3 filesystem.vi /etc/fstabWrite:/dev/hda? /data ext3 defaults 1 2Verify by mounting on current Sessions also: mount /dev/hda? /data
SIMULATIONYou 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.
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.1. Restart the System.2. You will get the boot loader GRUB screen.3. Press a and type 1 or s for single mode ro root=LABEL=/ rhgb queit s4. System will boot on Single User mode.5. Use passwd command to change.6. Press ctrl+d
SIMULATIONYou are a System administrator. Using Log files very easy to monitor the system. Now there are 50 servers running as Mail, Web, Proxy, DNS services etc. You want to centralize the logs from all servers into on LOG Server. How will you configure the LOG Server to accept logs from remote host?
By default, system accept the logs only generated from local host. To accept the Log from other host configure:vi /etc/sysconfig/syslog SYSLOGD_OPTIONS="-m 0 -r"Where-m 0 disables 'MARK' messages.-r enables logging from remote machines-x disables DNS lookups on messages received with -rservice syslog restart
SIMULATIONYour 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.
nameserver is specified in question,1. Vi /etc/resolv.confnameserver 192.168.0.2542. host server1.example.com
SIMULATIONOne Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your FTP server is 192.168.0.254. Install the package zsh.
rpm -ivh ftp://server1/example.com/pub/updates/zsh-*orLogin to ftp server : ftp ftp://server1.example.com using anonymous user.Change the directory: cd pub and cd updatesDownload the package: mget zsh-*Quit from the ftp prompt : byeInstall the packagerpm -ivh zsh-*Verify either package is installed or not : rpm -q zsh
Post your Comments and Discuss RedHat EX200 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the EX200 content, but please register or login to continue.