Linux Versions and Patches
Linux version
[1] 2.6.10
2.6 version number, 10 release number
[2] 2.6.10 and 2.6.11
They can differ significantly even in core components and in fundamental algorithms
[3] 2.6.11.12
when a new kernel release appears, it is potentially unstable and buggy. To address this problem, the kernel developers may release patched versions of any kernel, which are identified by a fourth number in the version numbering scheme
Which patch to apply which Release?
[1] Stable kernel patches apply to the base kernel version.
patch-2.6.17.10 --> linux-2.6.17 = linux-2.6.17.10
patch-2.6.17.10 -/-> linux-2.6.17.9
[2] base kernel release patches only apply to the previous base kernel version.
patch-2.6.18 --> linux-2.6.17 = linux-2.6.18
patch-2.6.18 -/-> linux-2.6.17.2
[3] incremental patches upgrade from a specific release to the next release
patch-2.6.17.10-11 --> linux-2.6.17.10 = linux-2.6.17.11
An example
How to go from the 2.6.17.9 kernel release, to the 2.6.17.11 release?
Finding the incremental patches http://www.kernel.org/pub/linux/kernel/v2.6/incr/
patch-2.6.17.9-10 --> linux-2.6.17.9 = linux-2.6.17.10
patch-2.6.17.10-11 --> linux-2.6.17.10 = linux-2.6.17.11
Ïà¹ØÎĵµ£º
LinuxÄÚºËÅäÖð취£º
1. make config
ÕâÖÖ°ì·¨»á±éÀúËùÓÐÅäÖÃÏҪÇóÓû§Öð¸öÑ¡ÔñY/N/M
2. make menuconfig
Õâ¸ö°ì·¨ÊÇ»ùÓÚncurse¿â±àÖƵÄͼÐνçÃ湤¾ß¡£³£ÓÃ
3. make xconfig
ÓÃÓÚ»ùÓÚX11µÄͼÐι¤¾ß
4. make gconfig
ÓÃÓÚ»ùÓÚgtk+ͼÐι¤¾ß
5. make defconfig
´´½¨Ò»¸öĬÈϵÄÅäÖã¬Éú³Éµ±Ç°µÄ.config
6. make x ......
/*
* linux/fs/char_dev.c
*
* (C) 1991 Linus Torvalds
*/
#include <errno.h>
#include <sys/types.h> // ¶¨ÒåÁË»ù±¾µÄϵͳÊý¾ÝÀàÐÍ
#include <linux/sched.h>
#include <linux/kernel.h> // º¬ÓÐһЩÄں˳£Óú¯ÊýµÄÔÐζ¨Òå
#include < ......
1. linuxÏÂÆô¶¯oracle
su - oracle
sqlplus /nolog
conn /as sysdba
startup
exit
lsnrctl start
exit
2. linuxϹرÕoracle
su - oracle
sqlplus /nolog
conn /as sysdba
shutdown immediate
exit
lsnrctl stop
exit
¿ÉÒÔʹÓÃlsnrctl ½øÈ¥ºóÓÃstatus²é¿´×´Ì¬£¬ÀàËÆ£º
lsnrctl
status
http://hi.baidu.c ......
ÔÚlinuxÉÏ£¬jprofiler¿ÉÒÔ·ÖÎöjavaµÄÈí¼þϵͳ£¬oprofile¿ÉÒÔ·ÖÎöCµÄÈí¼þϵͳ¡£
oprofile¿ÉÒÔ˵ÊÇÒ»¸ö¹¤¾ß¼¯£¬°üº¬£º
ophelp£¬
opcontrol£¬
agent libraries£¬
opreport£¬
opannotate£¬
opgprof£¬
oparchive£¬
opimport¡£
³ ......
LinuxÏÂÅäÖþ²Ì¬IPµØÖ·£¬ÉèÖÃDNSºÍÖ÷»úÃû
ÅäÖÃÎļþλÓÚ£º
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.3
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
ʹIPµØÖ·ÉúЧ£º
/sbin/ifdown eth0
/sbin/ifup eth0
ÅäÖÃdns½âÎö
echo "nameserver 211.98.1.28" ......