LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: syd168

RHCE_Linux_Study_Guide-4rd Edition

[复制链接]
发表于 2004-7-2 11:16:30 | 显示全部楼层
最初由 syd168 发表
RHCE™ Red Hat® Certified Engineer Linux Study Guide (Exam RH302), Fourth Edition

I have the ebook  of it ,but there has no privilege for me to upload!

http://www.linuxsir.cn/bbs/showthread.php?threadid=66200
看这里,你是可以上传的,谢谢
发表于 2004-7-2 11:33:58 | 显示全部楼层
http://cmule.com/bbs/viewtopic.php?t=1822
这里有得下,好多,想要的快去下了
 楼主| 发表于 2004-7-2 12:10:02 | 显示全部楼层
你提供的好象都是旧的吧
发表于 2004-7-2 14:13:36 | 显示全部楼层
不知道,我就发现了这一个啊。,你贴个新的出来啊,兄弟,谢谢了先!
发表于 2004-7-2 14:13:46 | 显示全部楼层
不知道,我就发现了这一个啊。,你贴个新的出来啊,兄弟,谢谢了先!
发表于 2004-7-2 20:42:30 | 显示全部楼层
 楼主| 发表于 2004-7-2 21:28:49 | 显示全部楼层
ftp://ftp.jx.edu.cn/warez/
实在多得无法形容!全部是电子书,不过需要英语水平较高.
发表于 2004-7-2 22:11:36 | 显示全部楼层
最初由 syd168 发表
ftp://ftp.jx.edu.cn/warez/
实在多得无法形容!全部是电子书,不过需要英语水平较高.

登陆不上,
发表于 2004-7-3 11:24:02 | 显示全部楼层
我提供的联接就是呀
http://js.fixdown.com/soft/18518.htm
 楼主| 发表于 2004-7-3 17:56:44 | 显示全部楼层

RHCE 认证考试内容第四版-1 RHCE prerequisites

Lab Questions
Lab 1
1.  
You have 18 computers on a LAN behind a firewall. Diagram your computers on a sheet of paper. Connect them together in a 'star' configuration. Assign a private IP address to each computer. Take one computer and draw a second connection to the Internet.

While this is a fairly simple exercise, Linux is built for networking. To understand what you can do with Red Hat Enterprise Linux, you need to think in terms of the role of your computer on a network.
  


Answers

1.
There are many ways to configure the IP addresses on a LAN. But it is generally best to do it by setting up a network from one of the private IP address ranges. When you configure networking on your LAN, pay particular attention to the computer that also has a connection to the Internet. The IP address of its connection to your network will be the gateway address for every other computer on your LAN. It's also the logical location for any firewall that you may wish to configure.


Lab 2
2.  
In the next two labs, we'll be experimenting with the /etc/inittab file. So before you begin, back it up to a file such as /etc/inittab.bak, or back up a copy to your home directory.

Use the vi editor to open the /etc/inittab file in your computer.

Take a look at your id variable. If it's set to 3, change it to 5, and vice versa.

Reboot your computer and see what happens.

Restore your original /etc/inittab file.
  


Answers

2.
When you troubleshoot a Red Hat Enterprise Linux computer, one of the things you'll be working through are critical configuration files. One key file in the boot process is /etc/inittab. One thing that I can do in this book is to illustrate the behavior of potential problems. The more problems that you're familiar with, the easier it is to troubleshoot or debug a problem during the RHCT and RHCE exams. However, there is often more than one way to solve a problem. I present one method. You may be able to find others.

To go through this lab, I'd take the following steps:

Log in as the root user. You can do this from either the GUI or the text login interface.

Run the cp /etc/inittab /root/inittab command. This backs up the subject configuration file in the root user's home directory.

Open the subject file with the vi /etc/inittab command.

Scroll down until you see the following line:

id:3:initdefault
The number after the id command identifies your starting runlevel. If it's 3, Linux starts in text mode; if it's 5, Linux starts in the GUI.

Change this number from 3 to 5 (or 5 to 3).

Save your changes and exit from the vi editor with the :wq command.

Reboot your computer with the reboot command.

Linux should now start in your new runlevel (3 or 5).

Restore your original settings in /etc/inittab. You can do this by opening /etc/inittab with the vi editor. Alternatively, you can copy your backup from the /root directory with the cp /root/inittab /etc/inittab command.



Lab 3
3.  
In this lab, we'll experiment a bit more with the /etc/inittab configuration file.

If you haven't already done so, create a backup for /etc/inittab.

Press CTRL-ALT-F2. You should see a virtual console text login screen.

Return to the original text console with CTRL-ALT-F1 or the GUI console with CTRL-ALT-F7.

In the /etc/inittab file, identify the lines related to the virtual login consoles.

Try experimenting with these lines with the mingetty commands. Add a comment character (#) in front of the second line with the mingetty command.

Run the init q command to make Linux reread this file.

Try pressing CTRL-ALT-F2 again. What happens?

Restore your original /etc/inittab configuration file.
  


Answers

3.
In this lab, we experiment with deactivating a specific virtual console. By default, six virtual text login consoles are configured in the /etc/inittab configuration file. In this lab, we deactivate the second of the six consoles.

Log in as the root user. You can do this from either the GUI or the text login interface. If you're in the GUI, open a text console. Right-click on the desktop and click New Terminal in the pop-up menu.

Run the cp /etc/inittab /root/inittab command. This backs up the subject configuration file in the root user's home directory.

Open the subject file with the vi /etc/inittab command.

Scroll down until you see the following line:

2:2345:respawn:/sbin/mingetty tty2
Press CTRL-ALT-F2. This should start a text login interface. You should be able to log in at the prompt with your username and password.

If you logged into the GUI, press CTRL-ALT-F7 to return to the GUI. If you logged into the text interface, press CTRL-ALT-F1 to return to your original screen.

Turn the subject command in /etc/inittab into a comment. Add a comment character in front of the line as shown:

#2:2345:respawn:/sbin/mingetty tty2
Close and save this change to /etc/inittab with the :wq command.

Make Linux reread /etc/inittab with the init q command.

Press CTRL-ALT-F2. This should start a text login interface. Try logging in again. You'll see that it's not possible. Now you can see how adding a comment character to the right line in /etc/inittab deactivates the second virtual console.

If you logged into the GUI, press CTRL-ALT-F7 to return to the GUI. If you logged into the text interface, press CTRL-ALT-F1 to return to your original screen.

Restore your original settings in the /etc/inittab file.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表