Linux/Unix Êý¾Ý¿â°²×°ÅäÖÃ
¸ù¾Ý¹¤×÷»·¾³µÄÐèÇó£¬ÐèÒªÕÆÎÕLinux/Unix»·¾³Ï½øÐÐÈí¼þ°²×°Î¬»¤ÒÔ¼°Ïà¹ØÅäÖõȼ¼ÄÜ¡£ÕâÀォÎÒµÄʹÓÃÐĵüǼÏÂÀ´¸ú´ó¼Ò·ÖÏíһϡ£ÒÔ°²×°Êý¾Ý¿âΪÀý½øÐн²½â(×¢£ºÒÔÉÏ°²×°¾ùÒÔÔ´´úÂ뷽ʽ½øÐа²×°)¡£ÒÔÏÂʹÓõÄLinuxϵͳÊÇ°²×°ÔÚÐéÄâ»úÉϵģ¬²¢ÇÒlinuxϵͳÊÇlinux enterprise 5¡£
×¼±¸Ìõ¼þ£¬¿ÉÒÔʹÓõÄÐéÄâ»úÈí¼þ£¬ÎļþÉÏ´«¹¤¾ß¡£
Ê×ÏÈ£¬½²½âÊý¾Ý¿âµÄ°²×°£¬ÒÔPostgresql 8.4ΪÀý¡£ÏÂÔصØÖ·http://www.postgresql.org/ftp/source/
µÚÒ»²½£¬ÏÂÔظÃÊý¾Ý¿âÔ´´úÂë°ü(postgresql-8.4.0.tar.gz)£¬¿ÉÒÔͨ¹ýWindowsϵͳÏÂÔØÍê³ÉºóÔÙÉÏ´«ÖÁLinuxϵͳĿ¼(¼ÙÉèΪ/optĿ¼)£»
µÚ¶þ²½£¬Ö´ÐÐtarÃüÁî½âѹ¸ÃÎļþ(tar -zxvf postgresql-8.4.0.tar.gz),½âѹºóÉú³Épostgresql-8.4.0Îļþ¼Ð;
µÚÈý²½£¬´´½¨Óû§×éºÍÓû§postgres(×¢£ºÃû³Æ±ØÐëΪpostgres£¬ÒòΪÊý¾Ý¿âµÄÆô¶¯Ö»ÄÜÓÉpostgresÓû§Æô¶¯)£¬Êý¾Ý¿âĬÈÏÓû§ÊÇpostgres£¬µ«ÊÇϵͳÖÐûÓоÍÖ»ÓÐ×Ô¼º´´½¨(addgroup postgres, adduser postgres postgres),¿ÉÒÔÉèÖÃpostgresµÄÃÜÂ룻
µÚËIJ½£¬´´½¨°²×°Â·¾¶(Îҵķ¾¶·ÅÔÚ/usrÏÂ)£ºmkdir /usr/local/postgresql8.4; ÉèÖ÷ÃÎÊÓû§chown postgres:postgres /usr/local/postgresql8.4¡£Ò²¿ÉÒÔÏÈÇл»Óû§ÖÁpostgresºóÔÚ´´½¨Îļþ¼Ð£ºsu postgres ÃÜÂë; mkdir /usr/local/postgresql8.4.ÖÁ´Ë°²×°µÄ×¼±¸¹¤×÷Íê³É¡£
µÚÎå²½£¬½øÈë½âѹÉú³ÉµÄÎļþ¼Ðpostgresql-8.4.0£¬Ö´ÐÐ./configure --prefix=/usr/local/postgresql8.4,ÕâÌõÃüÁîÊǽ«Êý¾Ý¿âµÄ°²×°ÐÅÏ¢ÅäÖõ½¸Õ²Åн¨µÄÎļþ¼Ð£¬²¢¼ì²â°²×°ËùÐèµÄÈí¼þ»·¾³£¬ÄÍÐĵĵȼ¸·ÖÖÓ¡£
µÚÁù²½£¬Ö´ÐÐmakeÃüÁÕâÌõÃüÁîÊǸæËßϵͳ·ÖÎö£¬½âÎö£¬±àÒëÔ´´úÂ룬Éú³É¶þ½øÖÆÎļþ£¬ÕâÒ»¹ý³ÌÐèÒª±È½Ï³¤µÄʱ¼ä£¬´ó¸Å15·ÖÖÓ¡£
µÚÆß²½£¬Ö´ÐÐmake installÃüÁ¸ÃÃüÁî¸æËßϵͳ°²×°¸Õ²Å±àÒëºÃµÄ¶þ½øÖÆÎļþ£¬ÕâÒ»¹ý³ÌÐèÒª±È½Ï³¤µÄʱ¼ä£¬´ó¸Å10·ÖÖÓ¡£
ÖÁ´Ë£¬Êý¾Ý¿âµÄ°²×°¾ÍÍê³ÉÁË¡£½ÓÏÂÀ´ÊÇ°²×°Êý¾Ý¿âʵÀý¡£
½ÓÏÂÀ´ÊÇ°²×°Êý¾Ý¿âʵÀýÒÔ¼°Æô¶¯ÔËÓÃÁË¡£
&
Ïà¹ØÎĵµ£º
´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......
1. 10 ¸ö×î¿áµÄ Linux µ¥ÐÐÃüÁî(ת) (http://linuxtoy.org/archives/top-10-one-liners.html )
ÏÂÃæÊÇÀ´×Ô Commandlinefu ÍøÕ¾ÓÉÓû§Í¶Æ±¾ö³öµÄ 10 ¸ö×î¿áµÄ Linux µ¥ÐÐÃüÁϣÍû¶ÔÄãÓÐÓá£
sudo !!
ÒÔ root ÕÊ»§Ö´ÐÐÉÏÒ»ÌõÃüÁî¡£
python -m SimpleHTTPServer
ÀûÓà Python ´î½¨Ò»¸ö¼òµ¥µÄ Web · ......
1. ÓÐЩÃüÁî²ÎÊý¹ý¶à£¬¿ÉÒÔÓÃgrepÀ´·½±ã²éÕÒ£¬È磺
iptables -h 2>&1|grep '\-A'
ÆäÖÐ2>&1½«stderrתÏòstdout£¬È»ºóÎÒÃǾͿÉÒÔͨ¹ýgrepÕÒµ½ÐèÒªµÄÑ¡ÏҪעÒâµÄÊǺá¸Ë֮ǰҪ¼Ó·´Ð±¸ ......
viÊÇËùÓÐUNIXϵͳ¶¼»áÌṩµÄÆÁÄ»±à¼Æ÷£¬ËüÌṩÁËÒ»¸öÊÓ´°É豸£¬Í¨¹ýËü¿ÉÒÔ±à¼Îļþ¡£µ±È»£¬¶ÔUNIXϵͳÂÔÓÐËùÖªµÄÈË£¬
»ò¶à»òÉÙ¶¼¾õµÃvi³¬¼¶ÄÑÓ㬵«viÊÇ×î»ù±¾µÄ±à¼Æ÷£¬ËùÒÔÏ£Íû¶ÁÕßÄܺúðÑËüѧÆðÀ´£¬ÒÔºóÔÚUNIXÊÀ½çÀï±Ø½«³©ÐÐÎÞ×è¡¢
ÓÎÈÐÓÐÓ࣬ÒòΪÆäËû¼¸ÖÖÎı¾´¦ÀíÆ÷²¢·ÇUNIX±ê×¼Å䱸¡£Ëµ²»¶¨±ðÈ˵ÄLinux»úÆ÷û°²×°j ......
1¡¢²é¿´telentÊÇ·ñ°²×°£ºrpm -q
telnet
[root@localhost root]#rpm -qa Linux telnet
Linux telnet-0.17-25
//Linux&n ......