`awk '$1~/IP/{print $2}' 配置文件名 | tail -n 1
这是第一个:
`awk '$1~/IP/{print $2}' 配置文件名 | head -n 1
我是linux菜鸟,勿喷...
正确的步骤是;yum-yinstallmakeautomakegccg++ncursesncurses-devncurses-develfakerootwgetbzip2makepatchftpcp/boot/config-2.6.18-92.el5.config关闭Selinuxvi/etc/sysconfig/selinuxSELINUX=disabled打IMQ补丁:$patch-p1DeviceDrivers->Networkingsupport->Networkdevicesupport(NETDEVICES)->IMQ(intermediatequeueingdevice)support(IMQ)2.2编译并安装新内核makemenuconfigmakemakemodulesmakemodules_installmakeinstallmkinitrd/boot/initrd_2.6.30.img2.6.30根据内核版本和指定参数生成映像文件cparch/x86/boot/bzImage/boot/vmlinuz-2.6.30cp/usr/src/linux-2.6.30/System.map/boot/System.map-2.6.30欢迎分享,转载请注明来源:内存溢出
评论列表(0条)