中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 操作系统 > Linux > Linux综合
RH9 UPDATE 2.6 KERNEL + IPTALBES
作者:未知 时间:2005-09-13 22:04 出处:Blog.ChinaUnix.net 责编:chinaitpower
              摘要:RH9 UPDATE 2.6 KERNEL + IPTALBES
继上次把升级RH9 kernel到2.6.10之后,再次升级kernel和Iptables&iptables extension.

RH9 UPDATE 2.6 KERNEL + IPTALBES

1.Preparation
Download the newest kernel, iptables, patch-o-matic-ng from the offical website, and put them on /opt/soft directory.

2.Let's begin

1)first need to remove RPM iptables ackage
rpm -qa |grep iptables
rpm -e --nodeps iptables-devel
rpm -e --nodeps iptables

2)Decompression kernel, iptables, patch-o-magic-ng software packages.
#tar -xjvf kernel-2.6.11.6.tar.gz2
#mv linux-2.6.11.6 linux
#tar -xjvf iptables-1.3.1.tar.bz2
#tar -xjvf patch-o-matic-ng-20050401.tar.bz2
#mv patch-o-matic-ng-20050401 patch-o-matic-ng

3) Patch kernel & iptables & patch-o-matic-ng
#cd /usr/src/linux
#make mrproper
#make menuconfig,nothing need to do,just saved and exit,for building .config file.
#cd /usr/src/patch-o-matic-ng
#KERNEL_DIR=/usr/src/linux IPTABLES_DIR=/usr/src/iptables-1.3.1 ./runme extra

4) Complie/install kernel
#cd /usr/src/linux
make menuconfig, make sure that "[*]Prompt for development and/or incomplete code/drivers" must be selected.
#make
#make modules
#make modules_install
#make install

5)Complie/install iptables
#cd /usr/src/iptables-1.3.1
#export KERNEL_DIR=/usr/src/linux
#export IPTABLES_DIR=/usr/src/iptables-1.3.1
#make BINDIR=/sbin LIBDIR=/lib MANDIR=/usr/share/man install

3.Write iptables scripts to test

关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有