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.
Create a RAID Device /dev/md0 by creating equal two disks from available free space on your harddisk and mount it on /data.
One Package named zsh is dump on ftp://server1.example.com under pub directory. Install the package from ftp server.
You have a dedicated internet line in your LAN and IP from your ISP is 202.2.2.2. Your LAN is in 192.168.0.0/24. Configure the SNAT that allows all system in your LAN can access the Internet.
Add a user named user4 and make primarily belongs to training group. As well account should expire on 30 days from today.
One Domain RHCE is configured in your lab, your domain server is
server1.example.com. nisuser2001, nisuser2002, nisuser2003 user are created on your server 192.168.0.254:/rhome/stationx/nisuser2001. Make sure that when NIS user login in your system automatically mount the home directory. Home directory is separately shared on server /rhome/stationx/ where x is your Station number.
Now a days you are observing that your system being very slow. You observe the processes that one user named user1 running more than 50 processes. Configure to limit the number of processes that user1 couldn’t run more than 7 process.
Configure the Slave DNS for example.com domain where master DNS is 192.100.0.254.
Configure the webserver for your local domain. Download a www.html file from ftp.server1.example.com/pub/rhce and rename it as index.html.
Your Local Domain is example.com. Configure the send mail server for you local LAN. As well as enable the pop and pop secured protocol.
Configure the telnet connection only from your local LAN (192.168.0.0/24) between 9-17pm.
You have ftp site named ftp.example.com. You want to deny login as an anonymous on your ftp site. Configure to deny the anonymous.
Raw printer named printerx where x is your station number is installed and shared on server1.example.com. Install the shared printer on your PC to connect shared printer using IPP Protocols. Your server is 192.168.0.254.
You have a domain in your LAN named example.com. Allow the FTP connection only from local domain.
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.
Install the Redhat Linux RHEL 4 through NFS. Where your Server is server1.example.com having IP 192.168.0.254 and shared /var/ftp/pub. The size of the partitions are listed below:
/ 1048
/home 1028
/boot 512
/var 1028
/usr 2048
Swap - > 1.5 of RAM Size
/data configure the RAID Level 0 of remaining all free space.
After completing the installation through NFS solve the following questions. There are two networks 192.168.0.0/24 and 192.168.1.0/24. As well as there are two domains example.com on 192.168.0.0/24 network and cracker.org on 192.168.1.0/24 network. Your system is based on example.com domain.
You are administrator of Certkiller 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.
Install the Redhat Linux RHEL 4 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
/home 1028
/boot 512
/var 1028
/usr 2048
Swap - > 1.5 of RAM Size
/data configure 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.
Add a cron schedule to take full backup of /home on every day at 5:30 pm to /dev/st0 device.
Configure the send mail server for your local LAN. As well as the mail of user john should get by the jane user.
Share the /data directory only to example.com members. These hosts should get read and write access on shared directory.
You have ftp site named ftp.example.com . You want to allow anonymous users to upload files on you ftp site. Configure to allow anonymous to upload the files.
There are mixed lots of System running on Linux and Windows OS. Some users are working on Windows Operating System. There is a /data directory on linux server should make available on windows to user1 and user2 users on read and write mode and read only to other samba users.
You are giving the debug RHCT exam. The examiner told you that the password of root is redhat. When you tried to login displays the error message and redisplayed the login screen. You changed the root password, again unable to login as a root. How will you make Successfully Login as a root.
You have a ftp server having IP address 192.168.0.254. Using iptables, allow the ftp connection only from the internal network where internal network is 192.168.0.0/24.
You 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 ?
You are giving the debug RHCT exam. The examiner told you that the password of root is redhat. When you tried to login displays the error message and redisplayed the login screen. You changed the root password, again unable to login as a root. How will you make Successfully Login as a root.
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.
Dig Server1.example.com, Resolve to successfully through DNS Where DNS server is 172.24.254.254
There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on 172.24.0.0/16. Make successfully ping to 172.25.254.254 by Assigning following IP: 172.24.0.x Where x is your station number.
Configure the Apache webserver for station?.example.com (associated IP is your host IP address) by downloading the index.html from ftp://server1.example.com .
neo user tried by:
dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70
files created successfully. Again neo tried to create file having 70K using following command:
dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70
But he is unable to create the file. Make the user can create the file less then 70K.
You are giving the RHCE exam. Now you should boot your System properly. When you started your System, You got one message that.
INIT Entering runlevel 9
INIT: no more processes left in this runlevel
How will you boot your System properly?
There is one partition /dev/hda14 mounted on /data. The owner of /data is root user and root group. And Permission is full to owner user, read and execute to group member and no permission to others. Now you should give the full permission to user user1 without changing pervious permission.
You have DHCP server, which assigns the IP, gateway and DNS server ip to
Clients. There are two DNS servers having MAC address (00:50:FC:98:8D:00, 00:50:FC:98:8C:00), in your LAN, But they always required fixed IP address (192.168.0.254, 192.168.0.253). Configure the DHCP server to assign the fixed IP address to DNS server.
Configure the DNS server by allowing query only from the 192.168.0.0/24 Local Network.
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.
Configure to deny the pop and imap connection from outside local LAN as well as station20.example.com.
Port 8080
Configure the squid server to allow the Local Domain and deny to cracker.org domain.
Your Machine Name is stationx.example.com, (x is your host IP address) which is already resolved. Set the default page for stationx.example.com by downloading www.html file from ftp.server1.example.com.
Run the squid proxy server on port 8080 by allowing internet access to 192.168.0.0/24 and block msn.com site to access.
There are some part-time staff in your office. And you gave the username user9 and user10 to them. Their Office time is 12-2pm on Sunday, Monday and Friday. Configure to login only on their office time.
Make Successfully Resolve to server1.example.com where DNS Server is 192.168.0.254.
You Completely Install the Redhat Enterprise Linux ES 4 on your System. While start the system, it’s giving error to load X window System. How will you fix that problem and make boot successfully run X Window System.
Add a new logical partition having size 100MB and create the /data which will be the mount point for the new partition.
One New Kernel is released named kernel-.2.6.19-11. Kernel is available on ftp://server1.example.com /pub/updates directory for anonymous. Install the Kernel and make the kernel-2.6.18-8 default.
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
/home 1028
/boot 512
/var 1028
/usr 2048
Swap - > 1.5 of RAM Size
/storage configure 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 my133t.org on 172.25.0.0/16 network. Your system is based on example.com domain. SELinux should be in enforce mode.
You are working as a System Administrator at Certkiller. Your Linux Server crashed and you lost every data. But you had taken the full backup of user’s home directory and other System Files on /dev/st0, how will you restore from that device?
One New Kernel is released named kernel-hugemem. Kernel is available on ftp://server1.example.com under pub directory for anonymous. Install the Kernel and make previous new kernel is default to boot System.
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.
Backup of the Redhat Enterprise Linux 5 is on /var/ftp/pub, /var/www/html/pub on server named server1.example.com. You can install all required packages using yum by creating the repository file.
Add a job on Cron schedule to display Hello World on every two Seconds in terminal 8.
/data Directory is shared from the server1.example.com server. Mount the shared directory that:
when user try to access, automatically should mount
when user doesn’t use mounted directory should unmount automatically after 50 seconds.
Shared directory should mount on /mnt/data on your machine.
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
/home 1028
/boot 512
/var 1028
/usr 2048
Swap - > 1.5 of RAM Size
/document configure 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.
Add a user named user4 and make primarily belongs to training group. As well account should expire on 30 days from today.
The System you are using is for NFS (Network File Services). Some important data are shared from your system. Make automatically start the nfs and portmap services at boot time.
You are giving RHCT Exam and in your Exam paper there is a question written, make successfully ping to 192.168.0.254.
You are giving the RHCE exam. Now you should boot your System properly. When you started your System, You got one message that.
INIT Entering runlevel 9
INIT: no more processes left in this runlevel
How will you boot your System properly?
Some users home directory is shared from your system. Using showmount –e localhost command, the shared directory is not shown. Make access the shared users home directory.
You are giving RHCE exam. Examiner gave you the Boot related problem and told to you that make successfully boot the System. When you started the system, System automatically asking the root password for maintenance. How will you fix that problem?
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 124MB. Make successfully that the size of Logical Volume 245MB without losing any data. The size of logical volume 240MB to 255MB will be acceptable.
There are two different networks 192.168.0.0/24 and 192.168.1.0/24 . Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on Server. Verify your network settings by pinging 192.168.1.0/24 Network’s Host.
Your system is giving error to load X window System. Make successfully boot your system in runlevel5.
Your System is configured in 192.168.0.0/24 Network and your Domain nameserver is 192.168.0.254 . Make successfully resolve to server1.example.com.
Your Local Domain is example.com. Configure the send mail server for you local LAN by following these conditions.
i. Relay the mail from 192.168.0.0/24 Network
ii. If any mail coming from cracker.org domain block all mails.
iii. user5’s mail should be get by user2.
You have a directory /local. You want to make available that directory to all the members of example.com and trusted.cracker.org. But directory should available in read and write to all the members of example.com domain and read only to cracker.org domain.
Share /data directory using NFS only to example.com members. These hosts should get read and write access on shared directory.
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 124MB. Make successfully that the size of Logical Volume 245MB without losing any data. The size of logical volume 240MB to 255MB will be acceptable.
You are giving RHCE exam. You should boot the system in Run level 3. When you start the system after while it is going on runlevel 6 : like
INIT: Entering Run level 6
Sending TERM Single
Fix the problem and boot the system.
One 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.
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.
ssh service is enabled in your Server. Configure to
- Deny the ssh from cracker.org domain.
- Allow the ssh service only from example.com domain.
Your Local Domain is example.com. Configure the send mail server for you local LAN by following these conditions.
i. Any mail going from Local LAN should be masquerade to example.com
ii. Any incoming mail for info@example.com virtual address should be mapped to admin@example.com
iii. All outgoing mail should be send via smtp.abc.com mail server.
Configure the web server for www.abc.com associated IP address is 192.100.0.1 by allowing access within your example.com domain.