LinuxÈçºÎÔÚϵͳÆô¶¯Ê±×Ô¶¯¼ÓÔØÄ£¿é£¨×ª£©
Ϊ
¸ãÇå³þÈçºÎÔÚϵͳÆô¶¯Ê±×Ô¶¯¼ÓÔØÄ£¿é£¬ËÑË÷Á˺þã¬ÍøÉÏÓкܶàÈËÌá³öÕâ¸öÎÊÌ⣬µ«¶¼Ã»ÓÐÕýÈ·µÄ´ð°¸£¬ÎÞÂÛÊÇÖÐÎÄÉçÇø»¹ÊÇÓ¢ÎÄÉçÇø£¬´ó¼ÒµÄ»Ø´ð¶¼Ã»Óн²µ½µã
×ÓÉÏ£¬ÎÞ·ÇÊÇΧÈÆ modprobe.conf¡¢modprobe½²À´½²È¥µÄ£¬Òª²»¾ÍÊÇÕë¶ÔÌض¨ÎÊÌâ³¢ÊÔ²»Í¬µÄ·½·¨¡£ÓеĻ¹½¨Òé°Ñmodprobe
modulenameдÈërc.local£¬È´²»ÔøÏ룬rc.localµÄÖ´Ðб»·ÅÔÚÕû¸öÆô¶¯Ë³ÐòµÄºÜºóÃ棬¶øÆô¶¯init.dÏÂÃ涨ÒåµÄ·þÎñÈ´ÔÚ
rc.localÇ°Ã棬ÄÇôÈç¹ûij¸ö·þÎñÒªÓÃÕâ¸öÄ£¿é£¬¾Í²»ÐÐÁË¡£
ÔÚ²âÊÔLVSʱ£¬ÒòΪÎÒµÄFedora7µÄKernel(2.6.21
-1)ȱʡûÓмÓÔØip_vsÄ£¿é£¬¶øÄÚºËÖÐÒѾ°üº¬±àÒëºÃµÄIPVSÏà¹ØµÄÄ£¿éÁË£¬·ÅÔÚ£º/lib/modules/2.6.21-
1.3194.fc7/kernel/net/ipv4/ipvs/ÏÂÃ棬ÓУº
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs.ko
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs_dh.ko
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs_ftp.ko
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs_lblc.ko
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs_lblcr.ko
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs_lc.ko
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs_nq.ko
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs_rr.ko
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs_sed.ko
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs_sh.ko
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs_wlc.ko
/lib/modules/2.6.21-1.3194.fc7/kernel/net/ipv4/ipvs/ip_vs_wrr.ko
ÆäÖÐip_vs.koÊÇIPVSµÄ»ù±¾Ä£¿é£¬²»¼ÓÔØIPVS¾Í²»Äܹ¤×÷£¨ÔËÐÐipvsadm»á±¨´íµÄ£©£¬¶øÆäËûµÄ¶¼ÊÇIPVSµÄµ÷¶ÈËã·¨»òÌض¨ÐÒéµÄ¸¨ÖúÄ£¿é£¬ÐèҪʱÔòÐë¼ÓÔØ¡£
Èç¹ûϵͳÔËÐÐʱÊÖ¶¯¼ÓÔØÔòÐ裺modprobe ip_vs ºÍmodprobe ip_vs_shµÈ¡£
Òª
Á˽âÈçºÎÔÚϵͳÆô¶¯Ê±×Ô¶¯¼ÓÔØÄ£¿é(Automatically load kernel
modules)£¬¾ÍµÃÏÈÁ˽âϵͳÊÇÈç°¢Æô¶¯µÄ£¬Æô¶¯µÄ¹ý³ÌÖа´Ê²Ã´Ë³Ðò×öÁËʲô£¬Ôõô×öµÄ£¬ÕâЩÆô¶¯²Ù×÷¶¼ÓÐÄÇЩÎļþºÍ½Å±¾¿ØÖÆ¡£ÓÉÓÚGoogleºÍ
Baidu³öÀ´µÄ¶«Î÷¶¼½â¾ö²»ÁËÎÊÌ⣬¶øÇÒman modprobeºÍman modprobe.conf·¢ÏÖ²¢²»ÊÇÐèÒªÐ޸ĵÄÎļþ¡£
ÓÚÊÇÎÂÏ°Äñ¸çµÄ
[url]http://linux.vbird.org/[/url]
“¿ª»ú¹Ø»úÁ÷³ÌÓëLoader”£º
1. Õû¸ö¿ª»
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
ARM+LINUX·Ïß Ö÷¹¥Ç¶ÈëʽLinux²Ù×÷ϵͳ¼°ÆäÉÏÓ¦ÓÃÈí¼þ¿ª·¢Ä¿±ê£º
£¨1£© ÕÆÎÕÖ÷Á÷ǶÈëʽ΢´¦ÀíÆ÷µÄ½á¹¹ÓëÔÀí£¨³õ²½¶¨Îªarm9£©
£¨2£© ±ØÐëÕÆÎÕÒ»¸öǶÈëʽ²Ù×÷ϵͳ £¨³õ²½¶¨Îªuclinux»òlinux,°æ±¾´ý¶¨£©
£¨3£© ±ØÐëÊìϤǶÈëʽÈí¼þ¿ª·¢Á÷³Ì²¢ÖÁÉÙ×öÒ»¸öǶÈëʽÈí¼þÏîÄ¿¡£
´ÓÊÂǶÈëʽÈí¼þ¿ª·¢µÄºÃ´¦ÊÇ ......
Linux ÈëÃų£ÓÃÃüÁî
ÎÄÕµ¼¶Á]
×ܵÄÀ´Ëµ£¬Linux»¹ÊÇÒ»¸öÓÃÃüÁîÀ´²Ù×÷µÄϵͳ¡£Ñ§Ï°linux£¬Ê×ÒªµÄÊÇÕÆÎÕËüµÄÃüÁî¡£
1.Linux½øÈëÓëÍ˳öϵͳ
½øÈëLinuxϵͳ£º
±ØÐëÒªÊäÈëÓû§µÄÕ˺ţ¬ÔÚϵͳ°²×°¹ý³ÌÖпÉÒÔ´´½¨ÒÔÏÂÁ½ÖÖÕʺţº
¡¡¡¡1£®root--³¬¼¶Óû§Õʺţ¨ÏµÍ³¹ÜÀíÔ±£©£¬Ê¹ÓÃÕâ¸öÕʺſÉÒÔÔÚϵͳÖÐ×öÈκÎÊÂÇé¡£
......
Èç¹ûÄã¾³£Ê¹Óà Linux ÃüÁîÐУ¬ÄÇôʹÓà history£¨ÀúÊ·£©ÃüÁî¿ÉÒÔÓÐЧµØÌáÉýÄãµÄЧÂÊ¡£±¾ÎĽ«Í¨¹ýʵÀýµÄ·½Ê½ÏòÄã½éÉÜ history ÃüÁîµÄ15¸öÓ÷¨¡£
1. ʹÓà HISTTIMEFORMAT ÏÔʾʱ¼ä´Á
µ±Äã´ÓÃüÁîÐÐÖ´ÐÐ history ÃüÁîºó£¬Í¨³£Ö»»áÏÔʾÒÑÖ´ÐÐÃüÁîµÄÐòºÅºÍÃüÁî±¾Éí¡£Èç¹ûÄãÏëÒª²é¿´ÃüÁîÀúÊ·µÄʱ¼ä´Á£¬ÄÇô¿ÉÒÔÖ´ÐУº
......
ÓÐÁ½¶Î´úÂ룺
#!/bin/sh
if [ $#=0 ]
then
echo "Name not provided"
else
echo "You name is $1"
fi
#!/bin/sh
if [ $#=0 ]; then echo "Name not provided"
else echo "You name is $1"
fi
Ãû×ÖΪmypgm1
µÚ ......