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

Linux/Unix WebÓ¦Ó÷þÎñÆ÷°²×°ÅäÖÃ

      ¸ù¾Ý¹¤×÷»·¾³µÄÐèÇó£¬ÐèÒªÕÆÎÕLinux/Unix»·¾³Ï½øÐÐÈí¼þ°²×°Î¬»¤ÒÔ¼°Ïà¹ØÅäÖõȼ¼ÄÜ¡£ÕâÀォÎÒµÄʹÓÃÐĵüǼÏÂÀ´¸ú´ó¼Ò·ÖÏíһϡ£ÉÏһƪÖ÷Òª½²½âÁËÊý¾Ý¿âµÄ°²×°(postgresql)¡£ÏÖÔÚ¾ÍWebÓ¦Ó÷þÎñÆ÷[Apache]µÄ°²×°½øÐн²½â(×¢£ºÒÔÉÏ°²×°¾ùÒÔÔ´´úÂ뷽ʽ½øÐа²×°)¡£ÒÔÏÂʹÓõÄLinuxϵͳÊÇ°²×°ÔÚÐéÄâ»úÉϵģ¬²¢ÇÒlinuxϵͳÊÇlinux enterprise 5¡£
      ×¼±¸Ìõ¼þ£¬¿ÉÒÔʹÓõÄÐéÄâ»úÈí¼þ£¬ÎļþÉÏ´«¹¤¾ß£¬ Apache·þÎñÆ÷Ô´´úÂë(http://httpd.apache.org/download.cgi )£¬½¨ÒéʹÓÃÎȶ¨°æ±¾(2.2.15)¡£
      Ìõ¼þ×¼±¸Íê³Éºó¾Í½øÈë°²×°Á÷³Ì¡£¸úÉÏһƪ²Ù×÷ÀàËÆ£º
      µÚÒ»²½£¬½«»ñÈ¡µ½µÄÔ´´úÂëѹËõ°ü(httpd-2.2.15.tar.gz)ÉÏ´«ÖÁLinuxϵͳָ¶¨Î»ÖÃ(Èç/opt)£»
      µÚ¶þ²½£¬½âѹ¸ÃѹËõ°ü(tar -zxvf httpd-2.2.15.tar.gz)£¬½âѹÍê³ÉºóÉú³Éhttpd-2.2.15µÄÎļþ¼Ð£»
      µÚÈý²½£¬½øÈëhttpd-2.2.15¸ÃĿ¼Ï£¬Ö´ÐÐ./configure --prefix=/usr/local/apache2 --enable-so¡£½«Ö¸¶¨Èí¼þ°²×°Î»Öã¬Îª°²×°½øÐбØÒªµÄÅäÖá£
      µÚËIJ½£¬Ö´ÐÐmakeÃüÁ·ÖÎö±àÒëÔ´´úÂëΪ¶þ½øÖÆ´úÂ룻
      µÚÎå²½£¬Ö´ÐÐmake installÃüÁî¡£
      ÖÁ´Ë£¬apache·þÎñÆ÷°²×°Íê³É£¬ÏÖÔÚ½øÐбØÒªµÄÐÅÏ¢ÅäÖã¬ÐÞ¸Ä/usr/local/apache2/conf/httpd.conf£¬ÐÞ¸ÄServerName¶ÔÓ¦µÄÖµ(´ËÖµ¿ÉÒÔÊÇDNSÃû³Æ»òÊÇIP)£¬ÒàÐÞ¸Ä/etc/hostsÅäÖÃÐÅÏ¢¡£
      Çл»ÖÁ/usr/local/apache2/binĿ¼Ï£¬Ö´ÐÐ./apachectl configtest(¼ì²éÅäÖÃÎļþÖеÄÓï·¨ÄÜÎÞ·¨ÕýÈ·),Ìáʾsyntax ok±íʾÅäÖÃÎļþÖÐÎÞÈκδíÎó¿ÉÒÔÆô¶¯¸Ã·þÎñ£¬Ìáʾsyntax error±íʾÅäÖÃÎļþÓÐ´í£¬²¢ÌáʾʲôµØ·½³ö´í£¬¸ù¾Ý´íÎóÐÅÏ¢ÐÞ¸ÄÅäÖÃÐÅÏ¢¡£
      Æô¶¯Apache·þÎñ£¬ÔÚ±¾µØ»òÔÚÆäËûµçÄÔIE»òÆäËûä¯ÀÀÆ÷ÖÐÊäÈëLinuxϵͳµÄIPµØÖ·¾Í¿ÉÒÔ²âÊÔÊÇ·ñ°²×°³É¹¦£¬³É¹¦µÄ»°»áÏÔʾ
It works!
;·´Ö®Îª³ö´íÐÅÏ¢¡£


Ïà¹ØÎĵµ£º

д¸øLinuxÄÚºËÐÂÊÖ ¹ØÓÚLinuxÄÚºËѧϰµÄÎóÇø

д¸øLinuxÄÚºËÐÂÊÖ-¹ØÓÚLinuxÄÚºËѧϰµÄÎóÇø
albcamus
http://bbs.chinaunix.net/viewthread.php?tid=626486
¡¡¡¡ÏÈ˵¾äÕý¾­µÄ£ºÆäʵÎÒû×ʸñдÕâƪÎÄÕ£¬ÒòΪ×Ô¼ºÒ²¾ÍÒ»Á½¸öÔÂÒÔÀ´²Å¿ªÊ¼ÓÐËùÁìÎòµÄ¡£Òò´Ë£¬ÕâÀïÓëÆä˵ÊǹØÓÚLinuxÄÚºËѧϰµÄ¾­Ñ飬²»Èç˵ÊÇ×Ô¼ºµÄ½Ìѵ°É£¬Ï£Íû²»ÒªÈÓ¼¦µ°ÔÒÎÒ^_^
¡¡¡¡¡¡³£³£ÓÐÈËÎÊ£ºÎÒÏëÑ ......

linux Æô¶¯ÎÊÌâ £¨ sendmail £©


ÎÊÌâÃèÊö£º
        µ±linuxÆô¶¯µ½sendmail·þÎñʱ£¬ÎÞ·¨Õý³£½øÈëϵͳ
½â¾öÎÊÌ⣺
      1¡¢²¢²»ÊÇÎÞ·¨½øÈ¥£¬¶øÊÇÕâÒ»¸ö·þÎñÆô¶¯µÄÌرðÂý£¬ËùÒÔ¾´ÇëµÈ´ý
      2¡¢ÈçÆô¶¯Ê±²»ÏëµÈ´ý£¬OK£¬Äǵ±ÎÒÃǽøÈëÒԺ󣬹صôsendmail·þÎñ£º ......

linuxÏÂʹÓÃsvn


ÕâÊDZðÈË£¬ÎÒÖ»ÊÇÉÔ¸Ä
     1¡¢½«Îļþcheckoutµ½±¾µØĿ¼
svn checkout path£¨pathÊÇ·þÎñÆ÷ÉϵÄĿ¼£©
ÀýÈ磺svn checkout svn://192.168.1.1/pro/domain
¼òд£ºsvn co
        2¡¢Íù°æ±¾¿âÖÐÌí¼ÓеÄÎļþ
svn add file
ÀýÈ磺svn addtest.php(Ìí¼Ótest.p ......

linuxʵÓù¤¾ß

»ù±¾ÊµÓù¤¾ß£º
ls  ÏÔʾÎļþÃû(list)
cat  ÏÔʾÎı¾ÎļþÄÚÈÝ
rm [-i]  ɾ³ýÎļþ(remove),-i´ò¿ªÑ¡Ïî
less/more  ·ÖÆÁÏÔʾÎļþ
hostname  ÏÔʾϵͳÃû
Îļþ²Ù×÷£º
cp SOURCEFILE DESTINATIONFILE  ¸´ÖÆÎļþcopy
mv OLDNAME NEWNAME  ¸ü¸ÄÎļþÃû(move)
lpr [-p] FILEN ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ