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.
Answer and Explanation:
1.Open the Browser either firefox or links
2.Type : http://localhost:631
3.Click on Manage Printer
4.Click on Add Printer
5.Type Queue name like stationx and click on continue
6.Type Device type or printing Protocol: i.e Internet printing Protocol
7.Click on Continue
8.Type Device URL: ipp://server1.example.com/printers/printerx
9.Click on Continue
10.Select RAW Model printer
11.Click on Continue
12.Test by sending the printing job
Create the user named eric and deny to interactive login.
Answer and Explanation:
Which shell or program should start at login time is specified in /etc/passwd file. By default Redhat Enterprise Linux assigns the /bin/bash shell to the users. To deny the interactive login, you should write /sbin/nologin or /bin/false instead of login shell.
Make on /data that only the user owner and group owner member can fully access.
Answer and Explanation:
1.chmod 770 /data
2.Verify using : ls –ld /data
Preview should be like:
drwxrwx--- 2 root sysadmin 4096 Mar 16 18:08 /data
To change the permission on directory we use the chmod command. According to the question that only the owner user (root) and group member (sysadmin) can fully access the directory so: chmod 770 /data
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.
Answer and Explanation:
Think while Problems occurred on booting System on Runlevel 5 (X Window).
Do These:
1.df –h /tmp /tmp is full remove the unnecessary file
id:5:initdefault:
6.Reboot the System you will get the GUI login Screen.
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.
Answer and Explanation:
In the lab server is playing the role of router, IP forwarding is enabled. Just set the Correct IP and gateway, you can ping to 172.25.254.254.
You are giving RHCT Exam and in your Exam paper there is a question written, make successfully ping to 192.168.0.254.
Answer and Explanation:
In Network problem think to check:
Check In this way:
NETWORKING=yes or no
GATEWAY=x.x.x.x
HOSTNAME=?
NISDOMAIN=?
Now try to ping it will work.
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.
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.
Answer and Explanation:
1.rpm –ivh ftp://server1/example.com/pub/updates/zsh-*
or
1.Login to ftp server : ftp ftp://server1.example.com using anonymous user.
2.Change the directory: cd pub and cd updates
3.Download the package: mget zsh-*
4.Quit from the ftp prompt : bye
5.Install the package
6.rpm -ivh zsh-*
7.Verify either package is installed or not : rpm -q zsh
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 .
Make user1, user2 and user3 belongs to training group.
Answer and Explanation:
There are two types of group, I) primary group II) Secondary or supplementary group.
Here user1, user2 and user3 belong as supplementary to training group. So these users get the permission of group member.
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
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.
Answer and Explanation:
According to question, log server is already configured. We have to configure the mail, web and dns server for log redirection.
In mail, web and dns server:
1.vi /etc/syslog.conf
mail.*@logserveraddress
2.service syslog restart
mail is the facility and * means the priority. It sends logs of mail services into log server.
Create the user named jane and john.
Answer and Explanation:
1.useradd jane
2.useradd john
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.
/data Directory is shared from the server1.example.com server. Mount the shared directory that:
Answer and Explanation:
/mnt/etc/auto.misc--timeout=50
When you mount the other filesystem, you should unmount the mounted filesystem, Automount feature of linux helps to mount at access time and after certain seconds, when user unaccess the mounted directory, automatically unmount the filesystem.
/etc/auto.master is the master configuration file for autofs service. When you start the service, it reads the mount point as defined in /etc/auto.master.
Create the directory /data and group owner should be the sysadmin group.
Answer and Explanation:
1.chgrp sysadmin /data
2.Verify using ls -ld /data command. You should get like
drwxr-x--- 2 root sysadmin 4096 Mar 16 17:59 /data
chgrp command is used to change the group ownership of particular files or directory.
Another way you can use the chown command.
chown root:sysadmin /data
Create the user named user1, user2, user3
Answer and Explanation:
We create the user using useradd command and we change the password of user using passwd command. If you want to set the blank password use: passwd -d username.
Create the user named jane and john.
Answer and Explanation:
1.useradd jane
2.useradd john
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.