LinuxÄں˱àÒë
¼ÌÐøÊáÀíÒÔǰѧϰµÄ֪ʶ£¬µ±³õѧϰ¡¶Linux and Open Source¡·Ê±ºòµÄ×÷Òµ£¬Äں˱àÒë¡£
¡¾ÊµÑé»·¾³¡¿
Fedora£¬ÄÚºË2.6.21.6
¡¾ÊµÑé²½Öè¡¿
Ò»¡¢ ±àÒëÄÚºË
1. ´Ówww.kernel.org ÏÂÔØÔ´´úÂë linux-2.6.21.6.tar.bz2 ÖÁ /usr/src
2. cd /usr/src £¬½øÈë/usr/src Ŀ¼
3. tar xvjf linux-2.6.21.6.tar.bz2 ½âѹԴÂë°ü
4. ln –s linux-2.6.21.6 linux ·ûºÅÁ¬½ÓÖÁlinux
5. cd /usr/src/linux
6. make mrproper
7. make menuconfig ÅäÖÃÄÚºË
8. make ±àÒë
9. make modules_install °²×°Ä£¿é
10. make install °²×°ÄÚºË
11. reboot ÖØÐÂÆô¶¯
12. Ñ¡ÔñÐÂÄں˽øÈ룬Äں˱àÒë³É¹¦¡£
Ïà¹ØÎĵµ£º
1) È·±£¼ÆËã»úµÄ123¶Ë¿ÚûÓб»·À»ðǽ×èµ²£»
2) ÓÃrootµÇ¼£»
3) ÐÞ¸Ä/etc/crontabÎļþ£¬¼ÓÈëÒÔÏÂÒ»ÐÐÃüÁ
0 23 * * * root /usr/sbin/ntpdate 210.72.145.44 > /dev/null 2>&1
ÒÔÉÏÃüÁîÉèÖúúó´æÅÌ¡£ÄúµÄ»úÆ÷½«ÔÚÿÌìµÄ23:00¸ù¾Ý¹ú¼ÒÊÚʱÖÐÐĵÄNTP·þÎñÆ÷ʱ¼ä×Ô¶¯Ð£×¼Ê±¼ä¡£Èç¹ûÄúµÄ»úÆ÷²»ÄÜÁª½á»¥ÁªÍø£¬Ç ......
±¾ÎÄÌÖÂÛÁË UNIX/LINUX ƽ̨ÏÂÈýÖÖÖ÷ÒªµÄ¿ÉÖ´ÐÐÎļþ¸ñʽ£ºa.out£¨assembler and link
editor output »ã±àÆ÷ºÍÁ´½Ó±à¼Æ÷µÄÊä³ö£©¡¢COFF£¨Common Object File Format
ͨÓöÔÏóÎļþ¸ñʽ£©¡¢ELF£¨Executable and Linking Format
¿ÉÖ´ÐкÍÁ´½Ó¸ñʽ£©¡£Ê×ÏÈÊǶԿÉÖ´ÐÐÎļþ¸ñʽµÄÒ»¸ö×ÛÊö£¬²¢Í¨¹ýÃèÊö ELF
Îļþ¼ÓÔعý³ÌÒÔ½Òʾ ......
¼ÌÐø¡£¡£¡£
ÓôÃƵÄÊÂÇé¼ÌÐø³öÏÖ£¬³öÏÖÉÏÃæµÄ´í£¬»¹²»ÖªµÀËùÒÔÈ»ÄØ£¬½øÈëÒ»¸öbusyboxµÄÖն˵ȴýÊäÈë״̬£¬¸Ï½ôgoogle£¬¿ÉÄÜÓоȡ£
Ï´β»¸ÒÂÒɾÄÚºË×é¼þÁË£¬·¢ÏÖ¶Ô×Ô¼ºÒªµÄÐèÇó²»Ã÷È·£¬½á¹û²úÉú»ìÂҵľÖÃæÁË¡£
¼ÌÐøÂÒŪ£¬helpÏ£¬³öÏÖÁËÐí¶à¿ÉÒÔ±»½âÎöµÄÃüÁ²»ÊÇÉÙĿ¼Âð£¬ÎÒmksirÏ£¬½á¹û²»ÐУ¬ºÃÏñÕâ¸ö״̬ÊÇÒ»¸ö/bin ......
Linux»·¾³½ø³Ì¼äͨÐÅ£¨Î壩: ¹²ÏíÄڴ棨Ï£©
ÎĵµÑ¡Ïî
´òÓ¡±¾Ò³
½«´ËÒ³×÷Ϊµç×ÓÓʼþ·¢ËÍ
¼¶±ð£º ³õ¼¶
Ö£ÑåÐË (mlinux@163.com), ¹ú·À¿Æ´ó¹¥¶Á²©Ê¿Ñ§Î»
2003 Äê 5 ÔÂ 01 ÈÕ
ÔÚ¹²ÏíÄڴ棨ÉÏ£©ÖУ¬Ö÷ҪΧÈÆ×Åϵͳµ÷ÓÃmmap()½øÐÐÌÖÂ۵ģ¬±¾²¿·Ö½«ÌÖÂÛϵͳV¹²ÏíÄڴ棬²¢Í¨¹ýʵÑé½á¹û¶Ô±ÈÀ´²ûÊöÁ½ÕßµÄÒìͬ¡£Ïµ ......
1. man ¶ÔÄãÊìϤ»ò²»ÊìϤµÄÃüÁîÌṩ°ïÖú½âÊÍ
eg:man ls ¾Í¿ÉÒԲ鿴lsÏà¹ØµÄÓ÷¨
×¢£º°´q¼ü»òÕßctrl+cÍ˳ö£¬ÔÚlinuxÏ¿ÉÒÔʹÓÃctrl+cÖÕÖ¹µ±Ç°³ÌÐòÔËÐС£
2. ls ²é¿´Ä¿Â¼»òÕßÎļþµÄÊô*£¬ÁоٳöÈÎһĿ¼ÏÂÃæµÄÎļþ
eg: ls /usr/man
ls -l
a.d±íʾĿ¼(directory)£¬Èç¹ûÊÇÒ»¸ö"-"±íʾÊÇÎļþ£¬Èç¹ûÊÇlÔò±íʾÊÇÒ»¸öÁ¬½ÓÎÄ ......