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

LinuxÖа²×°Apache2ÊÖ¼Ç


²Î¿¼Îĵµ£ºhttp://lamp.linux.gov.cn/Apache/ApacheMenu/
Ø  ÏÂÔØApache2.2.4 µÄѹËõ°ü£¬ÎļþÃûΪ£ºApache21.tar.gz £»
Ø  ÔÚ /usr/local Ŀ¼Ï½âѹ´ËѹËõÎļþ£º
 [root@wxr local]# tar xzvf Apache21.tar.gz
Ö®ºóÉú³ÉÒ»¸öÃûΪ“httpd-2.2.4 ”µÄÎļþ¼Ð£»
Ø  apr ºÍapr-util °üº¬ÔÚApache httpd µÄ·¢ÐÐÔ´´úÂëÖУ¬²¢ÇÒÔÚ¾ø´ó¶àÊýÇé¿öÏÂʹÓö¼²»»á³öÏÖÎÊÌâ¡£µ±È»£¬Èç¹ûapr »òapr-util µÄ1.0 »ò1.1 °æ±¾ÒѾ­°²×°ÔÚÄãµÄϵͳÖÐÁË£¬Ôò±ØÐ뽫ÄãµÄapr/apr-util Éý¼¶µ½1.2 °æ±¾£¬»òÕß½«httpd µ¥¶À·Ö¿ª±àÒ롣ҪʹÓ÷¢ÐÐÔ´´úÂëÖÐ×Ô´øµÄapr/apr-util Ô´´úÂë½øÐа²×°£¬Äã±ØÐëÊÖ¶¯Íê³É£º
# ±àÒëºÍ°²×° apr
cd  /usr/local/httpd-2.2.4/srclib/apr
./configure --prefix=/usr/local/apr-httpd/
make
make  install
 
# ±àÒëºÍ°²×° apr-util
cd  /usr/local/httpd-2.2.4/srclib/apr-util
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
make
make  install
 
# ÅäÖúͰ²×° httpd
cd  /usr/local/httpd-2.2.4
./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/
make
make  install
Ö®ºó»áÔÚlocal Ŀ¼ÏÂÉú³ÉÒ»¸ö”apache2” µÄÎļþĿ¼£¬¼´°²×°µÄapache Ŀ¼¡£
 
Ø  Æô¶¯apache £º
cd /usr/local/apache2/bin
[root@wxr bin]# ./apachectl start
 
Ø  ²é¿´²âÊÔÒ³£º
ÔÚÆäËû»úÆ÷ÉÏÈç¹ûÄÜping ͨ°²×°ÁËapache µÄ·þÎñÆ÷µØÖ·£¬¾ÍÓ¦¸ÃÄÜ·ÃÎÊapache µÄ²âÊÔÒ³ÁË£¬ÈçÔÚie ÖÐÖ±½Ó·ÃÎÊ£ºhttp://192.168.2.254
ÁíÍ⣬apache °²×°ºóµÄĬÈ϶˿ںÅÊÇ80 £¬Èç¹û´Ë¶Ë¿ÚºÅ±»Õ¼ÓÃÁËÒ²²»»á·ÃÎʵ½²âÊÔÒ³£¬´ËʱÐèÒªÊÖ¶¯¸Äһ϶˿ںţº
cd /usr/local/apache2/conf
[root@wxr conf]# vi httpd.conf
#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration


Ïà¹ØÎĵµ£º

ÔÚlinuxÏÂʵÏÖweb qqµÄ×ÀÃ滯


´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ­°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......

linuxÖÐÎÄÂÒÂëÎÊÌâ

linuxÖÐÎÄÂÒÂëÎÊÌâ
×î½ü£¬¹«Ë¾ÔÚXPϵͳÓÚLINUXÖ®¼ä´«Êý¾Ýʱ³öÏÖÁËÖÐÎÄÂÒÂëÎÊÌâ!
Ê×ÏÈ£¬½âÊÍÒ»ÏÂ×Ö·û¼¯£º
ºº×Ö±àÂë:
* GB2312×Ö¼¯ÊǼòÌå×Ö¼¯£¬È«³ÆΪGB2312(80)×Ö¼¯£¬¹²°üÀ¨¹ú±ê¼òÌ庺×Ö6763¸ö¡£ * BIG5×Ö¼¯ÊÇ̨Íå·±Ìå×Ö¼¯£¬¹²°üÀ¨¹ú±ê·±Ì庺×Ö13053¸ö¡£ * GBK×Ö¼¯ÊǼò·±×Ö¼¯£¬°üÀ¨ÁËGB×Ö¼¯¡¢BIG5×Ö¼¯ºÍһЩ·ûºÅ£¬¹² ......

linux³£ÓÃÃüÁîСȫ

1.±ä¸üÓû§£º su root   »ò su - ×¢Ò⣨ÈôÖ»ÓÃsu£¬ÔòÖ»»»Óû§£¬²»»»shell£©¡£
2.´´½¨Îļþ¼Ð£º mkdir -m777 tool ´´½¨too²¢ÉèÖÃȨÏÞ mkdir -p tool2/tool3 Á¬¼¶´´½¨Îļþ¼Ð¡£
3.ɾ³ýÎļþ»òÎļþ¼Ð£º rm -r  tool2 µÝ¹éɾ³ý£¬Á¬Í¬×ÓĿ¼һÆðɾ³ý¡£ rm -fr ²»ÓÃÌáʾ£¬Ö±½ÓÇ¿ÖƵݹéɾ³ý¡£
4.Òƶ¯Ä¿Â¼£º mv -iv ......

LinuxÇý¶¯ USB

USBÊÇ´ó¼Ò³£¼ûµÄ£¬É豸×ÜÏß¡£ Õâ¸öUSB·ÖΪÁ½¸ö²¿·Ö£ºÖ÷»ú£¬É豸¡£ ËûÊÇÒ»¸öÊ÷ÐεĹØϵ£º             Ö÷»ú
   É豸    É豸     É豸 Ö÷»úÀï×°µÄÊÇ£¬Ö÷»ú¿ØÖÆÆ÷£¬É豸ÖÐ×°µÄÊÇÉ豸¿ØÖÆÆ÷ Host Controller ......

linux fg bg ctrl + z jobs & µÈÃüÁî

fg¡¢bg¡¢jobs¡¢&¡¢ctrl + z¶¼ÊǸúϵͳÈÎÎñÓйصģ¬ËäÈ»ÏÖÔÚ»ù±¾Éϲ»ÔõôÐèÒªÓõ½ÕâЩÃüÁµ«Ñ§»áÁËÒ²ÊǺÜʵÓõÄ
Ò»¡£& ×î¾­³£±»Óõ½
   Õâ¸öÓÃÔÚÒ»¸öÃüÁîµÄ×îºó£¬¿ÉÒÔ°ÑÕâ¸öÃüÁî·Åµ½ºǫִ́ÐÐ
¶þ¡£ctrl + z
     ¿ÉÒÔ½«Ò»¸öÕýÔÚǰִ̨ÐеÄÃüÁî·Åµ½ºǫ́£¬²¢ÇÒÔÝÍ£
Èý¡£jobs
 &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ