¾É°æ±¾linuxÄÚºËÉý¼¶µ½Ð°汾Äں˱àÒëÑ¡Ôñ
general setup
---> enable deprecated sysfs features which may confuse old
userspace tools
insmod: error inserting '/lib/dm-region-hash.ko' : -1 File exists
½â¾ö
cp /boot/initrd-2.6.x.img /tmp
cd /tmp
mkdir newinitrd
cd newinitrd/
zcat ../initrd-2.6.x.img |cpio -i
ϱ߾ÍÊDZà¼init£¬É¾µôÆäÖÐÖظ´µÄËÄÐÐÖеÄÁ½ÐÐ
echo "Loading dm-region-hash.ko module"
insmod
/lib/dm-region-hash.ko
echo "Loading dm-region-hash.ko module"
insmod
/lib/dm-region-hash.ko
ÖØдò°üinitrd
find .|cpio -c -o > ../initrd
cd ..
gzip -9 < initrd > initrd.img
ºÃÁË£¬initrd.img¾ÍÊÇÖØдò°üµÄinitrdÁË£¬È»ºó°Ñinitrd.img¿½±´µ½/boot£¬¸ü¸Ägrub.confÀï±ßµÄ
initrd-2.6.x.imgΪinitrd.img¾Í¿ÉÒÔÁË£¬ÕâÑù“insmod: error inserting
'/lib/dm-region-hash.ko' : -1 File exists” ¾Í²»»áÓÐÁË
Æäʵ½«initÎļþµÄµÚ¶þÐÐ
“setquiet” È¥µô£¬Äã¾ÍÖªµÀinitrdÎļþµ½µ×ÔÚ×öʲôÁË
Ïà¹ØÎĵµ£º
select()µÄ»úÖÆÖÐÌṩһfd_setµÄÊý¾Ý½á¹¹£¬Êµ¼ÊÉÏÊÇÒ»longÀàÐ͵ÄÊý×飬 ÿһ¸öÊý×éÔªËض¼ÄÜÓëÒ»´ò¿ªµÄÎļþ¾ä±ú£¨²»¹ÜÊÇSocket¾ä±ú,»¹ÊÇÆäËû Îļþ»òÃüÃû¹ÜµÀ»òÉ豸¾ä±ú£©½¨Á¢ÁªÏµ£¬½¨Á¢ÁªÏµµÄ¹¤×÷ÓɳÌÐòÔ±Íê³É£¬ µ±µ÷ÓÃselect()ʱ£¬ÓÉÄں˸ù¾ÝIO״̬ÐÞ¸Äfd_setµÄÄÚÈÝ£¬ÓÉ´ËÀ´Í¨ÖªÖ´ ÐÐÁËselect()µÄ½ø³ÌÄ ......
ÔÚPOSIXÖУ¬±ãÓÐ×ÅÖ§³ÖÕýÔò±í´ïʽµÄϵͳº¯Êý¡£GNU/LinuxÓÐÁ½Ì׿â¿ÉÓÃÓÚÕýÔò±í´ïʽ±à³Ì£ºPOSIX¿âºÍPCRE¿â¡£Ç°Õß²»ÐèÒªµ¥¶À°²×°£¬Ò»°ãÐèÇó»¹ÊÇÄÜÂú×ãµÄ£¬ËÙ¶ÈÉÔÂýЩ¡£ºóÕßÊǾøºÊ¢ÃûµÄPerlÕýÔò±í´ïʽ¿â£¬¹¦ÄÜÇ¿´ó£¬Æ¥ÅäËٶȿ죬²»¹ý¿ÉÄÜÐèÒªµ¥¶À°²×°¡£
int regcomp (regex_t *compiled, const char *pattern, int cflags)
& ......
±¾½ÚºÍ´ó¼ÒÒ»ÆðѧϰһÏÂÔÚlinuxÏÂʹÓÃapache+svn+sslÅäÖð²È«°æ±¾¿ØÖÆƽ̨ÎÊÌ⣬¿´Íê±¾ÎÄÄã¿Ï¶¨Óв»ÉÙÊÕ»ñ£¬Ï£Íû±¾ÎÄÄ̻ܽáÄã¸ü¶à¶«Î÷¡£Ê×ÏȽéÉÜÒ»ÏÂlinuxÏÂapache+svn+sslÅäÖõĻ·¾³¡£
»·¾³£º
centos5.4_x64
apache2.2.14
subversion-1.4.2(µ£ÐÄ°ü¹ØÁªÐÔÎÊÌ⣬¾ÍûÓп¼ÂÇ×îа汾£©
°²×°¹ý³Ì£º
1£¬apache°²×°
#./co ......
LINUXÍøÂç±à³ÌµÄ¶ÁÊé±Ê¼Ç
µÚÒ»ÕÂÎļþϵͳºÍ½ø³Ìϵͳ
1£®1ÎļþϵͳµÄ×ÜÌå½á¹¹
´ÓÎļþϵͳµÄʵÏֽǶÈÀ´¿´£¬°´²ã´Î¿ÉÒÔ·Ö³ÉÓ¦ÓóÌÐò¡¢ÏµÍ³µ÷Óá¢Îļþ×Óϵͳ¡¢¸ßËÙ»º³å¡¢É豸Çý¶¯ºÍ¾ßÌåµÄ´æ´¢É豸µÈ¼¸¸ö²ã´Î£¬ÈçÏÂͼ£º
Ó¦ÓóÌÐò
ϵͳµ÷ ......