LinuxÔ´Âë°²×°¹ý³ÌÖÐÑ¡Ïî—prefixµÄ×÷ÓÃ(ת)
ÔÚlinuxºÍunix»·¾³ÖУ¬Ô´Âë°²×°ÊÇ×î³£ÓõÄÈí¼þ°²×°·½Ê½£¬Ò»Ð©Èí¼þ³ýÁËÌṩԴÂëÍ⣬ҲÌṩ¸÷ÖÖ·¢ÐаæµÄ¶þ½øÖư²×°°ü£¨Èç»ùÓÚredhat°ü¹ÜÀí¹¤¾ßµÄrpm°ü£©£¬µ«Ç¿ÁÒ½¨ÒéʹÓÃÔ´Âë°²×°·½Ê½¡£ÔÒòÊÇ£º£¨1£©Ã»ÓÐÀàËÆrpmÄÇÑùÈÃÈËÄÕ»ðµÄ°üÒÀÀµ¹ØÏµ£¬£¨2£©Ô´Âë°²×°Áé»î×ÔÓÉ£¬ÊÊÓÃÓÚ²»Í¬µÄƽ̨£¬Î¬»¤Ò²Ê®·Ö·½±ã¡£
Ô´ÂëµÄ°²×°Ò»°ãÓÉ3¸ö²½Öè×é³É£ºÅäÖã¨configure£©¡¢±àÒ루make£©¡¢°²×°£¨make install£©£¬¾ßÌåµÄ°²×°·½·¨Ò»°ã×÷Õß¶¼»á¸ø³öÎĵµ£¬ÕâÀïÖ÷ÒªÌÖÂÛÅäÖã¨configure£©¡£ConfigureÊÇÒ»¸ö¿ÉÖ´Ðнű¾£¬ËüÓкܶàÑ¡ÏʹÓÃÃüÁî./configure –helpÊä³öÏêϸµÄÑ¡ÏîÁÐ±í£¬ÈçÏ£º
-bash-3.00# ./configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
--cache-file=FILE cache test results in FILE
--help print this message
--no-create do not create output files
--quiet, --silent do not print `checking...' messages
--version print the version of autoconf that created configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[same as prefix]
--bindir=DIR user executables in DIR [EPREFIX/bin]
……….(Ê¡ÂÔÈô¸É)
ºÜ¶àµÄÑ¡Ï¸öÈËÈÏΪ£¬Äã¿ÉÒÔºöÂÔÆäËûµÄÒ»ÇУ¬µ«Çë°Ñ—prefix¼ÓÉÏ¡£ÕâÀïÒÔ°²×°supersparrow-0.0.0ΪÀý£¬ÎÒÃÇ´òËã°ÑËü°²×°µ½Ä¿Â¼ /usr/local/supersparrow,ÓÚÊÇÔÚsupersparrow-0.0.0Ŀ¼ִÐдøÑ¡ÏîµÄ½Å±¾./configure –prefi
Ïà¹ØÎĵµ£º
ÏÂÔØVMWare½âѹºó¸ù¾ÝÌáʾÕý´¥°²×°VMWareµ½Ó²ÅÌÖÐ
(1) ½¨Á¢ÐéÄâ»ú
A.ÓÃÊó±ê×ó½¨Ë«»÷×ÀÃæÖеÄ"VMware workstation"ͼ±ê£¬ÔËÐÐÐéÄâ»ú
B.½¨Á¢Ò»Ì¨ÐéÄâ»ú¡£µã»÷“FILE(Îļþ)”-“NEW(н¨)”--“NewVirtual Machine(
н¨ÐéÄâ»ú)”£¬µ¯³öÐéÄâ»ú´´½¨²Ëµ¥¡£
C.¸ù¾ÝÏòµ¼Ò»²½Ò»²½µØ´´½¨ÐéÄ ......
ÔÌù£ºhttp://2bits.com/articles/installing-php-apc-gnulinux-centos-5.html
Published Mon, 2008/03/24 - 13:49, Updated Wed, 2009/07/15 - 23:40
Complex PHP applications, such as Drupal, can gain a lot of performance benefits from running a PHP op-code cache/accelerators
.
APC,
Alternate ......
Æô¶¯mysql: /etc/rc.d/init.d/mysql start
ÐÞ¸ÄÃÜÂë: ¸ñʽ£ºmysqladmin -uÓû§Ãû -p¾ÉÃÜÂë password ÐÂÃÜÂë
ʹÓÃÃÜÂëµÇ¼: mysql -u root -p
ÏÔʾÊý¾Ý¿â: show databases;
Ñ¡ÔñÊý¾Ý¿â: use Êý¾Ý¿âÃû;
ÏÔʾ±í: show tables;
ÏÔʾ±í½á¹¹: descibe ±íÃû;
Ô¶³ÌµÇ¼mysqlÐèÒª¿ªÆôÈ ......
Ê×ÏȽéÉÜһϠdiff ºÍ patch¡£ÔÚÕâÀï²»»á°Ñ man ÔÚÏßÎĵµÉÏËùÓеÄÑ¡Ïî¶¼½éÉÜÒ»ÏÂ,ÄÇÑùҲû
ÓбØÒª¡£ÔÚ 99%µÄʱ¼äÀï,ÎÒÃÇÖ»»áÓõ½¼¸¸öÑ¡Ïî¡£ËùÒÔ±ØÐëѧ»áÕ⼸¸öÑ¡Ïî¡£
1¡¢diff
--------------------
NAME
diff - find differences between two files
SYNOPSIS
diff [options] from- ......
1. °²×°squid·þÎñ
2. ÅäÖÃ/etc/squid/squid.confÎļþ
acl all src 0.0.0.0/0.0.0.0
http_access allow all
ÓÉÓÚÎÒÊÇÄÚÍøÊ¹Óã¬ËùÒÔȨÏÞÅäÖþÍÈ«¿ª·ÅÁË¡£
3. Æô¶¯squid·þÎñ£¬Ä¬ÈϵĶ˿ÚÊÇ3128
service squid restart ......