Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1213418
  • 博文数量: 243
  • 博客积分: 7442
  • 博客等级: 少将
  • 技术积分: 2483
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-26 09:58
个人简介

I\'m working in IT for above 10 years, although I\'m not an expert yet, but I\'m working on it :)

文章分类

全部博文(243)

文章存档

2019年(2)

2018年(5)

2017年(3)

2016年(3)

2013年(1)

2012年(15)

2011年(8)

2010年(40)

2009年(70)

2008年(63)

2007年(43)

2006年(1)

分类: LINUX

2008-10-15 16:46:41

kernel-devel-versionnum  意思是 Installs drivers and other information to help compile third-party drivers 。这个的用途还是不很清楚。

kernel-PAE-versionnum   意思是 If you have more than 4GB of RAM, install the PAE kernel associated with your CPU architecture。

kernel-headers-versionnum 意思是 Includes kernel headers; often sufficient for drivers 。不是很清楚。

kernel-versionnum.src.rpm 意思是 Includes the source code for the RHEL kernel。

IP FORWARDING

默认情况下RHEL是不允许 ip forwarding的,
# cat /proc/sys/net/ipv4/ip_forward
0
If your computer has two or more network cards, you may want to activate IP forwarding with the following command:
# echo 1 >> /proc/sys/net/ipv4/ip_forward
# cat /proc/sys/net/ipv4/ip_forward
1
或编辑文件 /etc/sysctl.conf file
Preventing the "Ping of Death"
需要配置成下列的模式,RHEL默认配置就是阻止了  "Ping of Death"
# cat /proc/sys/net/ipv4/tcp_syncookies
1
Understanding Kernel Modules
# depmod -a  

This will scan through your modules, find different dependencies for all installed modules, and map them out to a file (modules.dep). This command also creates a number of other files in the /lib/modules/`uname -r`/ directory (the version number of the kernel becomes the name of the subdirectory).

Once the depmod module scan is complete, you can load additional kernel modules. If that module has dependencies, then all the needed modules will automatically load first.

To load a module, you can use the modprobe command with the name of a specific driver, like so:

# modprobe ipw2200
也可以编辑 /etc/modprobe.conf 
 

To see what modules are loaded, you can type either

# cat /proc/modules
or
# lsmod
可以使用命令 modprobe 去显示、加载特定的模块程序
# modprobe -lt net
阅读(1994) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~