ÎÒµÄLinuxѧϰ±Ê¼Ç
http://wiki.chinaunix.net/index.php/Linux
--------------------»ñµÃ°ïÖú : manºÍinfoʹÓà --------------------
ÒòΪͬһ¸öÃüÁî¿ÉÄÜÊôÓÚ¼¸¸ösection,Èçopen:¾Í¼ÈÓÐÃüÁîµÄopen,³ÌÐòº¯ÊýµÄopen,µÈµÈ¡£Ã¿Ò»¸ösectionÓÐÒ»¸ösectionºÅ¡£
man -aw <ÃüÁî> ²ì¿´ËùÓеÄ<ÃüÁî>µÄÊÖ²áÒ³ÎļþÃû£¬ÓÈÆäÏëÖªµÀÊÇÄĸösectionºÜÓÐÓÃ
man <ÃüÁî> ÏÔʾÕÒµ½µÄ<ÃüÁî>¡¢sectionºÅ×îСµÄÄǸöÊÖ²áÒ³¡£
man <sectionºÅ> <ÃüÁî> ÏÔʾ sectionºÅΪ<sectionºÅ> ÖÐµÄ <ÃüÁî> ÊÖ²áÒ³.
man -k <¹Ø¼ü×Ö> ÔÚËùÓÐÊÖ²áÒ³µÄÃèÊö(Description)²¿·ÖËÑË÷<¹Ø¼ü×Ö>£¬²¢ÏÔʾ¶ÔÓ¦µÄÊֲᡣ
info <ÃüÁî> ´ò¿ª<ÃüÁî>µÄinfoÊÖ²á £¬´ó¶àÊýinfoÊÖ²áÊÇÍêÕûµÄÊֲᣬ±ÈmanÏêϸºÜ¶à¡£
TAB¼ü¿ÉÒÔÓÃÀ´Ôڲ˵¥Ö®¼äÒƶ¯£¬
n Ìøµ½ÏÂÒ»¸ö½Úµã£¬
p Ìøµ½Ç°Ò»¸ö½Úµã£¬
u Ìøµ½ÉÏÒ»²ã½Úµã£¬
q Í˳ö,
ÔÚinfoÖ÷Áбí m<ÃüÁî>¿ÉÒÔÌøµ½Ö¸¶¨µÄ<ÃüÁî>ÊÖ²á ,
Ctrl+s,rÓÃÓÚÏòÇ°ºÍÏòºóËÑË÷£¬
infoµÄºÜ¶àÓ÷¨ºÍemacs»ù±¾Ïàͬ£¬ÄãÈç¹ûÏ°¹ßÓÃemacsÄÇôÄã¾Í»áÓÃinfoµÄ´ó²¿·Ö¹¦ÄÜÁË
ÐÞ¸ÄԴ·¾¶£ºsudo vim /etc/apt/sources.list
ÅäÖÿìËÙÈëÃÅ£ºhttp://wiki.ubuntu.org.cn/index.php?title=%E5%BF%AB%E9%80%9F%E8%AE%BE%E7%BD%AE%E6%8C%87%E5%8D%97/FeistyFawn&variant=zh-cn
ÍøÂçÅäÖÃÎļþ£º/etc/network/interfaces
auto eth1
iface eth1 inet static //Ö¸¶¨Îªstatic
address 192.168.0.2 //IPµØÖ·
gateway 192.168.0.1 //Íø¹Ø
netmask 255.255.255.0 //
Ïà¹ØÎĵµ£º
¹ØÓÚread(...)·µ»ØÖµµÄÕýÈ·Åжϣºp30
File I/O µÄ read(...)º¯ÊýÓ÷¨£º
ÓÐÎÊÌâµÄ´úÂ룬ֻÅжϷµ»ØֵΪ-1µÄÇé¿ö¡£
unsigned long word;
ssize_t nr;
/* read a couple bytes into 'word' from 'fd' */
nr = read (fd, &word, sizeof (unsigned long));
if (nr == -1)
/* error */
Indeed, a call to read( ) ca ......
Á½Ì¨²âÊÔÐé»ú£¬ÏµÍ³ÎªREHL 5.3 x64£¬Õý³£°²×°×îа汾µÄJDK£¬ÕýÈ·ÉèÖÃSSHÎÞÃÜÂëµÇ¼¡£
·þÎñÆ÷Ò»£º192.168.56.101 dev1
·þÎñÆ÷¶þ£º192.168.56.102 dev2
´Óhttp://apache.freelamp.com/hadoop/core/hadoop-0.20.1/ÏÂÔØhadoop-0.20.1.tar.gz£¬°Ñhadoop-0.20.1.tar.gz¿½±´µ½dev1µÄ“/usr/software/hadoop”Ŀ¼Ï¡ ......
ÔÚÁ½Ì¨»úÆ÷µÄÁ½¸öÓû§Ö®¼ä½¨Á¢°²È«µÄÐÅÈιØϵºó£¬¿ÉʵÏÖÖ´ÐÐscpÃüÁîʱ²»ÐèÒªÊäÈëÓû§ÃÜÂë¡£
1. ÔÚ»úÆ÷ClientÉÏrootÓû§Ö´ÐÐssh-keygenÃüÁÉú³É½¨Á¢°²È«ÐÅÈιØϵµÄÖ¤Êé¡£
[root@Client root]# ssh-keygen -b 1024 -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh ......
¡¡ÎÒÃÇ°ÑÏÂÔصÄÈý¸öÈí¼þ°ü·Åµ½/var/localĿ¼Ï£¨ÕâÊDZÊÕ߸öÈ˵ÄÏ°¹ß£©£¬ËüÃǶ¼ÊÇtar.gz°ü£¬¿ÉÒÔÓÃÃüÁîtar -xzpvf °üÃû£¬°ÑËüÃÇÔÚµ±Ç°Ä¿Â¼£¨/var/local/£©Öн⿪£º
cd /var/local
tar -xzpvf mysql-4.0.15.tar.gz
tar -xzpvf php-4.3.3.tar.gz
tar -xzpvf httpd-2.0.47.tar.gz
¡¡¡¡½â°üºó¿ÉÒÔ¿ªÊ¼½øÈëÕýʽ°²×°¡£ ......