1.×¼±¸°²×°Îļþ
ice-3.2.0.tar.gz
icePHP-3.2.0.tar.gz
php-5.2.1.tar.gz
2.°²×°ice
Ö±½Ómake¾Í¿ÉÒÔÁË£¬µ«ÊDZ¨´í£¬²»ÄÜld db_cxx£¬ÔÀ´iceFreereÐèÒªBerkeley DBµÄÖ§³Ö£¬ËùÒÔÐèÒªÊ×ÏÈ°²×°
BerkeleyDB
ÏÂÔØThirdParty-Sources-3.2.0.tar.gz
½âѹµÃµ½db-4.5....
ÔÚlinuxÏ»ñȡʱ¼äÖ¸¶¨¸ñʽµÄ×Ö·û´®
ÔÚlinuxÏ»ñȡʱ¼ä×Ö·û´®
ÃüÁî date
# ÒÔyyyymmdd¸ñʽÊä³ö23Ìì֮ǰÏÖÔÚÕâ¸öʱ¿ÌµÄʱ¼ä
$ date +%Y%m%d ¨Cdate=¡¯23 days ago¡¯
$ date -u
Thu Sep 28 09:32:04 UTC 2006
$ date -R
Thu, 28 Sep 2006 17:32:28 +0800
# ²âÊÔÊ®ÒÚ·ÖÖ®Ò»Ãë
$ date +¡¯%Y...
shell ÔĶÁ±Ê¼Ç£ÕýÔò±í´ïʽÓëgrep
Ò» ÕýÔò±í´ïʽ
»ù±¾Ôª×Ö·û¼¯¼°Æ京Òå
^ ֻֻƥÅäÐÐÊ×
$ ֻֻƥÅäÐÐβ
* Ö»Ò»¸öµ¥×Ö·ûºó½ô¸ú*£¬Æ¥Åä0¸ö»ò¶à¸ö´Ëµ¥×Ö...
³£ÓÃÓÚlogÈÕÖ¾·ÖÎö
È¡µÃunixʱ¼ä´Á
date +%s
½«Ê±¼ä´Á1123495443 »»Ëã³É¿ÉÒÔʶ±ðµÄÄêÔÂÈÕ·ÖÃë
date -d '1970-01-01 UTC 1123495443 seconds'
¼ÆËãϵͳµ±Ç°Ê±¼äµÄǰһСʱʱ¼äÈçÏ£º
a=`date +%s`
b=`expr $a - 3600`
c=`date -d "1970-01-01 UTC...
BashÖл¹¿ÉÒÔʹÓÃÊý×é±äÁ¿,Æ丳ֵÓÐÁ½ÖÖ:
(1) name = (value1 ... valuen) ´Ëʱϱê´Ó0¿ªÊ¼
(2) name[index] = value
Êý×éϱêµÄ·¶Î§Ã»ÓÐÈκÎÏÞÖÆ,ͬʱҲ²»±ØʹÓÃÁ¬ÐøµÄ·ÖÁ¿.
$ A=(a b c def)
==================================================
$...
LinuxÎļþ²éÕÒÃüÁîfind,xargsÏêÊö
ÓÉÓÚfind¾ßÓÐÇ¿´óµÄ¹¦ÄÜ£¬ËùÒÔËüµÄÑ¡ÏîÒ²ºÜ¶à£¬ÆäÖд󲿷ÖÑ¡ÏֵµÃÎÒÃÇ»¨Ê±¼äÀ´Á˽âһϡ£¼´Ê¹ÏµÍ³Öк¬ÓÐÍøÂçÎļþϵͳ( NFS)£¬findÃüÁîÔÚ¸ÃÎļþϵͳÖÐͬÑùÓÐЧ£¬Ö»Äã¾ßÓÐÏàÓ¦µÄȨÏÞ¡£
ÔÚÔËÐÐÒ»¸ö·Ç³£ÏûºÄ×ÊÔ´µÄfindÃüÁîʱ£¬ºÜ¶àÈ˶¼ÇãÏòÓÚ°ÑËü·ÅÔÚºǫִ́ÐУ¬Òò...
xargs ÃüÁî
ÓÃ;
¹¹Ôì²ÎÊýÁÐ±í²¢ÔËÐÐÃüÁî¡£
Óï·¨
xargs [ -p ] [ -t ] [ -e [ EOFString ] ] [ -E EOFString ] [ -i [
ReplaceString ] ] [ -I ReplaceString ] [ -l [ Number ] ] [ -L Number ] [...
shell²âÊԺͱȽϺ¯Êý--test¡¢[¡¢[[¡¢((¡¢ºÍ if-then-else½âÃÜ
ÄúÊÇ·ñΪ Bash shell ÖдóÁ¿µÄ²âÊԺͱȽÏÑ¡Ïî¶øÀ§»óÄØ£¿Õâ¸ö¼¼ÇÉ¿ÉÒÔ°ïÖúÄú½âÃܲ»Í¬ÀàÐ͵ÄÎļþ¡¢ËãÊõºÍ×Ö·û´®²âÊÔ£¬ÕâÑùÄú¾ÍÄܹ»ÖªµÀʲôʱºòʹÓà test¡¢ [ ]¡¢ [[ ]]¡¢ (( )) »ò if-then-else ÁË¡£
ʹÓà shell д cgi ³ÌÐòÖÐµÄ urldecode
ʹÓà shell д cgi ³ÌÐòʱ, ´Ó QUERY_STRING »ñÈ¡µÄÓÉ url »òÕß form ±íµ¥Ìá½»µÄ×Ö´®ÒѾÊǾ¹ý urlencode µÄÁË.
php µÄ ÖÐÓÐ urlencode ºÍ urldecode À´¶Ô×Ö´®½øÐнâÂë. µ« shell ÖÐûÓÐ.
½ñÌìÇ¡ºÃÒªÓÃ, ¾ÍËÑË÷ÁËÒ»ÏÂ, ÕÒµ½Ò»¸öʹÓà awk À´½øÐÐ urldecode µÄ...
ÔÚshellÖÐÈçºÎÅжÏÒ»¸ö±äÁ¿ÊÇ·ñΪ¿Õ
ÅжÏÒ»¸ö½Å±¾ÖеıäÁ¿ÊÇ·ñΪ¿Õ£¬ÎÒдÁËÒ»¸öÕâÑùµÄshell½Å±¾:
1.
2. #!/bin/sh
3. #filename: test.sh
4. para1=
5. if [ ! -n $para1 ]; then
6. echo "IS NULL...
1¡¢NFS°ü
-----------
NFSÐèÒª5¸öRPM£¬·Ö±ðÊÇ£º
setup-* : ¹²ÏíNFSĿ¼ÔÚ/etc/exportsÖж¨Òå
initscripts-* : °üÀ¨Òýµ¼¹ý³ÌÖÐ×°ÔØÍøÂçĿ¼µÄ»ù±¾½Å±¾
nfs-utils-* : °üÀ¨»ù±¾µÄNFSÃüÁîÓë¼à¿Ø³ÌÐò
portmap-* : Ö§³Ö°²È«NFS RPC·þÎñµÄÁ¬½Ó
quota-* : ÍøÂçÉϹ²Ïí...
³ÌÐò˵Ã÷£º ¶àÏ̲߳¢·¢£¬ÔÚ½ÓÊÕµ½ÇëÇóʱ£¬½«Ã¿¸öÇëÇó´´½¨¸öÏß³ÌÀ´Ö´ÐУ¬ÔÏß³Ì(¼´Ö÷Ïß³Ì)¼ÌÐølisten.
ÔÚ´´½¨¶àÏß³ÌʱµÄÖ÷ÒªÎÊÌâÊÇ´«ÈëÏ̲߳ÎÊý¡£
NAME
pthread_create - create a...
.codeblock{border:1px solid #cccccc;background-color:#efefef;padding:10px;}
²¿Öè
Ê×ÏÈ£¬ÓÐÁ½¸öÏÈÒªÂú×ãÌõ¼þ£¨Pre-requisites£©£º
1. Äں˰汾±ØÐèΪ 2.6.13 »òÒÔÉÏ£¬ÒòΪ×Ըð汾ÆðÄÚÖÃÁË kexec ϵͳºô½ÐµÄ³ÌÐò¡£
2. ϵͳÐèÒª°²×° kexec-...
¹ØÓÚ¾ßÓжþ½øÖƼæÈÝÐÔµÄÓ¦ÓóÌÐò¶þ½øÖÆ½Ó¿Ú GCJ µÄ˵Ã÷
Ðí¶à Java Ó¦ÓóÌÐò¼Ù¶¨ËüÃǽ«Ö»»áÓÉÒ»¸ö Java ÐéÄâ»ú½âÊÍ£¬¶ø²»ÊÇÓÉÒ»¸öÏñ GCJ Ò»ÑùÓëʱ¾ã½øµÄ±àÒëÆ÷½øÐб¾µØ±àÒëµÄ¡£ÕâЩ Java Ó¦ÓóÌÐò¿ÉÄܼÙÉè×Ô¼ººÜÄÑÔÚûÓо¹ýÖØ´óÔ´´úÂëÐÞ¸ÄÇé¿öϽøÐб¾µØ±àÒëµÄÔËÐл·¾³ÖÐÔËÐС£ÏÔÈ»£¬ÔÚ¶ÁÈ¡×Ö½ÚÂëÁ÷²¢Ê¹Óà ClassLoader.def...
ÔÚlinuxÏÂÈçºÎÉèÖû·¾³±äÁ¿
1. ÏÔʾ»·¾³±äÁ¿HOME
$ echo $HOME
/home/terry
2. ÉèÖÃÒ»¸öеĻ·¾³±äÁ¿WELCOME
$ export WELCOME="Hello!"
$ echo $WELCOME
Hello!
3. ʹÓÃenvÃüÁîÏÔʾËùÓеĻ·¾³±äÁ¿
$ env
HOSTNAME=terry.mykms.org
PVM_RSH=/usr/bin/rsh
SHELL=/bin/bash
TERM=xter...
¸øLinuxϵͳÐÂÊÖѧϰµÄ11µã½¨Òé
¶ÔÓÚ¸Õ¸Õ½Ó´¥linuxµÄÐÂÊÖ£¬¶ÔwindowsµÄµÄÏ°¹ß»¹Ã»ÓÐÉáÆú£¬Ê¹ÓÃlinux»¹²»ÄܵÃÐÄÓ¦ÊÖ£¬¶ÔÓÚ´ËÖÖÇé¿ö±ÊÕ߸øÓèÐÂÊÖµÄ11µã½¨Ò飬ϣÍûÔÚÄúµÄlinuxµÄÉúÑÄÖÐÄܹ»Æðµ½Ò»¶¨µÄ×÷Óã¡
LinuxÏÂÔö¼ÓApacheµÄrewrite Module
×î½ü£¬ÏîÄ¿ÐèÒªÔÚÒѾ±àÒëºÃµÄApacheÉÏÒÔ¶¯Ì¬·½Ê½¼ÓÔØrewriteÄ£¿é¡£ÓÚÊÇ£¬ÎÒÃÇÔÚÍøÉÏÕÒÁËÐí¶à×ÊÁÏ£¬µ«¶¼½²½âµÃ²»ÊǺÜÏêϸÇÒ¸ñʽ´íλÎÊÌâÑÏÖØ¡£ËùÒÔÎÒÃÇÓбØÒª°ÑÕâÒ»¹ý³ÌÔÙÖØÊöÒ»±é¡£Êµ¼Ê²Ù×÷²½ÖèÈçÏ£º
¹¤×÷ÏÖ³¡ÃèÊö£º
Linux 2.4.21
&...
linux³£ÓÃÃüÁî´óÈ«££µµ°¸Ä¿Â¼Æª
Ò».cd
Ãû³Æ : cd
ʹÓÃȨÏÞ : ËùÓÐʹÓÃÕß
ʹÓ÷½Ê½ : cd [dirName]
˵Ã÷ : ±ä»»¹¤×÷Ŀ¼ÖÁ dirName¡£ ÆäÖÐ dirName ±íʾ·¨¿ÉΪ¾ø¶Ô·¾¶»òÏà¶Ô·¾¶¡£ÈôĿ¼Ãû³ÆÊ¡ÂÔ£¬Ôò±ä»»...
Fedora core5ÖÐÌí¼ÓÔ´sourcelist£¬Ê¹ÓÃyum¹ÜÀí°ü
°²×°ÁËFedora core5ºó£¬Ê¹ÓÃyumÀ´¹ÜÀí°üºÜ·½±ã£¬µ«ÊÇÕÒµ½µÄÔ´¶¼ÊÇÍâÍø»òÕß²»ÖªµÀÈçºÎÉèÖã¬Ã»Óа취ʹÓá£
ÔÚͬѧµÄŬÁ¦Ï£¬ÎÒÖÕÓڸ㶨ÁË£¬·ÖÏíһϡ£
ÆäsourcelistÊÇÔÚ/etc/yum.repos.dÏÂÃ棬Ö÷ÒªÐÞ¸ÄÏÂÃæ3¸öÎļþ¡£ÐÞ¸ÄÇ°±¸·ÝÒ»ÏÂ
1. fedora-core.repo
Ð޸ijÉ
...
debianѧϰ±Ê¼Ç--profileÎļþÏà½Ó£¨»·¾³±äÁ¿½²½â£©
ÔÚlinuxϵͳÖдó¼Ò¶¼»á½Ó´¥µ½»·¾³±äÁ¿µÄÎÊÌ⣬ÔÚ¸Õ¿ªÊ¼½Ó´¥Ê±¾õµÃÓеãÄÑ£¬¾¹ý¶à´ÎÑéÖ¤£¬×ܽáÁËһЩ¸öÈË¿´·¨£¬Ó¦¸ÃÎÊÌâ²»´ó¡£
1¡¢LinuxÊÇÒ»¸ö¶àÓû§µÄ²Ù×÷ϵͳ¡£Ã¿¸öÓû§µÇ¼ϵͳºó£¬¶¼»áÓÐÒ»¸öרÓõÄÔËÐл·¾³¡£Í¨³£Ã¿¸öÓû§Ä¬ÈϵĻ·¾³¶¼ÊÇÏàͬµÄ£¬Õâ¸öĬÈÏ»·¾³Êµ...