LinuxÏÂRamdisk¸ùÎļþϵͳÖÆ×÷¹ý³Ì½âÎö
http://www.soidc.net/articles/1215484977397/20080407/1215945405315_1.html
Ò»¡¢ÔÚÒ»¸öÒѽ¨ºÃµÄÎļþϵͳÉϽøÐÐÐÞ¸Ä
ÉèÒѽ¨Á¢ºÃµÄÎļþϵͳѹËõÎļþΪramdisk.gz
1¡¢½âѹ
#cd ramdisk.gzËùÔÚĿ¼
#gunzip ramdisk.gz
ÔÚ½âѹºó£¬µÃµ½Îļþϵͳ¾µÏóÎļþramdisk£¬ ¸²¸ÇÁËÔÀ´µÄѹËõÎļþ
2¡¢¾µÏóÎļþ¹ÒÔØ
¾µÏóÎļþ±ØÐë¾¹ý¹ÒÔغó²ÅÄÜ¿´µ½ÎļþϵͳÖеĸ÷¸öĿ¼ºÍÏêϸÄÚÈÝ
#mkdir /mnt/loop /* /mnt/loop ÊÇÎļþϵͳҪ¹ÒÔص½µÄĿ¼
#mount ?Co loop ramdisk /mnt/loop
ÔÚ¹ÒÔØĿ¼/mnt/loop϶ÔÎļþϵͳ½øÐвÙ×÷
#cd /mnt/loop
#do_whatever_you_want_to_do /*¸ù¾ÝÐèÒªÔö¼Ó¡¢É¾¼õ»òÊÇÐÞ¸ÄÎļþϵͳµÄÄÚÈÝ
4¡¢Ð¶×°Îļþϵͳ
Ìøµ½/mnt/loopĿ¼Í⣬·ñÔòÎÞ·¨Ð¶×°£¬Ìáʾbusy
#cd ramdiskËùÔÚĿ¼
#umount /mnt/loop
5¡¢Ñ¹ËõÎļþϵͳ
#gzip ?Cv9 ramdisk /*Éú³Éramdisk.gzѹËõÎļþ
¶þ¡¢×Ô¼º½¨Á¢¸ùÎļþϵͳ
1¡¢½¨Á¢loopÉ豸µÄÁÙʱ¹ÒÔصã
#mkdir /mnt/loop
2¡¢½¨Á¢Ò»¸ö´óСΪ15MµÄÁÙʱÎļþ
#dd if=/dev/zero of=/tmp/loop_tmp bs=1k count=15360
×¢Òâ¿É¸ù¾Ý×Ô¼ºµÄÐèÒª½¨Á¢´óСºÏÊʵÄÎļþϵͳ£¬¸ü¸Äcount´óС¼´¿É¡£
´Ë´¦ÒÔddÃüÁÁ¢Ò»¸öÁËÒ»¸ö15360KBÎļþϵͳӳÏ󣬴æÓÚ/tmp/loop/tmp£¬²¢ÒÔ¡£dev/zero¶ÔËü½øÐгõʼ»¯¡£ÓÃÕâÖÖ·½Ê½¶ÔÎļþϵ
ͳ½øÐгõʼ»¯£¬ÉÔºóµ±ÎÒÃÇʹÓÃgzipÃüÁîѹËõÕû¸öÓ³Ïóʱ£¬½«ÈÃÎļþϵͳÖÐδʹÓõIJ¿·Ö»ñµÃ×î´óѹËõ±È¡£
3¡¢½«É豸ÎļþÓëÁÙʱÎļþÁªÏµÆðÀ´
#losetup /dev/loop0 /tmp/loop_tmp
°ÑÉ豸Îļþ/dev/loop0ÓëÁÙʱ¾µÏóÎļþ/tmp/loop_tmpÁªÏµÆðÀ´£¬/dev/loop0ÊǸö¿éÉ豸
Èç¹û³öÏÖ“ioctl£ºLOOP_SET_FD£ºÉ豸»ò×ÊԴ攣¬ËµÃ÷/dev/loop0É豸»¹ºÍÒ»ÎļþÁªÏµ£¬¿ÉÓÃlosetup
/dev/loop0²é¿´µØ£¬²¢¿ÉÓÃ-d ɾ³
Ïà¹ØÎĵµ£º
Ctrl+z£¬ÖÕÖ¹Õâ¸ö³ÌÐò£¬È»ºó¿ÉÒÔ¿´µ½ÏµÍ³Ìáʾ£º
[1]+ Stopped /root/bin/rsync.sh
È»ºóÎÒÃÇ¿ÉÒ԰ѳÌÐòµ÷¶Èµ½ºǫִ́ÐУº
#bg 1
[1]+ Running /root/bin/rsync.sh &
Èç¹ûÏë°ÑËüµ÷»Øǰ̨ÔËÐÐ,¿ÉÒÔÓÃ
#fg 1
/root/bin/rsync.sh
ÕâÑù£¬ÄãµÄ¿ØÖÆ̨ÉϾÍÖ»ÄܵȴýÕâ¸öÈÎÎñÍê³ÉÁË¡£
&½«½ø³Ì¶ªµ½ºǫ́ÖÐÈ¥Ö´ÐС£
ÓÃjo ......
×÷Õߣº¸ßÕÅÔ¶Öõ(HiLoveS)
ÔÎÄ£ºhttp://www.cnblogs.com/hiloves/archive/2010/05/18/1738084.html
XManagerÊÇÒ»¸ö¼òµ¥Ò×ÓõĸßÐÔÄܵÄÔËÐÐÔÚWindowsƽ̨ÉϵÄX-ServerÈí¼þ£¬¶øGnomeºÍKDE¾ÍÊÇX-Client£¬LinuxϵÄX-ServerÔòΪXorg¡£ËüÄÜ°ÑÔ¶¶ËUnix/LinuxµÄ×ÀÃæÎÞ·ìµØ´øµ½ÄãµÄWindowsÉÏ£¬ÉõÖÁµ±ÄãµÄµçÄÔÊÇÔÚÄÚÍø»ò·À ......
¡¾51CTO¾«Ñ¡ÒëÎÄ¡¿¶àÊýÓû§ÔÚ¸Õ¸Õ½Ó´¥Ä³¸ö×ÀÃæϵͳʱ£¬ÍùÍùÈÝÒ×·¸ºÜ¶à´íÎó¡£²»¹ýÈç¹ûËûÃÇ´ÓÒ»¿ªÊ¼¾ÍÁ˽âÄÄЩÊǹ²ÐԵĴíÎ󣬾ͿÉÒÔ°ÑÊÜ´ìµÄ¸Ð¾õ½µÖÁ×îµÍ¡£ÒÔÏÂÊÇÐÂÓû§ÔÚʹÓÃijЩ³£ÓÃLinux×ÀÃæϵͳʱÈÝÒ×·¸µÄÊ®´ó´íÎó¡£
1¡¢ÑÓÐøʹÓÃWindowsµÄ˼ά ÕâÊÇÒ»¸öÔÙÃ÷ÏÔ²»¹ýµÄ´íÎó¡£ÆÕͨÓû§Í¨³£Òâʶ²»µ½×Ô¼ºÔÚʹÓÃÒ»¸öÍêÈ«² ......
#!/bin/sh
/sbin/modprobe ip_conntrack_ftp
CONNECTION_TRACKING="1"
ACCEPT_AUTH="0"
DHCP_CLIENT="0"
IPT="/sbin/iptables" # Location of iptables on your system
INTERNET="eth0" # Internet-connected interface
LO ......
http://blog.csdn.net/ren911/archive/2010/05/10/5576456.aspx
½«asteriskÒÆÖ²µ½ppc__6xx»·¾³ÏµÄǶÈëʽϵͳÉϵÄÖ÷Òª²½Ö裺
ÔÚËÞÖ÷»úÉÏasteriskÔ´Âë°ü½âѹËõºóµÄĿ¼ÏÂ:
1. ./configure CC=ppc_6xx_gcc --without_gnu_ld __host=ppc_linux
(¹ýÈ¥ÓжÎʱ¼äÁË£¬´óСд¿ÉÄÜÓеã¼Ç²»Çå³þ)
2. make menuselect £¨Ñ¡Ô ......