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ÖеÄCronÃüÁîÊÇLinuxµÄÄÚÖ÷þÎñ£¬µ«Ëü²»×Ô¶¯ÆðÀ´£¬¿ÉÒÔÓÃÒÔϵķ½·¨Æô¶¯¡¢¹Ø±ÕÕâ¸ö·þÎñ£º
¡¡¡¡/sbin/service crond start //Æô¶¯·þÎñ
¡¡¡¡/sbin/service crond stop //¹Ø±Õ·þÎñ
¡¡¡¡/sbin/service crond restart //ÖØÆô·þÎñ
¡¡¡¡/sbin/service crond reload //ÖØÐÂÔØÈëÅäÖÃ
¡¡¡¡ÄãÒ²¿ÉÒÔ½«Õâ¸ö·þÎñÔÚϵͳÆô ......
linuxÖÐÎÄÂÒÂëÎÊÌâ
×î½ü£¬¹«Ë¾ÔÚXPϵͳÓÚLINUXÖ®¼ä´«Êý¾Ýʱ³öÏÖÁËÖÐÎÄÂÒÂëÎÊÌâ!
Ê×ÏÈ£¬½âÊÍÒ»ÏÂ×Ö·û¼¯£º
ºº×Ö±àÂë:
* GB2312×Ö¼¯ÊǼòÌå×Ö¼¯£¬È«³ÆΪGB2312(80)×Ö¼¯£¬¹²°üÀ¨¹ú±ê¼òÌ庺×Ö6763¸ö¡£ * BIG5×Ö¼¯ÊÇ̨Íå·±Ìå×Ö¼¯£¬¹²°üÀ¨¹ú±ê·±Ì庺×Ö13053¸ö¡£ * GBK×Ö¼¯ÊǼò·±×Ö¼¯£¬°üÀ¨ÁËGB×Ö¼¯¡¢BIG5×Ö¼¯ºÍһЩ·ûºÅ£¬¹² ......
½ø³Ì¹ÜÀí£º
×Ô¶¯Ö´Ðнø³ÌµÄÃüÁatºÍbatch¡£ÆäÖÐatÖƶ¨½ø³ÌÖ´ÐеÄʱ¼ä£¬batchÔÚϵͳ¿ÕÏÐʱ×Ô¶¯Ö´ÐС£crontab¿ÉÒÔÖÜÆÚÐÔµÄÖ´Ðнø³Ì£¬±ÈÈçÈÃij½Å±¾ÖÜÆÚÐÔµÄÖ´ÐУ¬³£ÓÃÓÚϵͳ¼à²â¡£ËüµÄÃüÁî¸ñʽÈçÏ£º
ʱ³Ì±íµÄ¸ñʽÈçÏÂ
:
f1 f2 f3 f4 f5 program
ÆäÖÐ f1 ÊDZíʾ·ÖÖÓ£¬f2 ±íʾСʱ£¬f3 ±íʾһ¸öÔ·ÝÖеĵڼ¸ÈÕ£¬f4 ±íÊ ......
ÕâÊ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 ......
ÔÎĵØÖ·£ºhttp://hi.baidu.com/%CE%E5%CC%EC%CB%C4%BF%C9%D2%D4/blog/item/8fe434134b663b0b5baf532b.html
×÷Ϊһ¸ö×ÀÃæ²Ù×÷ϵͳ£¬Ubuntu£¨ÒÔºóÎÒ¼ò³ÆΪUB£©×ÔȻҲºÍWindowsÒ»Ñù£¬ÓµÓÐÖÚ¶àµÄʵÓÃÈí¼þ£¬ÈÃÎÒÃÇƽ³£À´Ê¹Ó᣺ܶàÐÂÊÖ£¬ÔÚ°²×°ÁËUbuntuϵͳºó£¬Ãæ¶Ô×ÅÓëÖÚ²»Í¬µÄ×ÀÃ棬²»ÖªµÀ¸ÃÈçºÎ°²×°Èí¼þ£¬Õâ´ÎµÄ½Ì³Ì£¬ÎÒ½«Ï ......