Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÏÂÖÆ×÷ÈíÅ̺͹âÅ̾µÏñ£¨×ª£©

µ±ÔÚ Linux ÏÂºÍ ÐéÄâ»ú ¹²ÏíÎļþʱ£¬ÎÒ·¢ÏÖÒ»¸öÎÊÌ⣬²¢²»ÊÇËùÓеÄÐéÄâ»ú¶¼Ö§³Ö(»òºÜºÃµÄÖ§³Ö)ÔÚÖ÷»úºÍÐéÄâ»ú²Ù×÷ϵͳ֮¼ä¹²ÏíÎļþ£¬ÕâÑùÔÚÐèÒªÎļþ¹²Ïíʱºò¾Í»áÓöµ½ºÜ¶àÎÊÌâ¡£ ²»¹ýÒòΪ¼¸ºõËùÓвÙ×÷ϵͳ¶¼Ö§³Ö¶ÁдÈíÅ̺͹âÅÌ£¬¾Í¿ÉÒÔʹÓÃÒ»ÖֱȽÏÓØ»ØµÄ°ì·¨½â¾öÕâ¸öÎÊÌ⣺½¨Á¢ÈíÅÌ»òÕß¹âÅ̾µÏñÎļþ£¬ÐéÄâ»úʹÓöÁдÈí/¹âÇýµÄ·½Ê½´ò ¿ªËü£¬Linux Ö÷»úÖ±½Ó¹ÒÔØËü£¬ÕâÑù¾Í¿ÉÒÔ½«Õâ¸öÎļþ×÷Ϊ¹²ÏíĿ¼ʹÓᣲ»¹ýµ±ÐéÄâ»úµÄ²Ù×÷ϵͳ×㹻ǿ´óµÄʱºò£¬ÍêÈ«¿ÉÒÔʹÓÃÐéÄâÍøÂç´«Êä¡£
ÕâÑù¾ÍÉæ¼°µ½ÈçºÎ½¨Á¢Ò»¸öÊý¾ÝÈí/¹âÅ̾µÏñ¡£ÎÒÃÇÆ½³£Ëù¹ÒÔØµÄ¹âÅ̾µÏñ£¬»ù±¾ÊÇÓÃÓÚÖ»¶ÁµÄÄ¿µÄ£¬¶øÇÒÊDZðÈ˽¨Á¢ºÃµÄ¡£ÈçºÎʹÓà Linux ÃüÁîÀ´½¨Á¢Ò»¸öÊý¾ÝÈí/¹âÅ̾µÏñÄØ£¿
½¨Á¢¹âÅ̾µÏñºÜ¼òµ¥£¬Ê¹ÓÃÏÂÃæÃüÁî¼´¿É£º
genisoimage -o data.iso /data/yourdir/*
Õâ¾ÍÄÜÖ±½Ó½« /data/yourdir/ ϵÄËùÓÐÎļþ½¨Á¢³ÉÒ»¸ö¹âÅ̾µÏñ¡£µ«ÊÇʹÓùâÅ̾µÏñΨһһ¸ö²»×ã¾ÍÊÇ£¬ËüÊÇÖ»¶ÁµÄ£¬ËùÒÔÎļþµÄ¹²ÏíÖ»ÄÜ´ÓÒ»¸ö·½Ïò½øÐÐ(Èç¹ûÐéÄâ»úÉϵÄϵͳ²»Ö§³ÖÉÕ¼CDµÄ»° ^_^)¡£
½¨Á¢ÈíÅ̾µÏñ£º
Ç°ÃæÔÚ Writing x86 PC Bootloader With Free Software Ò»ÎÄÖÐÌáµ½ÁËÈçºÎÖÆ×÷Æô¶¯ÈíÅ̾µÏñ£¬µ«ÊÇÕâ¸öÈíÅ̾µÏñ½ö½öÄÜÓÃÀ´Æô¶¯µçÄÔ£¬¶ø²»ÄÜÓÃÀ´´æ´¢Êý¾Ý¡£ÒòΪËüûÓб»¸ñʽ»¯£¬ËùÒÔ²»ÄܹÒÔØ£¬Òò´Ë×îÖ÷ÒªµÄÈÎÎñÊÇÒª½«Ëü¸ñʽ»¯¡£
Ê×ÏÈ£¬Éú³É¿Õ°×ÈíÅ̾µÏñ£º
dd if=/dev/zero of=data.img bs=512 count=2880
ʹÓà losetup ÃüÁ½« data.img ×÷Ϊ loop device ʹÓãº
sudo losetup /dev/loop0 data.img
È»ºó£¬¸ñʽ»¯Õâ¸ö loop device£º
sudo mkfs.msdos /dev/loop0
¼ì²éÎļþϵͳ£º
sudo fsck.msdos /dev/loop0
ɾ³ý loop device£º
sudo losetup -d /dev/loop0
Õâʱºò£¬data.img ÒѾ­¸ñʽ»¯Íê³É£¬¿ÉÒÔ×÷Ϊһ¸öÈíÅ̾µÏñʹÓ㬱ÈÈçÓà sudo mount -o loop data.img mountdir/ ¹ÒÔØµ½ mountdir ÉÏ¡£ÉèÖÃÒ»¶¨µÄȨÏÞÖ®ºó£¬Ê¹ÓÃÐéÄâ»ú´ò¿ªÕâ¸öÈíÅ̾µÏñ£¬¾Í¿ÉÒÔ°ÑÕâ¸ö¾µÏñµ±×÷¹²ÏíĿ¼À´Ê¹Óã¬ËäÈ»ºÜ¿ÉÁ¯µÄÊÇÕâ¸öÎļþÖ»ÓÐ 1.44 M ´óС£¬µ«ÔÚijЩʱºòÒѾ­ÄÜÂú×ãÐèÒªÁË¡£
£¨×ª×Ôhttp://blog.solrex.cn/articles/how-to-make-a-data-floppy-or-cd-image-on-linux.html£©


Ïà¹ØÎĵµ£º

Linux ƽ̨Ï MYSQL°²×° Æô¶¯ mysqlÃüÁî

MYSQL°²×°
//½âѹ±àÒë°²×°
# tar xzvf mysql-5.0.27.tar.gz
# cd mysql-5.0.27
# ./configure -prefix=/home/redadmin/mysql
# make
# make install
# cd /home/redadmin/mysql/
# cp share/mysql/my-medium.cnf ./
# mv my-medium.cnf my.cnf
// my.confÎļþÐÞ¸Ä
# vi my.cnf
ÐÞ¸Äǰ£º
port  &nb ......

ÐÞ¸ÄlinuxÆô¶¯¼¶±ð

# 0 - Í£»ú£¨Ç§Íò²»Òª°ÑinitdefaultÉèÖÃΪ0 £©
# 1 - µ¥Óû§Ä£Ê½
# 2 - ¶àÓû§£¬µ«ÊÇûÓÐNFS
# 3 - ÍêÈ«¶àÓû§Ä£Ê½
# 4 - ûÓÐÓõ½
# 5 - X11
# 6 - ÖØÐÂÆô¶¯£¨Ç§Íò²»Òª°ÑinitdefaultÉèÖÃΪ6 £©
# ¶Ô¸÷¸öÔËÐм¶µÄÏêϸ½âÊÍ£º
0 Ϊͣ»ú£¬»úÆ÷¹Ø±Õ¡£
1 Ϊµ¥Óû§Ä£Ê½£¬¾ÍÏñWin9xϵݲȫģʽÀàËÆ¡£
2 Ϊ¶àÓû§Ä£Ê½£¬µ ......

Linux£¨Ubuntu£©°²×°Trace32

  Trace32-ICDÊÇĿǰ¹¦ÄÜ×îÇ¿´óµÄ·ÂÕæÆ÷£¬Ö§³Ö¸÷ÖÖCPU£¬°üÀ¨ARM/X86µÈ¡£Trace32Êǵ¹úlauterbach¹«Ë¾µÄ²úÆ·£¬¹¦ÄÜÇ¿´ó£¬Ö§³Ö¸÷ÖÖ²Ù×÷ϵͳµ÷ÊÔ£¬Èçlinux/vxworks/winceµÈ£¬²»¹ý¼Û¸ñÒ²±È½Ï¸ß£¬Òª3-5ÍòRMB£¬ÏÖÔÚÒ²ÓÐЩ·ÂÖÆµÄTrace£¨ÈçTrace32-ICP£©£¬¼Û¸ñ±È½Ï±ãÒË£¬´ó¸Å1Íò¶àRMB¡£Trace32ÓÉÓÚÆä¹¦ÄÜÇ¿´ó£¬ÌرðÊʺϴóÐÍÇ¶È ......

linux ÏÂNBU´Å´ø¿âÇå¿Õ·½·¨

ÔÚLinux»·¾³ÏÂÊäÈë: cd /usr/openv/netbackup/bin/admincmd/
                      ./bpexpdate -m ´Å´ø±êÇ©Ãû(media ID) -d 0 ±íʾ¶ÔÕâÅÌ´Å´øµÄÊý¾ÝÇå¿Õ,Èç´Å´ø½éÖʱ£´æÖÜÆÚÊÇÓÀ¾ÃµÄ,
Ò²»áÈ«²¿Çå¿Õ,ʹËü¹ýÆ ......

LinuxÎļþÄÚÈݲéѯÃüÁת£©

grep¡¢fgrepºÍegrepÃüÁî
Õâ×éÃüÁîÒÔÖ¸¶¨Ä£Ê½ËÑË÷Îļþ£¬²¢Í¨ÖªÓû§ÔÚʲôÎļþÖÐËÑË÷µ½ÓëÖ¸¶¨µÄģʽƥÅäµÄ×Ö·û´®£¬²¢´òÓ¡³öËùÓаüº¬¸Ã×Ö·û´®µÄÎı¾ÐУ¬ÔÚ¸ÃÎı¾ÐеÄ×îÇ°ÃæÊǸÃÐÐËùÔÚ µÄÎļþÃû¡£grepÃüÁîÒ»´ÎÖ»ÄÜËÑË÷Ò»¸öÖ¸¶¨µÄģʽ£»egrepÃüÁî¼ìË÷À©Õ¹µÄÕýÔò±í´ïʽ£¨°üÀ¨±í´ïʽ×éºÍ¿ÉÑ¡Ï£»fgrepÃüÁî¼ìË÷¹Ì¶¨×Ö·û´®£¬Ëü²» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ