锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲国语精品自产拍在线观看,亚洲天堂av在线免费观看,欧美视频一区二区在线观看http://www.shnenglu.com/wc250en007/category/18815.html鍓嶈繘鐨勮礬涓?/description>zh-cnSat, 03 Nov 2012 04:26:49 GMTSat, 03 Nov 2012 04:26:49 GMT60鏈夊叧Linux鐨?a銆?so鍜?o鏂囦歡(杞?http://www.shnenglu.com/wc250en007/archive/2012/11/03/194186.htmlLet me see seeLet me see seeFri, 02 Nov 2012 23:53:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/11/03/194186.htmlhttp://www.shnenglu.com/wc250en007/comments/194186.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/11/03/194186.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/194186.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/194186.htmlgcc 鐢熸垚 .a闈欐佸簱鍜?.so鍔ㄦ佸簱 

鎴戜滑閫氬父鎶婁竴浜涘叕鐢ㄥ嚱鏁板埗浣滄垚鍑芥暟搴擄紝渚涘叾瀹冪▼搴忎嬌鐢ㄣ傚嚱鏁板簱鍒嗕負闈欐佸簱鍜屽姩鎬佸簱涓?/span>
縐嶃傞潤鎬佸簱鍦ㄧ▼搴忕紪璇戞椂浼氳榪炴帴鍒扮洰鏍囦唬鐮佷腑錛岀▼搴忚繍琛屾椂灝嗕笉鍐嶉渶瑕佽闈欐佸簱銆傚姩鎬?/span>
搴撳湪紼嬪簭緙栬瘧鏃跺茍涓嶄細琚繛鎺ュ埌鐩爣浠g爜涓紝鑰屾槸鍦ㄧ▼搴忚繍琛屾槸鎵嶈杞藉叆錛屽洜姝ゅ湪紼嬪簭榪?/span>
琛屾椂榪橀渶瑕佸姩鎬佸簱瀛樺湪銆傛湰鏂囦富瑕侀氳繃涓句緥鏉ヨ鏄庡湪Linux涓浣曞垱寤洪潤鎬佸簱鍜屽姩鎬佸簱錛屼互
鍙婁嬌鐢ㄥ畠浠?/span>

鍦ㄥ垱寤哄嚱鏁板簱鍓嶏紝鎴戜滑鍏堟潵鍑嗗涓句緥鐢ㄧ殑婧愮▼搴忥紝騫跺皢鍑芥暟搴撶殑婧愮▼搴忕紪璇戞垚.o鏂囦歡銆?/span>


絎?姝ワ細緙栬緫寰楀埌涓句緥鐨勭▼搴?-hello.h銆乭ello.c鍜宮ain.c錛?/span>

hello.c(瑙佺▼搴?)鏄嚱鏁板簱鐨勬簮紼嬪簭錛屽叾涓寘鍚叕鐢ㄥ嚱鏁癶ello錛岃鍑芥暟灝嗗湪灞忓箷涓婅緭鍑?
Hello XXX!"銆俬ello.h(瑙佺▼搴?)涓鴻鍑芥暟搴撶殑澶存枃浠躲俶ain.c(瑙佺▼搴?)涓烘祴璇曞簱鏂囦歡鐨?/span>
涓葷▼搴忥紝鍦ㄤ富紼嬪簭涓皟鐢ㄤ簡鍏敤鍑芥暟hello銆?/span>

紼嬪簭1: hello.h

#ifndef HELLO_H
#define HELLO_H

void hello(const char *name);

#endif //HELLO_H



紼嬪簭2: hello.c

#include <stdio.h>

void hello(const char *name)
{
printf("Hello %s!\n", name);
}

紼嬪簭3: main.c

#include "hello.h"

int main()
{
hello("everyone");
return 0;
}

絎?姝ワ細灝唄ello.c緙栬瘧鎴?o鏂囦歡錛?/span>

鏃犺闈欐佸簱錛岃繕鏄姩鎬佸簱錛岄兘鏄敱.o鏂囦歡鍒涘緩鐨勩傚洜姝わ紝鎴戜滑蹇呴』灝嗘簮紼嬪簭hello.c閫氳繃g
cc鍏堢紪璇戞垚.o鏂囦歡銆?/span>

鍦ㄧ郴緇熸彁紺虹涓嬮敭鍏ヤ互涓嬪懡浠ゅ緱鍒癶ello.o鏂囦歡銆?/span>

# gcc -c hello.c

#

鎴戜滑榪愯ls鍛戒護鐪嬬湅鏄惁鐢熷瓨浜唄ello.o鏂囦歡銆?/span>

# ls

hello.c hello.h hello.o main.c

#


鍦╨s鍛戒護緇撴灉涓紝鎴戜滑鐪嬪埌浜唄ello.o鏂囦歡錛屾湰姝ユ搷浣滃畬鎴愩?/span>

涓嬮潰鎴戜滑鍏堟潵鐪嬬湅濡備綍鍒涘緩闈欐佸簱錛屼互鍙婁嬌鐢ㄥ畠銆?/span>

絎?姝ワ細鐢?o鏂囦歡鍒涘緩闈欐佸簱錛?/span>

闈欐佸簱鏂囦歡鍚嶇殑鍛藉悕瑙勮寖鏄互lib涓哄墠緙錛岀揣鎺ョ潃璺熼潤鎬佸簱鍚嶏紝鎵╁睍鍚嶄負.a銆備緥濡傦細鎴戜滑灝?/span>
鍒涘緩鐨勯潤鎬佸簱鍚嶄負myhello錛屽垯闈欐佸簱鏂囦歡鍚嶅氨鏄痩ibmyhello.a銆傚湪鍒涘緩鍜屼嬌鐢ㄩ潤鎬佸簱鏃訛紝
闇瑕佹敞鎰忚繖鐐廣傚垱寤洪潤鎬佸簱鐢╝r鍛戒護銆?/span>

鍦ㄧ郴緇熸彁紺虹涓嬮敭鍏ヤ互涓嬪懡浠ゅ皢鍒涘緩闈欐佸簱鏂囦歡libmyhello.a銆?/span>

# ar -crv libmyhello.a hello.o

#

鎴戜滑鍚屾牱榪愯ls鍛戒護鏌ョ湅緇撴灉錛?/span>

# ls

hello.c hello.h hello.o libmyhello.a main.c

#

ls鍛戒護緇撴灉涓湁libmyhello.a銆?/span>

絎?姝ワ細鍦ㄧ▼搴忎腑浣跨敤闈欐佸簱錛?/span>

闈欐佸簱鍒朵綔瀹屼簡錛屽浣曚嬌鐢ㄥ畠鍐呴儴鐨勫嚱鏁板憿錛熷彧闇瑕佸湪浣跨敤鍒拌繖浜涘叕鐢ㄥ嚱鏁扮殑婧愮▼搴忎腑鍖?/span>
鍚繖浜涘叕鐢ㄥ嚱鏁扮殑鍘熷瀷澹版槑錛岀劧鍚庡湪鐢╣cc鍛戒護鐢熸垚鐩爣鏂囦歡鏃舵寚鏄庨潤鎬佸簱鍚嶏紝gcc灝嗕細浠?/span>
闈欐佸簱涓皢鍏敤鍑芥暟榪炴帴鍒扮洰鏍囨枃浠朵腑銆傛敞鎰忥紝gcc浼氬湪闈欐佸簱鍚嶅墠鍔犱笂鍓嶇紑lib錛岀劧鍚庤拷
鍔犳墿灞曞悕.a寰楀埌鐨勯潤鎬佸簱鏂囦歡鍚嶆潵鏌ユ壘闈欐佸簱鏂囦歡銆?/span>

鍦ㄧ▼搴?:main.c涓紝鎴戜滑鍖呭惈浜嗛潤鎬佸簱鐨勫ご鏂囦歡hello.h錛岀劧鍚庡湪涓葷▼搴弇ain涓洿鎺ヨ皟鐢ㄥ叕
鐢ㄥ嚱鏁癶ello銆備笅闈㈠厛鐢熸垚鐩爣紼嬪簭hello錛岀劧鍚庤繍琛宧ello紼嬪簭鐪嬬湅緇撴灉濡備綍銆?/span>

娉曚竴 # gcc -o hello main.c -L. –lmyhello錛岃嚜瀹氫箟鐨勫簱鏃訛紝main.c榪樺彲鏀懼湪-L.鍜?–lmyhello涔嬮棿錛屼絾鏄笉鑳芥斁鍦ㄥ畠淇╀箣鍚庯紝鍚﹀垯浼氭彁紺簃yhello娌″畾涔夛紝浣嗘槸鏄郴緇熺殑搴撴椂錛屽g++ -o main錛?L/usr/lib錛?-lpthread main.cpp灝變笉鍑洪敊銆?/span>

娉曚簩 #gcc main.c libmyhello.a -o hello

娉曚笁錛氬厛鐢熸垚main.o錛歡cc -c main.c 錛屽啀鐢熸垚鍙墽琛屾枃浠訛細gcc -o hello main.o libmyhello.a錛屽姩鎬佸簱榪炴帴鏃朵篃鍙互榪欐牱鍋氥?/span>



# ./hello

Hello everyone!

#

鎴戜滑鍒犻櫎闈欐佸簱鏂囦歡璇曡瘯鍏敤鍑芥暟hello鏄惁鐪熺殑榪炴帴鍒扮洰鏍囨枃浠?hello涓簡銆?/span>

# rm libmyhello.a

rm: remove regular file `libmyhello.a'? y

# ./hello

Hello everyone!

#

紼嬪簭鐓у父榪愯錛岄潤鎬佸簱涓殑鍏敤鍑芥暟宸茬粡榪炴帴鍒扮洰鏍囨枃浠朵腑浜嗐?/span>

鎴戜滑緇х畫鐪嬬湅濡備綍鍦↙inux涓垱寤哄姩鎬佸簱銆傛垜浠繕鏄粠.o鏂囦歡寮濮嬨?/span>

絎?姝ワ細鐢?o鏂囦歡鍒涘緩鍔ㄦ佸簱鏂囦歡錛?/span>

鍔ㄦ佸簱鏂囦歡鍚嶅懡鍚嶈鑼冨拰闈欐佸簱鏂囦歡鍚嶅懡鍚嶈鑼冪被浼鹼紝涔熸槸鍦ㄥ姩鎬佸簱鍚嶅鍔犲墠緙lib錛屼絾鍏?/span>
鏂囦歡鎵╁睍鍚嶄負.so銆備緥濡傦細鎴戜滑灝嗗垱寤虹殑鍔ㄦ佸簱鍚嶄負myhello錛屽垯鍔ㄦ佸簱鏂囦歡鍚嶅氨鏄痩ibmyh
ello.so銆傜敤gcc鏉ュ垱寤哄姩鎬佸簱銆?/span>

鍦ㄧ郴緇熸彁紺虹涓嬮敭鍏ヤ互涓嬪懡浠ゅ緱鍒板姩鎬佸簱鏂囦歡libmyhello.so銆?/span>



# gcc -shared -fPCI -o libmyhello.so hello.o 錛?o涓嶅彲灝戯級

#

鎴戜滑鐓ф牱浣跨敤ls鍛戒護鐪嬬湅鍔ㄦ佸簱鏂囦歡鏄惁鐢熸垚銆?/span>

# ls

hello.c hello.h hello.o libmyhello.so main.c

#

絎?姝ワ細鍦ㄧ▼搴忎腑浣跨敤鍔ㄦ佸簱錛?/span>

鍦ㄧ▼搴忎腑浣跨敤鍔ㄦ佸簱鍜屼嬌鐢ㄩ潤鎬佸簱瀹屽叏涓鏍鳳紝涔熸槸鍦ㄤ嬌鐢ㄥ埌榪欎簺鍏敤鍑芥暟鐨勬簮紼嬪簭涓寘鍚?/span>
榪欎簺鍏敤鍑芥暟鐨勫師鍨嬪0鏄庯紝鐒跺悗鍦ㄧ敤gcc鍛戒護鐢熸垚鐩爣鏂囦歡鏃舵寚鏄庡姩鎬佸簱鍚嶈繘琛岀紪璇戙傛垜浠?/span>
鍏堣繍琛実cc鍛戒護鐢熸垚鐩爣鏂囦歡錛屽啀榪愯瀹冪湅鐪嬬粨鏋溿?/span>

# gcc -o hello main.c -L. -lmyhello



(鎴?#gcc main.c libmyhello.so -o hello 涓嶄細鍑洪敊錛堟病鏈塴ibmyhello.so鐨勮瘽錛屼細鍑洪敊錛夛紝浣嗘槸鎺ヤ笅鏉?/hello 浼氭彁紺哄嚭閿欙紝鍥犱負铏界劧榪炴帴鏃剁敤鐨勬槸褰撳墠鐩綍鐨勫姩鎬佸簱錛屼絾鏄繍琛屾椂錛屾槸鍒?usr/lib涓壘搴撴枃浠剁殑錛屽皢鏂囦歡libmyhello.so澶嶅埗鍒扮洰褰?usr/lib涓氨OK浜?

# ./hello

./hello: error while loading shared libraries: libmyhello.so: cannot open shar
ed object file: No such file or directory

#

鍝︼紒鍑洪敊浜嗐傚揩鐪嬬湅閿欒鎻愮ず錛屽師鏉ユ槸鎵句笉鍒板姩鎬佸簱鏂囦歡libmyhello.so銆傜▼搴忓湪榪愯鏃訛紝
浼氬湪/usr/lib鍜?lib絳夌洰褰曚腑鏌ユ壘闇瑕佺殑鍔ㄦ佸簱鏂囦歡銆傝嫢鎵懼埌錛屽垯杞藉叆鍔ㄦ佸簱錛屽惁鍒欏皢鎻?/span>
紺虹被浼間笂榪伴敊璇岀粓姝㈢▼搴忚繍琛屻傛垜浠皢鏂囦歡libmyhello.so澶嶅埗鍒扮洰褰?usr/lib涓紝鍐嶈瘯
璇曘?/span>

# mv libmyhello.so /usr/lib

# ./hello

Hello everyone!

#

鎴愬姛浜嗐傝繖涔熻繘涓姝ヨ鏄庝簡鍔ㄦ佸簱鍦ㄧ▼搴忚繍琛屾椂鏄渶瑕佺殑銆?/span>

鎴戜滑鍥炶繃澶寸湅鐪嬶紝鍙戠幇浣跨敤闈欐佸簱鍜屼嬌鐢ㄥ姩鎬佸簱緙栬瘧鎴愮洰鏍囩▼搴忎嬌鐢ㄧ殑gcc鍛戒護瀹屽叏涓鏍鳳紝
閭e綋闈欐佸簱鍜屽姩鎬佸簱鍚屽悕鏃訛紝gcc鍛戒護浼氫嬌鐢ㄥ摢涓簱鏂囦歡鍛紵鎶辯潃瀵歸棶棰樺繀絀跺埌搴曠殑蹇冩儏錛?/span>
鏉ヨ瘯璇曠湅銆?/span>

鍏堝垹闄ら櫎.c鍜?h澶栫殑鎵鏈夋枃浠訛紝鎭㈠鎴愭垜浠垰鍒氱紪杈戝畬涓句緥紼嬪簭鐘舵併?/span>

# rm -f hello hello.o /usr/lib/libmyhello.so

# ls

hello.c hello.h main.c

#

鍦ㄦ潵鍒涘緩闈欐佸簱鏂囦歡libmyhello.a鍜屽姩鎬佸簱鏂囦歡libmyhello.so銆?/span>

# gcc -c hello.c

# ar -cr libmyhello.a hello.o 錛堟垨-cvr 錛?/span>

# gcc -shared -fPCI -o libmyhello.so hello.o

# ls

hello.c hello.h hello.o libmyhello.a libmyhello.so main.c

#

閫氳繃涓婅堪鏈鍚庝竴鏉s鍛戒護錛屽彲浠ュ彂鐜伴潤鎬佸簱鏂囦歡libmyhello.a鍜屽姩鎬佸簱鏂囦歡libmyhello.s
o閮藉凡緇忕敓鎴愶紝騫墮兘鍦ㄥ綋鍓嶇洰褰曚腑銆傜劧鍚庯紝鎴戜滑榪愯gcc鍛戒護鏉ヤ嬌鐢ㄥ嚱鏁板簱myhello鐢熸垚鐩爣
鏂囦歡hello錛屽茍榪愯紼嬪簭 hello銆?/span>

# gcc -o hello main.c -L. –lmyhello 錛堝姩鎬佸簱鍜岄潤鎬佸簱鍚屾椂瀛樺湪鏃訛紝浼樺厛浣跨敤鍔ㄦ佸簱錛?褰撶劧錛岀洿鎺?gcc main.c libmyhello.a -o hello鐨勮瘽錛屽氨鏄寚瀹氫負闈欐佸簱浜嗭級

# ./hello

./hello: error while loading shared libraries: libmyhello.so: cannot open shar
ed object file: No such file or directory

#

浠庣▼搴廻ello榪愯鐨勭粨鏋滀腑寰堝鏄撶煡閬擄紝褰撻潤鎬佸簱鍜屽姩鎬佸簱鍚屽悕鏃訛紝gcc鍛戒護灝嗕紭鍏堜嬌鐢ㄥ姩鎬佸簱錛岄粯璁ゅ幓榪?usr/lib鍜?lib絳夌洰褰曚腑鐨勫姩鎬佸簱錛屽皢鏂囦歡libmyhello.so澶嶅埗鍒扮洰褰?usr/lib涓嵆鍙?/span>

Note:
緙栬瘧鍙傛暟瑙f瀽
鏈涓昏鐨勬槸GCC鍛戒護琛岀殑涓涓夐」:
-shared 璇ラ夐」鎸囧畾鐢熸垚鍔ㄦ佽繛鎺ュ簱錛堣榪炴帴鍣ㄧ敓鎴怲綾誨瀷鐨勫鍑虹鍙瘋〃錛屾湁鏃跺欎篃鐢熸垚寮辮繛鎺綾誨瀷鐨勫鍑虹鍙鳳級錛屼笉鐢ㄨ鏍囧織澶栭儴紼嬪簭鏃犳硶榪炴帴銆傜浉褰撲簬涓涓彲鎵ц鏂囦歡
-fPIC 琛ㄧず緙栬瘧涓轟綅緗嫭绔嬬殑浠g爜錛屼笉鐢ㄦ閫夐」鐨勮瘽緙栬瘧鍚庣殑浠g爜鏄綅緗浉鍏崇殑鎵浠ュ姩鎬佽澆鍏ユ椂鏄氳繃浠g爜鎷瘋礉鐨勬柟寮忔潵婊¤凍涓嶅悓榪涚▼鐨勯渶瑕侊紝鑰屼笉鑳借揪鍒扮湡姝d唬鐮佹鍏變韓鐨勭洰鐨勩?/span>

-L. 琛ㄧず瑕佽繛鎺ョ殑搴撳湪褰撳墠鐩綍涓紱錛堝涓簱錛氬湪緙栬瘧鍛戒護琛屼腑錛屽皢浣跨敤鐨勯潤鎬佸簱鏂囦歡鏀懼湪婧愭枃浠跺悗闈㈠氨鍙互浜嗐傛瘮濡傦細gcc -L/usr/lib myprop.c libtest.a libX11.a libpthread.a -o myprop
鍏朵腑-L/usr/lib鎸囧畾搴撴枃浠剁殑鏌ユ壘璺緞銆傜紪璇戝櫒榛樿鍦ㄥ綋鍓嶇洰褰曚笅鍏堟煡鎵炬寚瀹氱殑搴撴枃浠訛紝濡傚墠闈㈢殑“娉曚簩 #gccmain.c libmyhello.a-o hello”錛?/span>


-lmyhello 緙栬瘧鍣ㄦ煡鎵懼姩鎬佽繛鎺ュ簱鏃舵湁闅愬惈鐨勫懡鍚嶈鍒欙紝鍗沖湪緇欏嚭鐨勫悕瀛楀墠闈㈠姞涓妉ib錛屽悗闈㈠姞涓?so鎴?a鏉ョ‘瀹氬簱鐨勫悕縐發ibmyhello.so鎴杔ibmyhello.a銆?/span>
LD_LIBRARY_PATH榪欎釜鐜鍙橀噺鎸囩ず鍔ㄦ佽繛鎺ュ櫒鍙互瑁呰澆鍔ㄦ佸簱鐨勮礬寰勩?/span>
褰撶劧濡傛灉鏈塺oot鏉冮檺鐨勮瘽錛屽彲浠ヤ慨鏀?etc/ld.so.conf鏂囦歡錛岀劧鍚庤皟鐢?/sbin/ldconfig鏉ヨ揪鍒板悓鏍風殑鐩殑錛屼笉榪囧鏋滄病鏈塺oot鏉冮檺錛岄偅涔堝彧鑳介噰鐢ㄨ緭鍑篖D_LIBRARY_PATH鐨勬柟娉曚簡銆?/span>

璋冪敤鍔ㄦ佸簱鐨勬椂鍊欐湁鍑犱釜闂浼氱粡甯哥鍒幫紝鏈夋椂錛屾槑鏄庡凡緇忓皢搴撶殑澶存枃浠舵墍鍦ㄧ洰褰?閫氳繃 “-I” include榪涙潵浜嗭紝搴撴墍鍦ㄦ枃浠墮氳繃 “-L”鍙傛暟寮曞錛屽茍鎸囧畾浜?#8220;-l”鐨勫簱鍚嶏紝浣嗛氳繃ldd鍛戒護瀵熺湅鏃訛紝灝辨槸姝繪椿鎵句笉鍒頒綘鎸囧畾閾炬帴鐨剆o鏂囦歡錛岃繖鏃朵綘瑕佷綔鐨勫氨鏄氳繃淇敼 LD_LIBRARY_PATH鎴栬?etc/ld.so.conf鏂囦歡鏉ユ寚瀹氬姩鎬佸簱鐨勭洰褰曘傞氬父榪欐牱鍋氬氨鍙互瑙e喅搴撴棤娉曢摼鎺ョ殑闂浜嗐?/span>

鍙︼細

浠庝笂榪板彲鐭ワ紝濡備綍鎵懼埌鐢熸垚鐨勫姩鎬佸簱鏈?縐嶆柟寮忥細

(1)鎶婂簱鎷瘋礉鍒?usr/lib鍜?lib鐩綍涓嬨?/span>

(2)鍦↙D_LIBRARY_PATH鐜鍙橀噺涓姞涓婂簱鎵鍦ㄨ礬寰勩?/span>

渚嬪鍔ㄦ佸簱libhello.so鍦?home/example/lib鐩綍涓嬶細

$export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/example/lib

(3) 淇敼/etc/ld.so.conf鏂囦歡錛屾妸搴撴墍鍦ㄧ殑璺緞鍔犲埌鏂囦歡鏈熬錛屽茍鎵цldconfig鍒鋒柊銆傝繖鏍鳳紝鍔犲叆鐨勭洰褰曚笅鐨勬墍鏈夊簱鏂囦歡閮藉彲瑙併?/span>

闄勶細鍍忎笅闈㈣繖鏍鋒寚瀹氳礬寰勫幓榪炴帴緋葷粺鐨勯潤鎬佸簱錛屼細鎶ラ敊璇磋榪炴帴鐨勫簱鎵句笉鍒?

g++ -o main main.cpp -L/usr/lib libpthread.a 

蹇呴』榪欐牱g++ -o main main.cpp -L/usr/lib -lpthread鎵嶆紜?銆?/span>

鑷畾涔夌殑搴撹冨埌/usr/lib 涓嬫椂錛?/span>

g++ -o main main.cpp -L/usr/lib libpthread.a libthread.a libclass.a浼氬嚭閿欙紝浣嗘槸榪欐牱g++ -o main main.cpp -L/usr/lib -lpthread -lthread -lclass灝辨紜簡銆?/span>



杞嚜錛歨ttp://hi.baidu.com/錕斤拷錕斤拷錕斤拷/blog/item/e58ed2f142913ea7a50f525e.html
鏉ヨ嚜: http://hi.baidu.com/jiyeqian/blog/item/d6886e22c93f5ef8d6cae27c.html

]]>
ubunto涓嬪畨瑁呮悳鐙楁嫾闊寵緭鍏ユ硶http://www.shnenglu.com/wc250en007/archive/2012/07/07/182069.htmlLet me see seeLet me see seeSat, 07 Jul 2012 05:48:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/07/07/182069.htmlhttp://www.shnenglu.com/wc250en007/comments/182069.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/07/07/182069.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/182069.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/182069.html
鍘熷垱浣滃搧錛屽厑璁歌漿杞斤紝杞澆鏃惰鍔″繀浠ヨ秴閾炬帴褰㈠紡鏍囨槑鏂囩珷 鍘熷鍑哄 銆佷綔鑰呬俊鎭拰鏈0鏄庛傚惁鍒欏皢榪界┒娉曞緥璐d換銆?a >http://lhflinux.blog.51cto.com/1961662/515610

ubunto涓嬪畨瑁呮悳鐙楁嫾闊寵緭鍏ユ硶

1.棣栧厛涓嬭澆scim瀹夎鍖?/p>

cd /home/haifeng

wget http://scim-python.googlecode.com/files/scim-python-0.1.12.tar.gz

 

2.瑙e帇瀹夎鍖?騫惰繘鍏ュ叾鐩綍銆?/p>

haifeng@haifeng-EX38-DS4:~/涓嬭澆$ tar zxf scim-python-0.1.12.tar.gz

haifeng@haifeng-EX38-DS4:~/涓嬭澆$ cd scim-python-0.1.12/

 

3.浣跨敤apt-get 瀹夎scim鎵渚濊禆鍒版墿灞曞簱

    sudo apt-get install scim-dev
    sudo apt-get install python-dev
    sudo apt-get install python-enchant
    sudo apt-get install python-gtk2-dev
    sudo apt-get install libgtk2.0-dev
 

4.緙栬瘧瀹夎scim婧愮爜鍖?/p>

    ./configure --prefix=/usr/local
    make
    sudo make install
 

5.閲嶅惎緋葷粺 reboot

浣跨敤 Ctrl+絀烘牸閿?榪涜鍒囨崲杈撳叆娉?/p>

 

 

6.鎴愬姛

 

 

 

鏈枃鍑鴻嚜 “嫻烽鐨刲inux涔嬭礬” 鍗氬錛岃鍔″繀淇濈暀姝ゅ嚭澶?a >http://lhflinux.blog.51cto.com/1961662/515610



]]>
E:Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) http://www.shnenglu.com/wc250en007/archive/2012/07/07/182056.htmlLet me see seeLet me see seeSat, 07 Jul 2012 04:37:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/07/07/182056.htmlhttp://www.shnenglu.com/wc250en007/comments/182056.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/07/07/182056.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/182056.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/182056.html

鍑虹幇榪欎釜闂鐨勫師鍥犲彲鑳芥槸鏈夊彟澶栦竴涓▼搴忔鍦ㄨ繍琛岋紝瀵艱嚧璧勬簮琚攣涓嶅彲鐢ㄣ傝屽鑷磋祫婧愯閿佺殑鍘熷洜錛屽彲鑳芥槸涓婃瀹夎鏃舵病姝e父瀹屾垚錛岃屽鑷村嚭鐜版鐘跺喌銆?/p>

瑙e喅鏂規硶錛氳緭鍏ヤ互涓嬪懡浠?/p>

sudo rm /var/cache/apt/archives/lock

sudo rm /var/lib/dpkg/lock

涔嬪悗鍐嶅畨瑁呮兂瑁呯殑鍖咃紝鍗沖彲瑙e喅

 

 

浠婂ぉ鐜﹗buntu鐨勬椂鍊欙紝鍦ㄥ紕鏇存柊婧愮殑鏃跺欙紝紿佺劧鍑虹幇浠ヤ笅閿欒錛?/p>

[1]+ Stopped                 sudo apt-get update
haiquan@haiquan-desktop:~$ sudo apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the list directory

寮濮嬩互涓烘槸鏉冮檺涓嶅錛屽氨鏄敤 sudo apt-get update,鍙戠幇榪樻槸鎶ラ敊錛岄棶棰樻病鏈夎В鍐熾備簬鏄笂緗戞悳绱簡涓涓嬶紝絳旀濡備笅錛?/p>

闂搴旇鏄?span style="font-weight: bold; text-decoration: underline; font-style: italic;">涔嬪墠閭d釜鏇存柊琚己鍒跺彇娑堢殑闂錛岃繘紼嬩粛鐒惰繕鍦?/span>銆傜敤榪欎釜鍛戒護鏌ョ湅涓涓嬶細

ps -e | grep apt

鏄劇ず緇撴灉濡備笅錛?/p>

6362 ? 00:00:00 apt

6934 ? 00:00:00 apt-get

7368 ? 00:00:00 synaptic

use su to root:

root# kill 6362

root# kill 6934

root# kill 7368

鍐嶆鍦ㄧ粓绔噷鏌ョ湅ps -e | grep apt 娌℃湁浠諱綍緇撴灉浜?/p>

緇х畫鎵цsudo apt-get update

OK錛?/p>


http://blog.csdn.net/zyxlinux888/article/details/6358615



]]>
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?http://www.shnenglu.com/wc250en007/archive/2012/07/03/181265.htmlLet me see seeLet me see seeTue, 03 Jul 2012 08:42:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/07/03/181265.htmlhttp://www.shnenglu.com/wc250en007/comments/181265.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/07/03/181265.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/181265.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/181265.html鎵浠ラ鍏堢‘瀹氭病寮涓や釜APT-GET錛屽彂鐜版垜宸茬粡寮浜嗘柊绔嬪緱杞歡鍖呯鐞嗗櫒錛屽張鍦ㄧ粓绔敤apt-get錛屽叧鎺夋柊绔嬪緱杞歡鍖呯鐞嗗櫒銆傞棶棰樿В鍐熾?/p>

榪樻湁灝辨槸鍙互鍒犻櫎錛岄噸鏂伴厤緗?/p>

sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a



鍦板潃錛?a >http://blog.csdn.net/pfanaya/article/details/6695810

]]>
ubuntu涓緗畇ynergy鑷姩寮鏈哄惎鍔?杞?http://www.shnenglu.com/wc250en007/archive/2012/07/03/181258.htmlLet me see seeLet me see seeTue, 03 Jul 2012 06:35:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/07/03/181258.htmlhttp://www.shnenglu.com/wc250en007/comments/181258.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/07/03/181258.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/181258.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/181258.html瀵逛簬鏈変袱鍙癙C錛堜竴鍙癢IN涓鍙癓INUX錛夌殑鐢ㄦ埛鏉ヨ錛?synergy鏄竴涓緢濂界敤鐨勮蔣浠訛紝瀹冨彲浠ヨ浣犱袱鍙版満鍣ㄥ叡鐢ㄤ竴涓敭鐩樺拰涓涓紶鏍囥?/p>


WIN閲岃緗畇ynergy鑷姩鍚姩寰堢畝鍗曪紝浣唘buntu閲屽氨浼氭湁鐐瑰鏉傘傝涓ゅ彴鏈哄櫒寮鏈烘椂灝辮嚜鍔ㄨ繛鎺ヨ搗鏉ワ紝鐢ㄨ搗鏉ユ劅瑙夊氨鏄悓涓鍙版満鍣ㄤ竴鏍鳳紝闈炲父鏂逛究銆?/p>


涓嬮潰鏉ヤ粙緇嶄竴涓嬫庝箞璁﹕ynergy鑷姩寮鏈哄惎鍔ㄣ?娉ㄦ剰錛?榪欑瘒鏂囩珷鍙拡瀵?ubuntu !! 鍏朵粬鍙戣鐗堟湰鐨刲inux璁劇疆浼氭湁寰堝ぇ鐨勪笉鍚屻?絎旇呭湪ubuntu 10.4鍜?1.4涓婇兘瀹炶返榪囷紝娌℃湁闂錛岀浉淇buntu鐨勫叾浠栫増鏈篃鑳界敤涓娿?/p>


1. 鍒?/etc/gdm鐨勭洰褰曚笅錛岀湅鍒?Init, PostLogin鍜孭reSessions 涓変釜瀛愮洰褰曪紱

2. Init 榪欎釜瀛愮洰褰曚笅鏈変釜 Default 鏂囦歡錛?閲岄潰鐨勫唴瀹規槸綆$櫥褰曠敾闈㈡椂鐨勫惎鍔ㄩ」錛?/p>

    PostLogin涓嬩篃鏈変釜 Default鏂囦歡錛岄噷闈㈢殑鍐呭鏄姝e湪鐧誨綍鏃剁殑鍚姩欏癸紝

    PreSessions涓嬩篃鏈変釜Default鏂囦歡錛岄噷闈㈢殑鍐呭鏄姝e湪鐧誨綍鏃剁殑鍚姩欏癸紝

    濡傛灉浣犲彂鐜版病鏈塂efault鏂囦歡錛屽彧鏈変竴涓狣efault.sample鏂囦歡鐨勮瘽錛屼篃鏄甯哥殑錛孌efault.sample鏄粰浣犱綔涓轟竴涓ā鐗堟潵鍙傝冿紝璁╀綘鐭ラ亾鎬庝箞鍐橠efault鏂囦歡銆傝繖縐嶆儏鍐典笅錛屼綘鍙澶嶅埗涓涓媎efaut.sample鏂囦歡騫墮噸鍛藉悕涓篋efault灝辮錛屾垨鑰呯洿鎺ュ皢Default.sample鏀逛負Default涔熻銆?/p>


3. 鐒跺悗錛屽垎鍒榪欎釜涓夋枃浠舵坊鍔犱笅闈㈢殑鍐呭錛?/p>

    鍦↖nit鐨凞efault閲岋細 鍔犱笂

/usr/bin/killall synergyc 
sleep 1
/usr/bin/synergyc [<options>] synergy-server-hostname

    鍦≒ostLogin鐨凞efault閲岋細鍔犱笂

/usr/bin/killall synergyc 
sleep 1 

    鍦≒reSession鐨凞efault閲岋細鍔犱笂

/usr/bin/killall synergyc 
sleep 1 
/usr/bin/synergyc [<options>] 浣犺榪炵殑鏈哄櫒鐨処P(鎴栧畠鐨勮綆楁満鍚?            

/* 渚嬪鎴戠殑涓繪満鍚嶅彨 alvin-computer, ip鏄?12.22.33.44,   閭d箞榪欏彞搴旇榪欐牱鍐?usr/bin/synergyc 12.22.33.44    鎴?usr/bin/synergyc alvin-computer錛岃嚦浜庨偅涓猳ption灝變笉鐢ㄧ瀹冧簡*/


(榪欎簺璇彞鍒嗗埆鏄暐鎰忔濓紝鎴戝氨涓嶈璇翠簡錛屼綘鎳傜殑...錛?/p>

    鍒嗗埆淇濆瓨錛岄鍑猴紝閲嶅惎---------->澶у姛鍛婃垚錛侊紒錛侊紒


    鐢ㄨ繃synergy浣犲氨鐭ラ亾鎰熻鏄竴涓瓧錛?鐖斤紒

鍘熸枃鍦板潃錛?a >http://blog.csdn.net/lihaoweiv/article/details/6608563



]]>
Ubuntu閰嶇疆IP鍜孌NShttp://www.shnenglu.com/wc250en007/archive/2012/07/03/181229.htmlLet me see seeLet me see seeTue, 03 Jul 2012 02:48:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/07/03/181229.htmlhttp://www.shnenglu.com/wc250en007/comments/181229.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/07/03/181229.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/181229.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/181229.html棣栧厛璁劇疆IP

sudo vim /etc/network/interface

      灝嗗叾鍐呭鍒犻櫎 鍔犱笂浠ヤ笅鍐呭

       auto lo

       iface lo inet loopback

#浣跨敤緗戝崱0
       auto eth0

#浣跨敤闈欐両P
       iface eth0 inet 
static

       address 
192.168.0.168

       netmask 
255.255.255.0

       network 
192.168.0.0

       broadcast 
192.168.0.255

       gateway 
192.168.0.1



淇濆瓨 鐒跺悗淇敼DNS

sudo vim /etc/resolv.conf

       灝嗗唴瀹逛慨鏀逛負 nameserver 202.103.24.68

淇濆瓨 閲嶅惎緗戠粶榪炴帴

sudo /etc/init.d/networking restart

 



]]>
ubuntu涓嬫墽琛宻udo apt-get install鍑虹幇E: Could not get lock /var/lib/dpkg/lockhttp://www.shnenglu.com/wc250en007/archive/2012/07/03/181228.htmlLet me see seeLet me see seeTue, 03 Jul 2012 02:19:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/07/03/181228.htmlhttp://www.shnenglu.com/wc250en007/comments/181228.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/07/03/181228.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/181228.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/181228.html銆浠婂ぉ鎵撶畻鍦╱buntu涓嬪畨瑁呬釜mysql鐨勫紑鍙戝寘錛岃皝鐭ラ亾鍦ㄦ墽琛宻udo apt-get  install libmysqlclient15-dev鍛戒護鍚庯紝鍗村嚭鐜頒簡濡備笅閿欒淇℃伅錛?/p>
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

銆銆鍒氬紑濮嬩互涓烘槸闇瑕佸仠姝ysql鏈嶅姟錛屼簬鏄仠姝ysql鍚庢墽琛宻udo apt-get install libmysqlclient15-dev浠嶇劧鍑虹幇榪欎釜閿欒錛岀戶緇壘鍘熷洜鍙戠幇錛屾垜鍦ㄦ墽琛宻udo apt-get install libmysqlclient15-dev涔嬪墠錛屾墽琛屼簡sudo apt-get install gnome錛岃屼笖璇ヨ繃紼嬫鍦ㄤ笅杞借祫婧愶紝絳夎繖涓畨瑁呭畬鍚庡氨鍙互浜嗐?/p>

Could not get lock /var/lib/dpkg/lock瑙e喅鍔炴硶

銆銆媯鏌ヤ笅鍦ㄦ墽琛宻udo apt-get install鐨勬椂鍊欙紝涔嬪墠鐨剆udo apt-get install鏄惁宸茬粡瀹屾垚錛屽悓涓鏃墮棿鍙兘鏈変竴涓猻udo apt-get install鍦ㄦ墽琛岋紒



]]>
Windows騫沖彴涓嬭櫄鎷烾NIX鐜http://www.shnenglu.com/wc250en007/archive/2012/07/02/181148.htmlLet me see seeLet me see seeMon, 02 Jul 2012 08:44:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/07/02/181148.htmlhttp://www.shnenglu.com/wc250en007/comments/181148.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/07/02/181148.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/181148.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/181148.htmlcygwin鏄竴涓湪windows騫沖彴涓婅繍琛岀殑unix妯℃嫙鐜錛屾槸cygnus solutions鍏徃寮鍙戠殑鑷敱杞歡錛堣鍏徃寮鍙戜簡寰堝濂戒笢瑗匡紝钁楀悕鐨勮繕鏈塭Cos錛屼笉榪囩幇宸茶Redhat鏀惰喘錛夈傚畠瀵逛簬瀛︿範unix/linux鎿嶄綔鐜錛屾垨鑰呬粠unix鍒皐indows鐨?/span>搴旂敤紼嬪簭縐繪錛屾垨鑰呰繘琛屾煇浜涚壒孌婄殑寮鍙戝伐浣滐紝灝ゅ叾鏄嬌鐢╣nu宸ュ叿闆嗗湪windows涓婅繘琛?/span>宓屽叆寮忕郴緇熷紑鍙?/a>錛岄潪甯告湁鐢ㄣ傞殢鐫宓屽叆寮忕郴緇熷紑鍙戝湪鍥藉唴鏃ユ笎嫻佽錛岃秺鏉ヨ秺澶氱殑寮鍙戣呭cygwin浜х敓浜嗗叴瓚c?br />

cygwin鐨勫伐浣滄満鍒?/span>

銆銆cygnus褰撳垵棣栧厛鎶奼cc錛実db錛実as絳夊紑鍙戝伐鍏瘋繘琛屼簡鏀硅繘錛屼嬌浠栦滑鑳藉鐢熸垚騫惰В閲妛in32鐨勭洰鏍囨枃浠躲傜劧鍚庯紝浠栦滑瑕佹妸榪欎簺宸ュ叿縐繪鍒皐indows騫沖彴涓婂幓銆備竴縐嶆柟妗堟槸鍩轟簬win32 api瀵硅繖浜涘伐鍏風殑婧愪唬鐮佽繘琛屽ぇ騫呬慨鏀癸紝榪欐牱鍋氭樉鐒墮渶瑕佸ぇ閲忓伐浣溿傚洜姝わ紝浠栦滑閲囧彇浜嗕竴縐嶄笉鍚岀殑鏂規硶——浠栦滑鍐欎簡涓涓叡浜簱(灝辨槸cygwin dll)錛屾妸win32 api涓病鏈夌殑unix椋庢牸鐨勮皟鐢紙濡俧ork,spawn,signals,select,sockets絳夛級灝佽鍦ㄩ噷闈紝涔熷氨鏄錛屼粬浠熀浜?win32 api鍐欎簡涓涓猽nix緋葷粺搴撶殑妯℃嫙灞傘傝繖鏍鳳紝鍙鎶婅繖浜涘伐鍏風殑婧愪唬鐮佸拰榪欎釜鍏變韓搴撹繛鎺ュ埌涓璧鳳紝灝卞彲浠ヤ嬌鐢╱nix涓繪満涓婄殑浜ゅ弶緙栬瘧鍣ㄦ潵鐢熸垚鍙互鍦?windows騫沖彴涓婅繍琛岀殑宸ュ叿闆嗐備互榪欎簺縐繪鍒皐indows騫沖彴涓婄殑寮鍙戝伐鍏蜂負鍩虹錛宑ygnus鍙堥愭鎶婂叾浠栫殑宸ュ叿錛堝嚑涔庝笉闇瑕佸婧愪唬鐮佽繘琛屼慨鏀癸紝鍙渶瑕佷慨鏀逛粬浠殑閰嶇疆鑴氭湰錛夎蔣浠剁Щ妞嶅埌windows涓婃潵銆傝繖鏍鳳紝鍦╳indows騫沖彴涓婅繍琛宐ash鍜屽紑鍙戝伐鍏楓佺敤鎴峰伐鍏鳳紝鎰熻濂藉儚鍦╱nix涓婂伐浣溿?
鍚姩銆Cygwin銆閫氬父鍦ㄣCygwin瀹夎浣嶇疆錛屻鏈変竴涓?nbsp;cygwin.bat 鐨勭▼搴? 鍚姩浠? 浼氳繘鍏ninx鎺у埗鍙?

姝ゆ椂榪欎釜鎺у埗鍙板氨鍙互杈撳叆Unix鍛戒護浜? 

棣栧厛, 杈撳叆 cd 
/cygdrive

鐒跺悗杈撳叆 ls

姝ゆ椂搴旇鑳藉鐪嬪埌浣燱indows涓嬬殑鎵鏈夌洏絎? 榪欓噷cygwin鏄犲皠浜嗕綘鐨勬墍鏈夌‖鐩樼殑鐩樼鍚嶅瓧涓哄搴旂殑鏂囦歡澶?




鍘熸枃鍦板潃錛?a >http://baike.baidu.com/view/3968.htm


]]>
linux涓媣im鍛戒護璇﹁Вhttp://www.shnenglu.com/wc250en007/archive/2012/06/28/180652.htmlLet me see seeLet me see seeThu, 28 Jun 2012 08:25:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/06/28/180652.htmlhttp://www.shnenglu.com/wc250en007/comments/180652.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/06/28/180652.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/180652.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/180652.html闃呰鍏ㄦ枃

]]>
Ubuntu涓浣曟煡鐪嬭嚜韜殑IP鍦板潃http://www.shnenglu.com/wc250en007/archive/2012/06/28/180646.htmlLet me see seeLet me see seeThu, 28 Jun 2012 07:37:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/06/28/180646.htmlhttp://www.shnenglu.com/wc250en007/comments/180646.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/06/28/180646.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/180646.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/180646.html澶у閮界煡閬撳湪Windows涓煡鐪嬭嚜宸辯殑IP鍙互閫氳繃鍦ㄥ懡浠よ涓緭鍏?ipconfig /all"鐨勬柟寮忚繘琛岋紝浣嗘槸榪欑鏂規硶鍦ㄤ互Ubuntu涓轟唬琛ㄧ殑Linux涓槸鏃犳硶榪涜鐨勶紝閭d箞搴旇閲囩敤浠涔堟柟寮忓憿錛?/span>

銆銆鍏跺疄涔熷緢綆鍗曪紝鎵撳紑緇堢錛屽湪鍛戒護琛屼腑杈撳叆ifconfig錛屽洖杞﹀悗灝變細鍑虹幇鍦╳indows涓殑ipconfig榪戜箮鐩稿悓鐨勭粨鏋滐紝鐢氳嚦姣攚indows鏄劇ず鐨勮繕瑕佸叏闈紝濡備笅鍥炬墍紺猴細

銆銆銆

銆銆闇瑕佽鏄庣殑鏄紝eth0鍜宔th1鍒嗗埆浠h〃浜嗕袱鍧楃綉鍗★紝浠ユ垜浣跨敤鐨勬満鍣―ELL D600涓轟緥錛宔th0浠h〃Broadcom 5705鍗冨厗緗戝崱錛宔th1鍒欒〃紺轟負Intel wireless 2200鏃犵嚎緗戝崱銆?br />


]]>
Ubuntu 鏌ョ湅鍜屾潃姝昏繘紼?/title><link>http://www.shnenglu.com/wc250en007/archive/2012/06/28/180644.html</link><dc:creator>Let me see see</dc:creator><author>Let me see see</author><pubDate>Thu, 28 Jun 2012 07:29:00 GMT</pubDate><guid>http://www.shnenglu.com/wc250en007/archive/2012/06/28/180644.html</guid><wfw:comment>http://www.shnenglu.com/wc250en007/comments/180644.html</wfw:comment><comments>http://www.shnenglu.com/wc250en007/archive/2012/06/28/180644.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/wc250en007/comments/commentRss/180644.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/wc250en007/services/trackbacks/180644.html</trackback:ping><description><![CDATA[<div style="widows: 2; text-transform: none; text-indent: 0px; font: bold 14px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; margin-bottom: 10px; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><a style="color: rgb(26,139,200); text-decoration: none" id="viewpost1_TitleUrl" >Ubuntu 鏌ョ湅鍜屾潃姝昏繘紼?/a></div><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">浠婂ぉ鍦╪etbeans涓叧闂瓀ebrick鏃?鍙戠幇娌℃湁鍏抽棴鎺?鎵撳叆localhost:3000 渚濈劧鏄劇ず欏甸潰,鍙戠幇鏃犳硶浠巒b涓啀嬈″叧闂?/span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">鍙湁榪涘叆ubuntu鐨勮繘紼嬩笅鍏抽棴</span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">鏌ョ湅榪涚▼:</span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">1,ps -e 鍛戒護 </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">2,feng@feng:~$ sudo netstat -antup</span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Active Internet connections (servers and established)</span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name</span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      4672/cupsd      </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">tcp        0      0 0.0.0.0:3000            0.0.0.0:*               LISTEN      7082/ruby       </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">tcp        0      0 192.168.1.102:41121     66.113.164.119:80       ESTABLISHED 5709/firefox    </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">tcp        0      0 192.168.1.102:44746     209.85.201.125:5222     ESTABLISHED 6130/pidgin     </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">tcp        0      0 192.168.1.102:54797     192.168.1.128:3306      ESTABLISHED 7082/ruby       </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">tcp        0      0 192.168.1.102:43466     64.4.34.77:1863         ESTABLISHED 6130/pidgin     </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">tcp        0      0 192.168.1.102:41999     64.233.189.19:443       ESTABLISHED 5709/firefox    </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">tcp        0      0 192.168.1.102:54900     58.251.60.53:80         ESTABLISHED 6130/pidgin     </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">tcp        0      0 192.168.1.102:34180     220.181.37.210:80       TIME_WAIT   -               </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">tcp6       0      0 ::1:42801               :::*                    LISTEN      6863/java       </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">udp        0      0 0.0.0.0:68              0.0.0.0:*                           5161/dhclient   </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">udp        0      0 0.0.0.0:5353            0.0.0.0:*                           4625/avahi-daemon: </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">udp        0      0 0.0.0.0:56699           0.0.0.0:*                           4625/avahi-daemon: </span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">鏉姝粀ebrick鐨勮繘紼?</span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">feng@feng:~$ sudo kill 7082</span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">2娉曪細</span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(79,129,189); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">璀</span><span style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(79,129,189); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">Firefox</span><span style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(79,129,189); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">鐜板湪鍍墊錛屾棤娉曠浉搴旇姹傘傛墦寮涓涓粓绔紝杈撳叆錛?/span> <p style="text-align: left; widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="left"><span style="color: rgb(79,129,189)">pgrep firefox</span></p> <p style="text-align: left; widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="left"><span style="color: rgb(79,129,189)">浼氳繑鍥炴暟鍊鹼紝璀鏄?/span><span style="color: rgb(79,129,189)">7198.</span><span style="color: rgb(79,129,189)">鐜板湪杈撳叆錛?/span></p> <p style="text-align: left; widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="left"><span style="color: rgb(79,129,189)">kill 7198</span></p> <p style="text-align: left; widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="left"><span style="color: rgb(79,129,189)">灝變細鏉姝?/span><span style="color: rgb(79,129,189)">Firefox</span><span style="color: rgb(79,129,189)">榪涚▼浜嗐?/span></p> <p style="text-align: left; widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="left"><span style="color: rgb(79,129,189)">浣犱篃鍙互浣跨敤</span><span style="color: rgb(79,129,189)">killall</span><span style="color: rgb(79,129,189)">鍛戒護銆?/span><span style="color: rgb(79,129,189)">killall</span><span style="color: rgb(79,129,189)">鍙互浣跨敤紼嬪簭鐨勫悕縐幫紝璀杈撳叆錛?/span></p> <p style="text-align: left; widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="left"><span style="color: rgb(79,129,189)">killall firefox</span></p> <p style="text-align: left; widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="left"><br /></p> <p style="text-align: left; widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="left"><span style="color: rgb(79,129,189)">3娉?/span></p> <p style="text-align: left; widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" align="left"><span style="color: rgb(79,129,189)">濡傛灉鍓嶄袱鑰呰繕鏄潃涓嶆錛岀敤 kill -9 pid 鍛戒護,鏉ョ粷鏉<br /></span></p><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">ref:</span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">http://hi.baidu.com/lidongxing1005/blog/item/63c65dec28dfae4779f05566.html</span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">http://hi.baidu.com/camark/blog/item/fb918dca3e237981c81768e6.html</span><br style="widows: 2; text-transform: none; text-indent: 0px; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 13px/19px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(75,75,75); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">http://hi.baidu.com/strive_boy/blog/item/d3020b1865efd6b14aedbcd2.html</span><img src ="http://www.shnenglu.com/wc250en007/aggbug/180644.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/wc250en007/" target="_blank">Let me see see</a> 2012-06-28 15:29 <a href="http://www.shnenglu.com/wc250en007/archive/2012/06/28/180644.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Subversion鍛戒護姹囨?杞?http://www.shnenglu.com/wc250en007/archive/2012/06/28/180643.htmlLet me see seeLet me see seeThu, 28 Jun 2012 06:51:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/06/28/180643.htmlhttp://www.shnenglu.com/wc250en007/comments/180643.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/06/28/180643.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/180643.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/180643.html

svn 鍛戒護鍏卞悓鐨勯夐」

--targets list 璇誨彇list騫跺皢鍏惰В閲婁負涓涓皢瑕佹搷浣滅殑鍙傛暟鍒楄〃

--non-recurisive, –N 鍙搷浣滃崟涓洰褰曪紝涓嶅鐞嗗瓙鐩綍

--verbose, –v 鎵撳嵃棰濆鐨勪俊鎭?/p>

--quiet, –q 鎵撳嵃鐨勪俊鎭敖鍙兘灝?/p>

--username,  name 鎸囧畾鍦ㄨ繛鎺ユ巿鏉冩椂浣跨敤鐨勭敤鎴峰悕

--password, pawd 鎸囧畾瑕佷嬌鐢ㄧ殑瀵嗙爜

--no-auth-cache 涓嶈緙撳瓨韜喚浠ょ墝

--non-interactive 涓嶈鎻愮ず杈撳叆棰濆鐨勪俊鎭?/p>

--config-dir  dir  浠巇ir璇誨彇鐢ㄦ埛閰嶇疆

--editor-cm cmd 浣跨敤cmd浣滀負鏃ュ織娑堟伅鐨勭紪杈戝櫒

svn add

鎶婃枃浠跺強鐩綍鐨勫悕縐版坊鍔犵粰鐗堟湰鎺у埗緋葷粺銆備粬浠細鍦ㄤ笅嬈℃彁浜ゆ椂琚坊鍔犲埌欏圭洰浠撳簱

svn add path

--auto-props 鍦ㄦ坊鍔犱粬浠殑鏃跺欒嚜鍔ㄨ緗枃浠剁殑灞炴?/p>

--no-auto-props 紱佺敤鑷姩灞炴ц緗?/p>

svn blame

鏄劇ず鏂囦歡姣忚鐨勭増鏈強浣滆呬俊鎭?/p>

--revision, –r rev 濡傛灉鎸囧畾鐨剅ev鏄崟涓増鏈紝鏄劇ず璇ョ増鏈綔鑰呬俊鎭傚鏋滄槸鑼冨洿rev1:rev2, 鏄劇ずrev2鐗堟湰浣滆呯殑淇℃伅錛屼絾鍙鏌ョ増鏈埌rev1.

svn cat

杈撳嚭鎸囧畾鏂囦歡鎴栬匲RL鐨勫唴瀹?/p>

svn cat target…

--revision, –r rev

svn checkout

浠庨」鐩粨搴撶壍鍑轟竴涓伐浣滄嫹璐?/p>

svn checkout url…path

濡傛灉娌℃湁鎸囧畾path,絳懼嚭鐨勬湰鍦扮洰褰曞悕浣跨敤URL鐨刡ase name.

svn cleanup

娓呯悊宸ヤ綔鎷瘋礉錛岀Щ闄ら攣錛屽畬鎴愭湭瀹屾垚鐨勬搷浣滐紝絳夌瓑銆?/p>

svn cleanup path…

svn commit path

鎶婃敼鍔ㄤ粠浣犵殑宸ヤ綔鎷瘋礉鍙戦佸埌欏圭洰浠撳簱

--message, –m msg 浣跨敤msg浣滀負鎻愪氦鏃ュ織娑堟伅銆?/p>

--file, –F file 浣跨敤file鐨勫唴瀹逛綔涓烘彁浜ゆ棩蹇楁秷鎭?/p>

--no-unlock 涓嶈鍦ㄦ彁浜ょ殑鏃跺欓噴鏀鵑攣銆?/p>

svn copy

鍦ㄥ伐浣滄嫹璐濇垨鑰呴」鐩粨搴撲腑鍒墮犲寘鎷巻鍙插湪鍐呯殑澶嶆湰

svn copy src dest

src鍜宒est鍙互鏄伐浣滄嫹璐?WC)鐨勮礬寰勬垨鑰匲RL.

src dest 鏁堟灉……

WC WC 鎷瘋礉騫舵坊鍔?/p>

WC URL 绔嬪嵆鎻愪氦WC鐨勬嫹璐濆埌URL

URL WC 絳懼嚭URL鍒癢C, 娣誨姞

URL URL 瀹屽叏鏈嶅姟鍣ㄧ鎷瘋礉錛涚敤浜庡埗浣滃垎鏀拰鎵撴爣絳?/p>

--revision, –r rev瑕佹嫹璐濈殑src鐨勭増鏈傚彧鍦╯rc鏄」鐩粨搴撶殑URL鏃舵墠鏈夋剰涔夈?/p>

svn delete target

浠庨」鐩粨搴撳垹闄ゆ枃浠舵垨鑰呯洰褰曘傚鏋渢arget鏄伐浣滄嫹璐濅腑鐨勬枃浠舵垨鑰呯洰褰曪紝瀹冭浠庡伐浣滄嫹璐濅腑縐婚櫎騫朵笖棰勮鍦ㄤ笅嬈℃彁浜ゆ椂鍒犻櫎鎺夈傚鏋渢arget鏄」鐩粨搴揢RL,閫氳繃涓嬈$珛鍗崇殑鎻愪氦浠庨」鐩粨搴撲腑鍒犻櫎銆?/p>

--message, –m msg

--file, –F file

svn diff

鏄劇ず涓や釜璺緞涔嬮棿鐨勫樊寮?/p>

svn diff –r rev1:rev2 target…

svn diff oldurl newurl

svn export

鍒涘緩涓涓棤鐗堟湰璁板綍鐨勬嫹璐?

svn export –r rev URL path

浠庨」鐩粨搴撶殑鎸囧畾URL瀵煎嚭涓涓共鍑鐨勭洰褰曟爲鍒皃ath涓紝濡傛灉鎸囧畾浜唕ev鍙傛暟錛屽鍑簉ev鐗堟湰鐨勶紝鍚﹀垯鍒板鏈鏂扮増鏈?/p>

svn import

鎻愪氦涓涓棤鐗堟湰鐨勬枃浠舵垨鑰呮爲鍒伴」鐩粨搴?/p>

svn import path URL

svn info

鏄劇ず鏂囦歡鎴栬呯洰褰曠殑淇℃伅銆?/p>

svn list

鍒楀嚭欏圭洰浠撳簱涓殑鐩綍鏉℃暟銆?/p>

svn lock

閿佷綇鏂囦歡璁╁叾瀹冪敤鎴蜂笉鑳芥彁浜ゆ敼鍔ㄣ?/p>

svn lock target

--message, –m msg 浣跨敤msg浣滀負閿佷俊鎭秷鎭?/p>

--force 寮哄埗鍔犻攣鎴愬姛錛岄氳繃浠庡叾浠栫敤鎴鋒垨鑰呭伐浣滄嫹璐濇妸閿佺粰鍋瘋繃鏉ャ?/p>

svn log

鏄劇ず涓浜涚増鏈垨鑰呮枃浠剁殑鏃ュ織娑堟伅.

--stop-on-copy 鍦ㄩ亶鍘嗗巻鍙茬殑鏃跺欎笉瑕佺┛瓚婃嫹璐濓紙瀵逛簬鏌ユ壘鍒嗘敮鐨勮搗鐐瑰緢鏈夌敤錛?/p>

svn merge

鎶婁袱涓潵婧愮殑宸紓搴旂敤緇欏伐浣滄嫹璐濊礬寰勩?/p>

svn merge –r rev1:rev2  source wcpath

svn mkdir

鍒涘緩鐗堟湰鎺у埗涓嬬殑鏂扮洰褰?/p>

svn mkdir target

svn move src dest

縐誨姩鎴栬呴噸鍛藉悕宸ヤ綔鎷瘋礉鎴栬呴」鐩粨搴撲腑鏂囦歡鎴栬呯洰褰曘?/p>

--revision, –r rev浣跨敤鐗堟湰rev浣滀負婧愭潵鎵ц榪欐縐誨姩銆?/p>

svn propdel

鍒犻櫎鏂囦歡鎴栬呯洰褰曠殑灞炴?/p>

svn propdel propname path…

svn propedit

緙栬緫鏂囦歡鎴栬呯洰褰曠殑灞炴?/p>

svn propedit propname path…

svn propget

鎵撳嵃鏂囦歡鎴栬呯洰褰曠殑灞炴у?/p>

svn propget propname path…

--strict 紱佺敤棰濆鐨勬崲琛屽拰鍏跺畠鐨勭編鍖栨帾鏂斤紙鍦ㄦ妸浜岃繘鍒跺睘鎬ч噸瀹氬悜鍒版枃浠舵椂浼氭湁鐢ㄥ)

svn proplist

鍒楀嚭鏂囦歡鎴栬呯洰褰曠殑鎵鏈夊睘鎬?/p>

--verbose

--recursive

--revision, –r rev 鍒楀嚭path鍦ㄧ増鏈瑀ev瀹氫箟鐨勫睘鎬?/p>

svn propset(pset, ps)

svn propset propname propval path…

--file, –F file 璇誨彇file鐨勫唴瀹癸紝浣跨敤瀹冧綔涓哄睘鎬у?

--recursive

--encoding  enc 鎶婂間綔涓虹敤enc緙栫爜鐨勫瓧絎﹂泦

svn resolved

縐婚櫎宸ヤ綔鎷瘋礉鏂囦歡鎴栬呯洰褰曠殑鍐茬獊鐘舵?/p>

--recursive

svn revert

鎭㈠宸ヤ綔鎷瘋礉鐨勬枃浠訛紙鎾ら攢鏈鏂扮殑鏈湴淇敼錛?/p>

svn revert path 榪欎釜鍛戒護涓嶉渶瑕佺綉緇滆繛鎺?/p>

--recursive

svn status

鎵撳嵃宸ヤ綔鎷瘋礉涓枃浠舵垨鑰呯洰褰曠殑鐘舵?/p>

svn status path…

--show-updates, –u 鑱旂郴鏈嶅姟鍣ㄦ樉紺烘洿鏂頒俊鎭?/p>

--no-ignore 蹇借榛樿璁劇疆鍜宻vn:ignore灞炴ц緗殑蹇界暐欏?/p>

--non-recursive, –N

--verbose, –v

svn switch

鎶婂伐浣滄嫹璐濊漿鍚戝埌鍏朵粬鐨刄RL

svn switch URL path

鏇存柊宸ヤ綔鎷瘋礉璁╁叾浣跨敤欏圭洰浠撳簱鐨勬柊URL.榪欎釜琛屼負綾諱技svn update 鑰屼笖鏄竴縐嶆妸宸ヤ綔鎷瘋礉杞悜鍒板悓涓欏圭洰浠撳簱涓殑鍒嗘敮鎴栬呮爣絳劇殑鍔炴硶銆?/p>

--revision, –r rev 杞悜鍒扮増鏈瑀ev

--non-recursive, –N

--diff3-cm 浣跨敤cmd浣滀負鍚堝茍鍛戒護

svn unlock

瑙e紑宸ヤ綔鎷瘋礉鏂囦歡鎴栬呴」鐩粨搴揢RL鐨勯攣銆?/p>

svn unlock target…

--force 鐮稿潖鐜版湁瀵箃arget鐨勯攣錛岀敋鑷沖畠涓嶆槸琚綋鍓嶅伐浣滄嫹璐濇墍鎷ユ湁鐨勩?/p>

svn update

鎶婃敼鍔ㄤ粠欏圭洰浠撳簱甯﹀埌宸ヤ綔鎷瘋礉鏉ャ?/p>

svn update path…

--revision, –r rev 鏇存柊鍒扮増鏈瑀ev

--non-recrusive, –N

--diff3-cmd

浣滆? 鐜嬪痙姘?br style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px" />鍑哄錛歨ttp://www.cnblogs.com/cnblogsfans
鐗堟潈錛氭湰鏂囩増鏉冨綊浣滆呭拰鍗氬鍥叡鏈?杞澆闇緇忎綔鑰呭悓鎰忋?/span>


]]>
ubuntu緋葷粺涓嬪叧浜庣幆澧冨彉閲忕殑淇敼(杞?http://www.shnenglu.com/wc250en007/archive/2012/06/28/180642.htmlLet me see seeLet me see seeThu, 28 Jun 2012 06:50:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/06/28/180642.htmlhttp://www.shnenglu.com/wc250en007/comments/180642.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/06/28/180642.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/180642.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/180642.html鐜鍙橀噺鍒嗕負緋葷粺鐜鍙橀噺鍜岀敤鎴風幆澧冨彉閲?/span>

 

Ubuntu涓嬫煡鐪嬬幆澧冨彉閲忥細

 

鏌ョ湅褰撳墠鐜鍙橀噺鍛戒護涓猴細env  

褰撶劧鍙互鏌ョ湅鏌愪竴涓ā鍧楃殑閰嶇疆淇℃伅錛屾瘮濡傝鏌ョ湅elipse鐨勯厤緗?鍙互鐢ㄦ墽琛岋細env | grep eclipse  

 

鏈夊涓嬭緭鍑猴細

 

OLDPWD=/home/runner/eclipse

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games/:$~/eclipse

 

鏌ョ湅褰撳墠Shell鐨勭幆澧冨彉閲忥細~$ echo $PATH      # 鏄劇ず褰撳墠鐜鍙橀噺

 

~$ echo $PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games/:$~/eclipse

 

緋葷粺鐜鍙橀噺錛?/span>

/etc/profile錛氭鏂囦歡涓虹郴緇熺殑姣忎釜鐢ㄦ埛璁劇疆鐜淇℃伅錛屽綋鐢ㄦ埛鐧誨綍鏃訛紝璇ユ枃浠惰鎵ц銆傚茍浠?etc/profile.d鐩綍鐨勯厤緗枃浠朵腑鎼滈泦shell鐨勮緗?/p>

/etc/bashrc錛氫負姣忎竴涓繍琛宐ash shell鐨勭敤鎴鋒墽琛屾鏂囦歡銆傚綋bash shell琚墦寮鏃訛紝璇ユ枃浠惰璇誨彇銆?/p>


褰撳墠鐢ㄦ埛鍙橀噺錛?/span>

~/.bashrc錛氳鏂囦歡鍖呭惈涓撶敤浜庝綘鐨刡ash shell鐨刡ash淇℃伅錛屽綋鐧誨綍鏃朵互鍙婃瘡嬈℃墦寮鏂扮殑shell鏃訛紝璇ヨ鏂囦歡琚鍙栥?/span>


Ubuntu涓嬭緗幆澧冨彉閲忥細


1. 璇?span style="line-height: 22px; font-size: 15px">鏂規硶鍙湪涓涓粓绔腑鐢熸晥錛屽彟澶栨墦寮鏂扮殑緇堢鍙戠幇PATH榪樻槸鍘熸潵鐨凱ATH

~$ echo $PATH      # 鏄劇ず褰撳墠鐜鍙橀噺錛堜篃灝辨槸鏄劇ず/etc/environment鏂囦歡錛?br style="line-height: 22px" />/usr/local/sbin:/usr/local/bin    # 鏄劇ず涓句緥錛屽涓礬寰勪腑闂寸敤“:”闅斿紑
~$ PATH="$PATH:/home/workdir"    # 娣誨姞“/home/workdir”鐩綍
/usr/local/sbin:/usr/local/bin:/home/workdir   # 鏄劇ず涓句緥錛屽涓礬寰勪腑闂翠粛鐢?#8220;:”闅斿紑

鍒欐坊鍔犳垚鍔燂紒錛堟渶鍚庡綋鐒跺彲浠ラ噸鍚垨鑰呰緭鍑轟嬌鍏跺嵆鏃剁敓鏁堬細錛?br style="line-height: 22px" />~$ export PATH
~$ cd    #鎵цcd鍛戒護鍚庨潰浠涔堥兘涓嶅姞錛屽彲浠ュ洖鍒板綋鍓嶇櫥褰曠敤鎴風殑瀹夸富鐩綍
~$ source .bashrc     #璇ュ懡浠ら渶鍦ㄤ富鐩綍涓嬫墠鑳借繍琛岋紝鍚﹀垯鎻愮ず鎵句笉鍒?bashrc鍛戒護
緇撴潫錛?/p>

2.  璇ユ柟娉曞叏灞鏈夋晥

     褰撶劧涔熷彲浠ヤ箣闂存墦寮/etc/environment鏂囦歡錛屾潵榪涜淇敼

  锝? gedit  /etc/environment 

  鐒跺悗娣誨姞浣犳兂娣誨姞鐨勮礬寰勶紝涓棿鐢?:" 鍒嗗壊

3. 鐢變簬鐪嬩笉鎳倊/.bashrc 鏂囦歡鎬庝箞閰嶇疆鐨勭幆澧冨彉閲忥紝鎵浠ュ氨涓嶇煡鍒頒簡銆備笉浠嬬粛



]]>
Linux涓婱akefile鐨刟utomake鐢熸垚鍏ㄦ敾鐣?杞?http://www.shnenglu.com/wc250en007/archive/2012/06/27/180478.htmlLet me see seeLet me see seeWed, 27 Jun 2012 06:19:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/06/27/180478.htmlhttp://www.shnenglu.com/wc250en007/comments/180478.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/06/27/180478.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/180478.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/180478.html浣滀負Linux涓嬬殑紼嬪簭寮鍙戜漢鍛橈紝澶у涓瀹氶兘閬囧埌榪嘙akefile錛岀敤make鍛戒護鏉ョ紪璇戣嚜宸卞啓鐨勭▼搴忕‘瀹炴槸寰堟柟渚褲備竴鑸儏鍐典笅錛屽ぇ瀹墮兘鏄墜宸ュ啓涓涓畝鍗昅akefile錛屽鏋滆鎯沖啓鍑轟竴涓鍚堣嚜鐢辮蔣浠舵儻渚嬬殑Makefile灝變笉閭d箞瀹規槗浜嗐?
autoconf鍜宎utomake涓や釜宸ュ叿鏉ュ府鍔╂垜浠嚜鍔ㄥ湴鐢熸垚絎﹀悎鑷敱杞歡鎯緥鐨凪akefile錛岃繖鏍峰氨鍙互璞″父瑙佺殑GNU紼嬪簭涓鏍鳳紝鍙浣跨敤“./configure”錛?#8220;make”錛?#8220;make instal”灝卞彲浠ユ妸紼嬪簭瀹夎鍒癓inux緋葷粺涓幓浜嗐傝繖灝嗙壒鍒傚悎鎯沖仛寮鏀炬簮浠g爜杞歡鐨勭▼搴忓紑鍙戜漢鍛橈紝鍙堟垨濡傛灉浣犲彧鏄嚜宸卞啓浜涘皬鐨凾oy紼嬪簭錛岄偅涔堣繖涓枃绔犲浣犱篃浼氭湁寰堝ぇ鐨勫府鍔┿?/p>

涓銆丮akefile浠嬬粛

銆銆Makefile鏄敤浜庤嚜鍔ㄧ紪璇戝拰閾炬帴鐨勶紝涓涓伐紼嬫湁寰堝鏂囦歡緇勬垚錛屾瘡涓涓枃浠剁殑鏀瑰彉閮戒細瀵艱嚧宸ョ▼鐨勯噸鏂伴摼鎺ワ紝浣嗘槸涓嶆槸鎵鏈夌殑鏂囦歡閮介渶瑕侀噸鏂扮紪璇戯紝Makefile涓邯褰曟湁鏂囦歡鐨勪俊鎭紝鍦╩ake鏃朵細鍐沖畾鍦ㄩ摼鎺ョ殑鏃跺欓渶瑕侀噸鏂扮紪璇戝摢浜涙枃浠躲?/p>

銆銆Makefile鐨勫畻鏃ㄥ氨鏄細璁╃紪璇戝櫒鐭ラ亾瑕佺紪璇戜竴涓枃浠墮渶瑕佷緷璧栧叾浠栫殑鍝簺鏂囦歡銆傚綋閭d簺渚濊禆鏂囦歡鏈変簡鏀瑰彉錛岀紪璇戝櫒浼氳嚜鍔ㄧ殑鍙戠幇鏈緇堢殑鐢熸垚鏂囦歡宸茬粡榪囨椂錛岃岄噸鏂扮紪璇戠浉搴旂殑妯″潡銆?/p>

銆銆Makefile鐨勫熀鏈粨鏋勪笉鏄緢澶嶆潅錛屼絾褰撲竴涓▼搴忓紑鍙戜漢鍛樺紑濮嬪啓Makefile鏃訛紝緇忓父浼氭鐤戣嚜宸卞啓鐨勬槸鍚︾鍚堟儻渚嬶紝鑰屼笖鑷繁鍐欑殑Makefile緇忓父鍜岃嚜宸辯殑寮鍙戠幆澧冪浉鍏寵仈錛屽綋緋葷粺鐜鍙橀噺鎴栬礬寰勫彂鐢熶簡鍙樺寲鍚庯紝Makefile鍙兘榪樿璺熺潃淇敼銆傝繖鏍峰氨閫犳垚浜嗘墜宸ヤ功鍐橫akefile鐨勮澶氶棶棰橈紝automake鎭板ソ鑳藉緢濂藉湴甯姪鎴戜滑瑙e喅榪欎簺闂銆?/p>

銆銆浣跨敤automake錛岀▼搴忓紑鍙戜漢鍛樺彧闇瑕佸啓涓浜涚畝鍗曠殑鍚湁棰勫畾涔夊畯鐨勬枃浠訛紝鐢盿utoconf鏍規嵁涓涓畯鏂囦歡鐢熸垚configure錛岀敱automake鏍規嵁鍙︿竴涓畯鏂囦歡鐢熸垚Makefile.in錛屽啀浣跨敤configure渚濇嵁Makefile.in鏉ョ敓鎴愪竴涓鍚堟儻渚嬬殑Makefile銆備笅闈㈡垜浠皢璇︾粏浠嬬粛Makefile鐨刟utomake鐢熸垚鏂規硶銆?/p>

銆銆浜屻佷嬌鐢ㄧ殑鐜

銆銆鏈枃鎵鎻愬埌鐨勭▼搴忔槸鍩轟簬Linux鍙戣鐗堟湰錛欶edora Core release 1錛屽畠鍖呭惈浜嗘垜浠鐢ㄥ埌鐨刟utoconf錛宎utomake銆?/p>

銆銆涓夈佷粠helloworld鍏ユ墜

銆銆鎴戜滑浠庡ぇ瀹舵渶甯鎬嬌鐢ㄧ殑渚嬪瓙紼嬪簭helloworld寮濮嬨?/p>

銆銆涓嬮潰鐨勮繃紼嬪鏋滅畝鍗曞湴璇存潵灝辨槸錛?/p>

銆銆鏂板緩涓変釜鏂囦歡錛?/p>

銆銆銆helloworld.c
銆銆銆configure.in
銆銆銆Makefile.am

銆銆鐒跺悗鎵ц錛?/p>

aclocal; autoconf; automake --add-missing; ./configure; make; ./helloworld

 

     灝卞彲浠ョ湅鍒癕akefile琚駭鐢熷嚭鏉ワ紝鑰屼笖鍙互灝唄elloworld.c緙栬瘧閫氳繃銆?/p>

銆銆寰堢畝鍗曞惂錛屽嚑鏉″懡浠ゅ氨鍙互鍋氬嚭涓涓鍚堟儻渚嬬殑Makefile錛屾劅瑙夊浣曞憖銆?/p>

銆銆鐜板湪寮濮嬩粙緇嶈緇嗙殑榪囩▼錛?/p>

銆銆1銆佸緩鐩綍

銆銆鍦ㄤ綘鐨勫伐浣滅洰褰曚笅寤轟竴涓猦elloworld鐩綍錛屾垜浠敤瀹冩潵瀛樻斁helloworld紼嬪簭鍙婄浉鍏蟲枃浠訛紝濡傚湪/home/my/build涓嬶細

     

$ mkdir helloword
$ cd helloworld


2銆?helloworld.c

銆銆鐒跺悗鐢ㄤ綘鑷繁鏈鍠滄鐨勭紪杈戝櫒鍐欎竴涓猦ellowrold.c鏂囦歡錛屽鍛戒護錛歷i helloworld.c銆備嬌鐢ㄤ笅闈㈢殑浠g爜浣滀負helloworld.c鐨勫唴瀹廣?/p>

 

int main(int argc, char** argv)
{
printf(
"Hello, Linux World!\n");
return 0;
}


銆銆瀹屾垚鍚庝繚瀛橀鍑恒?/p>

銆銆鐜板湪鍦╤elloworld鐩綍涓嬪氨搴旇鏈変竴涓綘鑷繁鍐欑殑helloworld.c浜嗐?/p>

3銆佺敓鎴恈onfigure

銆銆鎴戜滑浣跨敤autoscan鍛戒護鏉ュ府鍔╂垜浠牴鎹洰褰曚笅鐨勬簮浠g爜鐢熸垚涓涓猚onfigure.in鐨勬ā鏉挎枃浠躲?銆銆鍛戒護錛?/p>

$ autoscan
$ ls
configure.scan helloworld.c

 

      鎵ц鍚庡湪hellowrold鐩綍涓嬩細鐢熸垚涓涓枃浠訛細configure.scan錛屾垜浠彲浠ユ嬁瀹冧綔涓篶onfigure.in鐨勮摑鏈?/p>

銆銆鐜板湪灝哻onfigure.scan鏀瑰悕涓篶onfigure.in錛?mv鍛戒護閲嶅懡鍚?mv configure.scan configure.in)騫朵笖緙栬緫瀹冿紝鎸変笅闈㈢殑鍐呭淇敼錛屽幓鎺夋棤鍏崇殑璇彞錛?/p>

 

============================configure.in鍐呭寮濮?/span>=========================================
-*- Autoconf -*-
# Process 
this file with autoconf to produce a configure script.

AC_INIT(helloworld.c)
AM_INIT_AUTOMAKE(helloworld, 1.0)

# Checks 
for programs.
AC_PROG_CC

# Checks 
for libraries.

# Checks 
for header files.

# Checks 
for typedefs, structures, and compiler characteristics.

# Checks 
for library functions.
AC_OUTPUT(Makefile)
============================configure.in鍐呭緇撴潫=========================================

鐒跺悗鎵ц鍛戒護aclocal鍜宎utoconf錛?strong>鍒嗗埆浼氫駭鐢焌clocal.m4鍙奵onfigure涓や釜鏂囦歡錛?/p>

$ aclocal 
$ls 
aclocal.m4 configure.
in helloworld.c 
$ autoconf 
$ ls 
aclocal.m4 autom4te.cache configure configure.
in helloworld.c

 

     澶у鍙互鐪嬪埌configure.in鍐呭鏄竴浜涘畯瀹氫箟錛岃繖浜涘畯緇廰utoconf澶勭悊鍚庝細鍙樻垚媯鏌ョ郴緇熺壒鎬с佺幆澧冨彉閲忋佽蔣浠跺繀欏葷殑鍙傛暟鐨剆hell鑴氭湰銆?/p>

銆銆autoconf 鏄敤鏉ョ敓鎴愯嚜鍔ㄩ厤緗蔣浠舵簮浠g爜鑴氭湰錛坈onfigure錛夌殑宸ュ叿銆俢onfigure鑴氭湰鑳界嫭绔嬩簬autoconf榪愯錛屼笖鍦ㄨ繍琛岀殑榪囩▼涓紝涓嶉渶瑕佺敤鎴風殑騫查銆?/p>

銆銆瑕佺敓鎴恈onfigure鏂囦歡錛屼綘蹇呴』鍛婅瘔autoconf濡備綍鎵懼埌浣犳墍鐢ㄧ殑瀹忋傛柟寮忔槸浣跨敤aclocal紼嬪簭鏉ョ敓鎴愪綘鐨刟clocal.m4銆?/p>

銆銆aclocal鏍規嵁configure.in鏂囦歡鐨勫唴瀹癸紝鑷姩鐢熸垚aclocal.m4鏂囦歡銆俛clocal鏄竴涓猵erl 鑴氭湰紼嬪簭錛屽畠鐨勫畾涔夋槸錛?#8220;aclocal - create aclocal.m4 by scanning configure.ac”銆?/p>

銆銆autoconf浠巆onfigure.in榪欎釜鍒椾婦緙栬瘧杞歡鏃舵墍闇瑕佸悇縐嶅弬鏁扮殑妯℃澘鏂囦歡涓垱寤篶onfigure銆?/p>

銆銆autoconf闇瑕丟NU m4瀹忓鐞嗗櫒鏉ュ鐞哸clocal.m4錛岀敓鎴恈onfigure鑴氭湰銆?/p>

銆銆m4鏄竴涓畯澶勭悊鍣ㄣ傚皢杈撳叆鎷瘋礉鍒拌緭鍑猴紝鍚屾椂灝嗗畯灞曞紑銆傚畯鍙互鏄唴宓岀殑錛屼篃鍙互鏄敤鎴峰畾涔夌殑銆傞櫎浜嗗彲浠ュ睍寮瀹忥紝m4榪樻湁涓浜涘唴寤虹殑鍑芥暟錛岀敤鏉ュ紩鐢ㄦ枃浠訛紝鎵ц鍛戒護錛屾暣鏁拌繍綆楋紝鏂囨湰鎿嶄綔錛屽驚鐜瓑銆俶4鏃㈠彲浠ヤ綔涓虹紪璇戝櫒鐨勫墠绔紝涔熷彲浠ュ崟鐙綔涓轟竴涓畯澶勭悊鍣ㄣ?/p>


 

4銆佹柊寤篗akefile.am

銆銆鏂板緩Makefile.am鏂囦歡錛屽懡浠わ細

 

$ vi Makefile.am

鍐呭濡備笅:

AUTOMAKE_OPTIONS=foreign
bin_PROGRAMS
=helloworld
helloworld_SOURCES
=helloworld.c

      automake浼氭牴鎹綘鍐欑殑Makefile.am鏉ヨ嚜鍔ㄧ敓鎴怣akefile.in銆?/p>

銆銆Makefile.am涓畾涔夌殑瀹忓拰鐩爣,浼氭寚瀵糰utomake鐢熸垚鎸囧畾鐨勪唬鐮併備緥濡傦紝瀹廱in_PROGRAMS灝嗗鑷寸紪璇戝拰榪炴帴鐨勭洰鏍囪鐢熸垚銆?/p>

5銆佽繍琛宎utomake

銆銆鍛戒護錛?/p>

    浣跨敤automake瀵瑰叾鐢熸垚“configure.in”鏂囦歡錛屽湪榪欓噷浣跨敤閫夐」“—adding-missing”鍙互璁゛utomake鑷姩娣誨姞鏈変竴浜涘繀闇鐨勮剼鏈枃浠躲?/span>

$ automake --add-missing
configure.
in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
Makefile.am: installing `./depcomp'

    automake浼氭牴鎹甅akefile.am鏂囦歡浜х敓涓浜涙枃浠訛紝鍖呭惈鏈閲嶈鐨凪akefile.in銆?/p>

6銆佹墽琛宑onfigure鐢熸垚Makefile,鍦ㄨ繖涓姝ヤ腑錛岄氳繃榪愯鑷姩閰嶇疆璁劇疆鏂囦歡configure錛屾妸Makefile.in鍙樻垚浜嗘渶緇堢殑Makefile銆?/span>


.
/configure 
checking 
for a BSD-compatible install /usr/bin/install -c
checking whether build environment 
is sane yes
checking 
for gawk gawk
checking whether make sets $(MAKE) yes
checking 
for gcc gcc
checking 
for C compiler default output a.out
checking whether the C compiler works yes
checking whether we are cross compiling no
checking 
for suffix of executables 
checking 
for suffix of object files o
checking whether we are 
using the GNU C compiler yes
checking whether gcc accepts 
-g yes
checking 
for gcc option to accept ANSI C none needed
checking 
for style of include used by make GNU
checking dependency style of gcc gcc3
configure: creating .
/config.status
config.status: creating Makefile
config.status: executing depfiles commands
$ ls 
-l Makefile
-rw-rw-r-- 1 yutao yutao 15035 Oct 15 10:40 Makefile

    浣犲彲浠ョ湅鍒幫紝姝ゆ椂Makefile宸茬粡浜х敓鍑烘潵浜嗐?/p>

7銆佷嬌鐢∕akefile緙栬瘧浠g爜

$ make
if gcc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -

DPACKAGE_STRING
="" -DPACKAGE_BUGREPORT="" -DPACKAGE="helloworld" -DVERSION="1.0" 

-I. -I. --O2 -MT helloworld.o -MD -MP -MF ".deps/helloworld.Tpo" \
--o helloworld.o `test -'helloworld.c' || echo './'`helloworld.c; \
then mv 
-".deps/helloworld.Tpo" ".deps/helloworld.Po"; \
else rm -".deps/helloworld.Tpo"; exit 1; \
fi
gcc 
--O2 -o helloworld helloworld.o

榪愯helloworld


$ .
/helloworld 
Hello, Linux World
!

榪欐牱helloworld灝辯紪璇戝嚭鏉ヤ簡錛屼綘濡傛灉鎸変笂闈㈢殑姝ラ鏉ュ仛鐨勮瘽錛屽簲璇ヤ篃浼氬緢瀹規槗鍦扮紪璇戝嚭姝g‘鐨刪elloworld鏂囦歡銆備綘榪樺彲浠ヨ瘯鐫浣跨敤涓浜涘叾浠栫殑make鍛戒護錛屽make clean錛宮ake install錛宮ake dist錛岀湅鐪嬪畠浠細緇欎綘浠涔堟牱鐨勬晥鏋溿?br />

銆鍥涖佹繁鍏ユ祬鍑?/p>

銆銆閽堝涓婇潰鎻愬埌鐨勫悇涓懡浠わ紝鎴戜滑鍐嶅仛浜涜緇嗙殑浠嬬粛銆?/p>

銆銆1銆?autoscan

銆銆autoscan鏄敤鏉ユ壂鎻忔簮浠g爜鐩綍鐢熸垚configure.scan鏂囦歡鐨勩俛utoscan鍙互鐢ㄧ洰褰曞悕鍋氫負鍙傛暟錛屼絾濡傛灉浣犱笉浣跨敤鍙傛暟鐨勮瘽錛岄偅涔坅utoscan灝嗚涓轟嬌鐢ㄧ殑鏄綋鍓嶇洰褰曘俛utoscan灝嗘壂鎻忎綘鎵鎸囧畾鐩綍涓殑婧愭枃浠訛紝騫跺垱寤篶onfigure.scan鏂囦歡銆?/p>

銆銆2銆?configure.scan

銆銆configure.scan鍖呭惈浜?br /> 
      緋葷粺閰嶇疆鐨勫熀鏈夐」錛岄噷闈㈤兘鏄竴浜涘畯瀹氫箟銆傛垜浠渶瑕佸皢瀹冩敼鍚嶄負configure.in

銆銆3銆?aclocal

銆銆aclocal鏄竴涓猵erl 鑴氭湰紼嬪簭銆俛clocal鏍規嵁configure.in鏂囦歡鐨勫唴瀹癸紝鑷姩鐢熸垚aclocal.m4鏂囦歡銆俛clocal鐨勫畾涔夋槸錛?#8220;aclocal - create aclocal.m4 by scanning configure.ac”銆?/p>

銆銆4銆?autoconf

銆銆autoconf鏄敤鏉ヤ駭鐢焎onfigure鏂囦歡鐨勩俢onfigure鏄竴涓剼鏈紝瀹冭兘璁劇疆婧愮▼搴忔潵閫傚簲鍚勭涓嶅悓鐨勬搷浣滅郴緇熷鉤鍙幫紝騫朵笖鏍規嵁涓嶅悓鐨勭郴緇熸潵浜х敓鍚堥傜殑Makefile錛屼粠鑰屽彲浠ヤ嬌浣犵殑婧愪唬鐮佽兘鍦ㄤ笉鍚岀殑鎿嶄綔緋葷粺騫沖彴涓婅緙栬瘧鍑烘潵銆?/p>

銆銆configure.in鏂囦歡鐨勫唴瀹規槸涓浜涘畯錛岃繖浜涘畯緇忚繃autoconf 澶勭悊鍚庝細鍙樻垚媯鏌ョ郴緇熺壒鎬с佺幆澧冨彉閲忋佽蔣浠跺繀欏葷殑鍙傛暟鐨剆hell鑴氭湰銆俢onfigure.in鏂囦歡涓殑瀹忕殑欏哄簭騫舵病鏈夎瀹氾紝浣嗘槸浣犲繀欏誨湪鎵鏈夊畯鐨勬渶鍓嶉潰鍜屾渶鍚庨潰鍒嗗埆鍔犱笂AC_INIT瀹忓拰AC_OUTPUT瀹忋?/p>

銆銆鍦╟onfigure.ini涓細

銆銆#鍙瘋〃紺烘敞閲婏紝榪欎釜瀹忓悗闈㈢殑鍐呭灝嗚蹇界暐銆?/p>

銆銆AC_INIT(FILE)

銆銆榪欎釜瀹忕敤鏉ユ鏌ユ簮浠g爜鎵鍦ㄧ殑璺緞銆?/p>

AM_INIT_AUTOMAKE(PACKAGE, VERSION)

     榪欎釜瀹忔槸蹇呴』鐨勶紝瀹冩弿榪頒簡鎴戜滑灝嗚鐢熸垚鐨勮蔣浠跺寘鐨勫悕瀛楀強鍏剁増鏈彿錛歅ACKAGE鏄蔣浠跺寘鐨勫悕瀛楋紝VERSION鏄増鏈彿銆傚綋浣犱嬌鐢╩ake dist鍛戒護鏃訛紝瀹冧細緇欎綘鐢熸垚涓涓被浼糷elloworld-1.0.tar.gz鐨勮蔣浠跺彂琛屽寘錛屽叾涓氨鏈夊搴旂殑杞歡鍖呯殑鍚嶅瓧鍜岀増鏈彿銆?/p>

AC_PROG_CC

銆銆榪欎釜瀹忓皢媯鏌ョ郴緇熸墍鐢ㄧ殑C緙栬瘧鍣ㄣ?

AC_OUTPUT(FILE)

銆銆榪欎釜瀹忔槸鎴戜滑瑕佽緭鍑虹殑Makefile鐨勫悕瀛椼?/p>

銆銆鎴戜滑鍦ㄤ嬌鐢╝utomake鏃訛紝瀹為檯涓婅繕闇瑕佺敤鍒板叾浠栫殑涓浜涘畯錛屼絾鎴戜滑鍙互鐢╝clocal 鏉ュ府鎴戜滑鑷姩浜х敓銆傛墽琛宎clocal鍚庢垜浠細寰楀埌aclocal.m4鏂囦歡銆?/p>

銆銆浜х敓浜哻onfigure.in鍜宎clocal.m4 涓や釜瀹忔枃浠跺悗錛屾垜浠氨鍙互浣跨敤autoconf鏉ヤ駭鐢焎onfigure鏂囦歡浜嗐?/p>

銆銆5銆?Makefile.am

銆銆Makefile.am鏄敤鏉ョ敓鎴怣akefile.in鐨勶紝闇瑕佷綘鎵嬪伐涔﹀啓銆侻akefile.am涓畾涔変簡涓浜涘唴瀹癸細

AUTOMAKE_OPTIONS

銆銆榪欎釜鏄痑utomake鐨勯夐」銆傚湪鎵цautomake鏃訛紝瀹冧細媯鏌ョ洰褰曚笅鏄惁瀛樺湪鏍囧噯GNU杞歡鍖呬腑搴斿叿澶囩殑鍚勭鏂囦歡錛屼緥濡侫UTHORS銆丆hangeLog銆丯EWS絳夋枃浠躲傛垜浠皢鍏惰緗垚foreign鏃訛紝automake浼氭敼鐢ㄤ竴鑸蔣浠跺寘鐨勬爣鍑嗘潵媯鏌ャ?/p>

bin_PROGRAMS

銆銆榪欎釜鏄寚瀹氭垜浠墍瑕佷駭鐢熺殑鍙墽琛屾枃浠剁殑鏂囦歡鍚嶃傚鏋滀綘瑕佷駭鐢熷涓彲鎵ц鏂囦歡錛岄偅涔堝湪鍚勪釜鍚嶅瓧闂寸敤絀烘牸闅斿紑銆?

helloworld_SOURCES

銆銆榪欎釜鏄寚瀹氫駭鐢?#8220;helloworld”鏃舵墍闇瑕佺殑婧愪唬鐮併傚鏋滃畠鐢ㄥ埌浜嗗涓簮鏂囦歡錛岄偅涔堣浣跨敤絀烘牸絎﹀彿灝嗗畠浠殧寮銆傛瘮濡傞渶瑕乭elloworld.h錛宧elloworld.c閭d箞璇峰啓鎴恏elloworld_SOURCES= helloworld.h helloworld.c銆?/p>

銆銆濡傛灉浣犲湪bin_PROGRAMS瀹氫箟浜嗗涓彲鎵ц鏂囦歡錛屽垯瀵瑰簲姣忎釜鍙墽琛屾枃浠墮兘瑕佸畾涔夌浉瀵圭殑filename_SOURCES銆?/p>

銆銆6銆?automake

銆銆鎴戜滑浣跨敤automake --add-missing鏉ヤ駭鐢烳akefile.in銆?/p>

銆銆閫夐」--add-missing鐨勫畾涔夋槸“add missing standard files to package”錛屽畠浼氳automake鍔犲叆涓涓爣鍑嗙殑杞歡鍖呮墍蹇呴』鐨勪竴浜涙枃浠躲?/p>

銆銆鎴戜滑鐢╝utomake浜х敓鍑烘潵鐨凪akefile.in鏂囦歡鏄鍚圙NU Makefile鎯緥鐨勶紝鎺ヤ笅鏉ユ垜浠彧瑕佹墽琛宑onfigure榪欎釜shell 鑴氭湰灝卞彲浠ヤ駭鐢熷悎閫傜殑 Makefile 鏂囦歡浜嗐?/p>

銆銆7銆?Makefile

銆銆鍦ㄧ鍚圙NU Makefiel鎯緥鐨凪akefile涓紝鍖呭惈浜嗕竴浜涘熀鏈殑棰勫厛瀹氫箟鐨勬搷浣滐細

make

銆銆鏍規嵁Makefile緙栬瘧婧愪唬鐮侊紝榪炴帴錛岀敓鎴愮洰鏍囨枃浠訛紝鍙墽琛屾枃浠躲?/p>

make clean

銆銆娓呴櫎涓婃鐨刴ake鍛戒護鎵浜х敓鐨刼bject鏂囦歡錛堝悗緙涓?#8220;.o”鐨勬枃浠訛級鍙婂彲鎵ц鏂囦歡銆?/p>

make install

銆銆灝嗙紪璇戞垚鍔熺殑鍙墽琛屾枃浠跺畨瑁呭埌緋葷粺鐩綍涓紝涓鑸負/usr/local/bin鐩綍銆?/p>

make dist

銆銆浜х敓鍙戝竷杞歡鍖呮枃浠訛紙鍗砫istribution package錛夈傝繖涓懡浠ゅ皢浼氬皢鍙墽琛屾枃浠跺強鐩稿叧鏂囦歡鎵撳寘鎴愪竴涓猼ar.gz鍘嬬緝鐨勬枃浠剁敤鏉ヤ綔涓哄彂甯冭蔣浠剁殑杞歡鍖呫?/p>

銆銆瀹冧細鍦ㄥ綋鍓嶇洰褰曚笅鐢熸垚涓涓悕瀛楃被浼?#8220;PACKAGE-VERSION.tar.gz”鐨勬枃浠躲侾ACKAGE鍜孷ERSION錛屾槸鎴戜滑鍦╟onfigure.in涓畾涔夌殑AM_INIT_AUTOMAKE(PACKAGE, VERSION)銆?/p>

make distcheck

銆銆鐢熸垚鍙戝竷杞歡鍖呭茍瀵瑰叾榪涜嫻嬭瘯媯鏌ワ紝浠ョ‘瀹氬彂甯冨寘鐨勬紜с傝繖涓搷浣滃皢鑷姩鎶婂帇緙╁寘鏂囦歡瑙e紑錛岀劧鍚庢墽琛宑onfigure鍛戒護錛屽茍涓旀墽琛宮ake錛屾潵紜緙栬瘧涓嶅嚭鐜伴敊璇紝鏈鍚庢彁紺轟綘杞歡鍖呭凡緇忓噯澶囧ソ錛屽彲浠ュ彂甯冧簡銆?/p>

===============================================
helloworld
-1.0.tar.gz is ready for distribution
===============================================
make distclean

銆銆綾諱技make clean錛屼絾鍚屾椂涔熷皢configure鐢熸垚鐨勬枃浠跺叏閮ㄥ垹闄ゆ帀錛屽寘鎷琈akefile銆?/p>

銆銆浜斻佺粨鏉熻

銆銆閫氳繃涓婇潰鐨勪粙緇嶏紝浣犲簲璇ュ彲浠ュ緢瀹規槗鍦扮敓鎴愪竴涓綘鑷繁鐨勭鍚圙NU鎯緥鐨凪akefile鏂囦歡鍙婂搴旂殑欏圭洰鏂囦歡銆?/p>

銆銆濡傛灉浣犳兂鍐欏嚭鏇村鏉傜殑涓旂鍚堟儻渚嬬殑Makefile錛屼綘鍙互鍙傝冧竴浜涘紑鏀句唬鐮佺殑欏圭洰涓殑configure.in鍜孧akefile.am鏂囦歡錛屾瘮濡傦細宓屽叆寮忔暟鎹簱sqlite錛屽崟鍏冩祴璇昪ppunit銆?/p>

 




]]>
Linux makefile 鏁欑▼(杞?http://www.shnenglu.com/wc250en007/archive/2012/06/19/179392.htmlLet me see seeLet me see seeTue, 19 Jun 2012 03:49:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/06/19/179392.htmlhttp://www.shnenglu.com/wc250en007/comments/179392.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/06/19/179392.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/179392.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/179392.html闃呰鍏ㄦ枃

]]>
Makefile瀹炰緥http://www.shnenglu.com/wc250en007/archive/2012/06/19/179388.htmlLet me see seeLet me see seeTue, 19 Jun 2012 03:39:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/06/19/179388.htmlhttp://www.shnenglu.com/wc250en007/comments/179388.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/06/19/179388.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/179388.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/179388.html闃呰鍏ㄦ枃

]]>
linux 甯哥敤鍛戒護鍏ㄩ泦http://www.shnenglu.com/wc250en007/archive/2012/06/19/179387.htmlLet me see seeLet me see seeTue, 19 Jun 2012 02:56:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/06/19/179387.htmlhttp://www.shnenglu.com/wc250en007/comments/179387.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/06/19/179387.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/179387.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/179387.htmlhttp://linux.chinaitlab.com/special/linuxcom/


1.ctrl+z灝嗘枃浠剁疆涓哄悗鍙拌繍琛?fg榪愯鍒板墠鍙?br />

]]>
Ubuntu緙栫▼鐜鎼緩http://www.shnenglu.com/wc250en007/archive/2012/04/15/171446.htmlLet me see seeLet me see seeSun, 15 Apr 2012 02:12:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/04/15/171446.htmlhttp://www.shnenglu.com/wc250en007/comments/171446.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/04/15/171446.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/171446.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/171446.html絎竴錛屾寜鐓т笅闈㈢綉欏電殑鎻愮ず鏉ユ坊鍔犳柊鐨勮蔣浠舵簮錛?/p>

http://wiki.ubuntu.org.cn/%E6%B7%BB%E5%8A%A0%E5%85%B6%E4%BB%96%E8%BD%AF%E4%BB%B6%E5%BA%93

娉ㄦ剰娣誨姞婧愮殑鏃跺欙紝鍙互浣跨敤ping鏉ユ祴璇曟簮鐨勯熷害錛屽敖閲忛夋嫨杈冨揩鐨勬簮銆?/p>

鎴戠殑鎿嶄綔濡備笅錛?/p>

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup     //灝嗗師鏂囦歡澶囦喚涓涓?
sudo gedit /etc/apt/sources.list      //緙栬緫娣誨姞鏂扮殑婧?/pre>
娉ㄦ剰閫夋嫨婧愯瀵瑰簲鐩稿簲鐨勭増鏈紝鎴戠殑鐗堟湰鏄?.06錛屾墍浠ラ夋嫨涓嬮潰涓涓簮錛?/pre>
deb http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse

淇濇寔鏂囦歡騫舵洿鏂?/p>

sudo apt-get update

絎簩姝ワ紝瀹夎build-essential

sudo apt-get install build-essential
瀹夎瀹屾垚鍚庡啓涓涓狢璇█紼嬪簭testc.c嫻嬭瘯涓涓嬨?span class="Apple-converted-space"> 

浠g爜:

#include<stdio.h> 
int main() 
{ 
     printf("Hello Ubuntu!\n"); 
     return 0; 
} 



浠g爜:

$ gcc testc.c -o testc 
$ ./testc 



鏄劇ず 
Hello Ubuntu! 
榪欐牱錛孋璇█緙栬瘧鍣ㄥ氨瀹夎鎴愬姛浜嗭紱 

絎笁姝ャ佸畨瑁匞TK鐜 

瀹夎GTK鐜鍙瀹夎涓涓猤nome-core-devel灝卞彲浠ヤ簡錛岄噷闈㈤泦鎴愪簡寰堝鍏朵粬鐨勫寘銆傞櫎姝や箣澶栬繕瑕佽漿涓浜涘叾浠栫殑涓滆タ錛屽libglib2.0-doc銆乴ibgtk2.0-doc甯姪鏂囨。錛宒evhelp甯姪鏂囨。鏌ョ湅錛実lade-gnome銆乬lade-common銆乬lade-doc鍥懼艦鐣岄潰璁捐絳夈?span class="Apple-converted-space"> 

浠g爜:

sudo apt-get install gnome-core-devel 
sudo apt-get install libglib2.0-doc libgtk2.0-doc 
sudo apt-get install devhelp 
sudo apt-get install glade-gnome glade-common glade-doc 



瀹夎瀹屾垚鍚庢垜浠篃鍚屾牱鍋氫釜嫻嬭瘯紼嬪簭 

浠g爜:

#include<gtk/gtk.h> 
void hello(GtkWidget *widget,gpointer data) 
{ 
g_print("Hello Ubuntu!\n"); 
} 
gint delete_event(GtkWidget *widget,GdkEvent *event,gpointer data) 
{ 
g_print ("delete event occurred\n"); 
return(TRUE); 
} 
void destroy(GtkWidget *widget,gpointer data) 
{ 
gtk_main_quit(); 
} 
int main( int argc, char *argv[] ) 
{ 
GtkWidget *window; 
GtkWidget *button; 
gtk_init (&argc, &argv); 
window=gtk_window_new (GTK_WINDOW_TOPLEVEL); 
gtk_signal_connect (GTK_OBJECT(window),"delete_event",GTK_SIGNAL_FUNC(delete_event),NULL); 
gtk_signal_connect (GTK_OBJECT (window), "destroy",GTK_SIGNAL_FUNC (destroy), NULL); 
gtk_container_set_border_width (GTK_CONTAINER (window), 10); 
button = gtk_button_new_with_label ("Hello Ubuntu!"); 
gtk_signal_connect (GTK_OBJECT (button), "clicked",GTK_SIGNAL_FUNC (hello), NULL); 
gtk_signal_connect_object (GTK_OBJECT (button), "clicked",GTK_SIGNAL_FUNC (gtk_widget_destroy),GTK_OBJECT (window)); 
gtk_container_add (GTK_CONTAINER (window), button); 
gtk_widget_show (button); 
gtk_widget_show (window);     /*鏄劇ず涓涓獥鍙?/ 
gtk_main();     /*榪涘叆涓誨驚鐜?/ 
return(0); 
} 



鐢ㄤ笅闈㈠懡浠ょ紪璇戣繍琛?span class="Apple-converted-space"> 

浠g爜:

$ gcc gtkhello.c -o gtktest `pkg-config --cflags --libs gtk+-2.0` 
$ ./gtktest 


浼氭樉紺轟竴涓甫鏈変竴涓寜閽殑紿楀彛錛岀偣鍑繪寜閽互鍚庣獥鍙e叧闂紝鍛戒護琛屾樉紺篐ello Ubuntu! 

絎洓姝ャ佸畨瑁匭t

QT鎴戝畨瑁呬簡 
libqt4-core 
qt4-designer 
qt4-dev-tools 
qt4-qtconfig 
libqt4-dev 
libqt4-gui libqt4-debug 
libqt4-sql 

榪欎釜鎴戣繕娌℃湁鎬庝箞鐢ㄨ繃錛屽湪鏂扮珛寰楅噷闈㈡悳绱T4錛岀湅鐫宸笉澶氱殑閮借涓婁簡銆?span class="Apple-converted-space"> 

5瀹夎涓涓狪DE 
Linux閲岄潰鏈変釜涓涓緢閫傚悎鍒濆鑰呯敤鐨凜 C錛嬶紜鐨処DE 鍙獹eany錛屽湪鑿滃崟“搴旂敤紼嬪簭”->“娣誨姞鍒犻櫎紼嬪簭”錛屽湪閲岄潰program閲屾壘涓涓嬪氨鍙互浜嗐?/font>



]]>vim 緋葷粺鍓垏鏉?/title><link>http://www.shnenglu.com/wc250en007/archive/2012/04/15/171445.html</link><dc:creator>Let me see see</dc:creator><author>Let me see see</author><pubDate>Sun, 15 Apr 2012 02:04:00 GMT</pubDate><guid>http://www.shnenglu.com/wc250en007/archive/2012/04/15/171445.html</guid><wfw:comment>http://www.shnenglu.com/wc250en007/comments/171445.html</wfw:comment><comments>http://www.shnenglu.com/wc250en007/archive/2012/04/15/171445.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/wc250en007/comments/commentRss/171445.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/wc250en007/services/trackbacks/171445.html</trackback:ping><description><![CDATA[<span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px/18px arial; white-space: normal; orphans: 2; float: none; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">1.Shift+Insert錛氬皢緋葷粺涓殑鍓創鏉夸笂鐨勫唴瀹圭矘璐村埌vim涓?/span><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px/18px arial; white-space: normal; orphans: 2; float: none; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">2.VIM鍏鋒湁澶氫釜鍓垏鏉匡紝":reg"鍛戒護鏌ョ湅鍚勫壀鍒囨澘銆傜郴緇熷壀鍒囨澘鐨勭紪鍙峰氨鏄?+銆?/span><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px/18px arial; white-space: normal; orphans: 2; float: none; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">3.vi鐨勭矘璐存寚浠ゆ槸"p"錛屼絾鏄鏋滆綺樿創涓涓壒瀹氱殑鍓創鏉匡紝鍙槸鐢╬灝變笉琛屼簡銆傚厛鎸塃SC錛岄鍑虹紪杈戞ā寮忥紝鐒跺悗渚濇鎸?+p榪欎笁涓瓧絎︺傝繖鏄妸+鍓創鏉跨殑鍐呭綺樿創榪涙潵銆?/span><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px/18px arial; white-space: normal; orphans: 2; float: none; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">娣誨姞錛?/span><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px/18px arial; white-space: normal; orphans: 2; float: none; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">map <c-c> "+y</span><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px/18px arial; white-space: normal; orphans: 2; float: none; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">map <c-v> "+p</span><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px/18px arial; white-space: normal; orphans: 2; float: none; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">鍒皏imrc涓紝鍙互鏂逛究鐨刢trl c ,ctrl y 浜嗐?/span><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px/18px arial; white-space: normal; orphans: 2; float: none; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">灝嗙郴緇熷壀璐存澘鐨勫唴瀹規嫹璐濊繘VIM鐨勬搷浣滄槸錛?鍦↖nsert妯″紡涓?Shift+Insert, 鎴朓nsert妯″紡涓?榧犳爣涓敭</span><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px/18px arial; white-space: normal; orphans: 2; float: none; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">浣嗘槸鍙嶈繃鏉ュ氨鏈夌偣鍥伴毦錛?鍥犱負緇堢涓嬬殑VIM娌℃湁緋葷粺鍓創鏉匡紝鍦ㄥ鎵懼懡浠ゆ棤鏋滃悗銆?鎴戞壘鍒頒簡涓涓媺寮哄彲浠ョ殑鍔炴硶銆?/span><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; letter-spacing: normal; display: inline !important; font: 12px/18px arial; white-space: normal; orphans: 2; float: none; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">鍦╲im涓殑鍛戒護琛岃緭鍏?set mouse=v 錛?鐒跺悗灝卞彲浠ヤ嬌鐢ㄩ紶鏍囬夋嫨騫跺彸閿脊鍑鴻彍鍗曞鍒訛紝鎴栬匔trl+Shift+c澶嶅埗錛岀己鐐規槸涓瀹氳鐢ㄩ紶鏍囥?/span><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /> <div style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; word-wrap: break-word; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">2鏈?4鏃?/div> <h4 style="line-height: 18px; widows: 2; text-transform: none; font-variant: normal; font-style: normal; text-indent: 0px; letter-spacing: normal; font-family: arial; white-space: normal; orphans: 2; color: rgb(154,154,154); font-size: 12px; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="beTitle">vim 澶嶅埗綺樿創鍒板壀璐存澘</h4> <div style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; font: 12px/18px arial; word-wrap: break-word; white-space: normal; orphans: 2; color: rgb(154,154,154); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="bvMsg">綺樿創錛?shirt + Insert<br />澶嶅埗 : ~/.vimrc 澧炲姞涓琛?map ^C ctrl + c<br />鍏朵腑^C 榪欐牱杈撳叆錛?鍏堟寜ctrl+v, 鍐嶆寜ctrl+c</div><img src ="http://www.shnenglu.com/wc250en007/aggbug/171445.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/wc250en007/" target="_blank">Let me see see</a> 2012-04-15 10:04 <a href="http://www.shnenglu.com/wc250en007/archive/2012/04/15/171445.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍦║buntu涓嬪緩绔婥/C++緙栫▼鐜(C鍜孋++鐨勭紪璇戞槸涓嶄竴鏍風殑)http://www.shnenglu.com/wc250en007/archive/2012/04/15/171438.htmlLet me see seeLet me see seeSun, 15 Apr 2012 00:04:00 GMThttp://www.shnenglu.com/wc250en007/archive/2012/04/15/171438.htmlhttp://www.shnenglu.com/wc250en007/comments/171438.htmlhttp://www.shnenglu.com/wc250en007/archive/2012/04/15/171438.html#Feedback0http://www.shnenglu.com/wc250en007/comments/commentRss/171438.htmlhttp://www.shnenglu.com/wc250en007/services/trackbacks/171438.html鍒氬垰瑁呭ソ鐨?a style="color: blue; text-decoration: underline" title="Ubuntu" >Ubuntu錛屾槸鑷甫Gcc鐨勶紝浣嗘槸鐢變簬緙轟箯蹇呰鐨勫ご鏂囦歡錛屼笉鑳介『鍒╃紪璇慍鍜孋++婧愮▼搴?br />姣斿鏈変互涓嬫簮紼嬪簭錛?br />#include <stdio.h>
int main()
{
printf("HelloWorld\n");
return 0;
}
鍦ㄧ粓绔紪璇戞椂浼氭彁紺烘壘涓嶅埌鏂囦歡“stdio.h”錛孋++婧愭枃浠朵篃鏄姝?/p>

瑕佽В鍐抽棶棰橈紝闇瑕佷竴涓猙uild-essential


鍦ㄦ柊绔嬪緱杞歡鍖呯鐞嗗櫒涓悳绱uild-essential錛屽畨瑁呭氨鍙互浜?/span>

C鍜孋++鐨勬簮鏂囦歡閮藉彲浠ュ懡鍚嶄負*.c錛屼笉榪囧湪緙栬瘧鐨勬椂鍊欒姝g‘閫夋嫨鍛戒護
濡備笂闈㈠啓鐨勭▼搴忓懡鍚嶄負my.c錛屾斁鍦ㄦ闈笂
鍦ㄧ粓绔腑杈撳叆錛?br />gcc /Desktop/my.c -o res
./res
緙栬瘧鐢熸垚鍙墽琛屾枃浠秗es騫舵墽琛?/p>

鍋囧婧愮▼搴忔槸鎸夌収C++鐨勮娉曟爣鍑嗙紪鍐欑殑錛?a style="color: blue; text-decoration: underline" >http://ubuntuone.cn鍒欏簲璇ユ墽琛岋細
g++ [鐩綍鍚峕 -o [鍙墽琛屾枃浠跺悕]
./[鍙墽琛屾枃浠跺悕]
浣犲彲浠ヨ嚜宸辮皟璇曚竴涓嬩笅闈㈢殑婧愮▼搴忥細
#include <iostream>
using namespace std;
class example
{
public:
example(int i)
{
num=i;
}
void display()
{
cout<<"HelloWorld!I'm number "<<num<<endl;
}
private:
int num;
};
int main()
{
example A(1),B(2);
A.display();
B.display();
return 0;
}



]]>
Ubuntu鍒濅綋楠?/title><link>http://www.shnenglu.com/wc250en007/archive/2012/03/14/167925.html</link><dc:creator>Let me see see</dc:creator><author>Let me see see</author><pubDate>Wed, 14 Mar 2012 14:27:00 GMT</pubDate><guid>http://www.shnenglu.com/wc250en007/archive/2012/03/14/167925.html</guid><wfw:comment>http://www.shnenglu.com/wc250en007/comments/167925.html</wfw:comment><comments>http://www.shnenglu.com/wc250en007/archive/2012/03/14/167925.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/wc250en007/comments/commentRss/167925.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/wc250en007/services/trackbacks/167925.html</trackback:ping><description><![CDATA[1.鍏ㄥ睆-銆嬬獥鍙?鍙寵竟CTRL+F<br />2.璋冭妭VirtualBox涓璘buntu铏氭嫙鏈虹殑鍒嗚鯨鐜?br /><span style="widows: 2; text-transform: none; text-indent: 0px; letter-spacing: normal; border-collapse: separate; font: medium 'Times New Roman'; white-space: normal; orphans: 2; color: rgb(0,0,0); word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="line-height: 20px; font-family: Arial, Tahoma, Verdana; color: rgb(85,85,85); font-size: 14px" class="Apple-style-span">涓嶈繃榪沀buntu妗岄潰鍚庯紝灞忓箷鍒嗚鯨鐜囧彧鑳藉湪800×600鍜?40×480涔嬮棿鍒囨崲錛屽埛鏂伴鐜囦篃鏄緢濂囨殑61HZ銆侴oogle浜嗕笅鍙戠幇鏄渶瑕佸拰VMWareTool涓鏍烽渶瑕佸畨瑁呬竴涓櫄鎷熸満鐨勮緟鍔╁伐鍏楓傚厛鍦?#8220;璁懼”->“鍒嗛厤鍏夐┍”閫変腑VBoxGuestAdditions.iso錛岀劧鍚庤繍琛屽叾涓殑瀹夎紼嬪簭鎴栬呰剼鏈?br /></span></span><br />VirtualBox:~$ sudo sh /media/VBOXADDITIONS_3.2.10_66523/VBoxLinuxAdditions-x86.run<img src ="http://www.shnenglu.com/wc250en007/aggbug/167925.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/wc250en007/" target="_blank">Let me see see</a> 2012-03-14 22:27 <a href="http://www.shnenglu.com/wc250en007/archive/2012/03/14/167925.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <a href="http://www.shnenglu.com/">青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品</a> <div style="position:fixed;left:-9000px;top:-9000px;"><font id="pjuwb"></font><button id="pjuwb"><pre id="pjuwb"></pre></button><sub id="pjuwb"></sub><tbody id="pjuwb"><var id="pjuwb"><address id="pjuwb"></address></var></tbody><listing id="pjuwb"><label id="pjuwb"><strong id="pjuwb"></strong></label></listing><wbr id="pjuwb"><small id="pjuwb"><tbody id="pjuwb"></tbody></small></wbr><ins id="pjuwb"><xmp id="pjuwb"></xmp></ins><style id="pjuwb"></style><label id="pjuwb"><em id="pjuwb"><li id="pjuwb"></li></em></label><samp id="pjuwb"></samp><menu id="pjuwb"><input id="pjuwb"></input></menu><pre id="pjuwb"><tbody id="pjuwb"><tfoot id="pjuwb"><button id="pjuwb"></button></tfoot></tbody></pre><form id="pjuwb"></form><i id="pjuwb"><style id="pjuwb"><label id="pjuwb"><sup id="pjuwb"></sup></label></style></i><li id="pjuwb"><table id="pjuwb"><abbr id="pjuwb"></abbr></table></li><video id="pjuwb"></video><dfn id="pjuwb"></dfn><progress id="pjuwb"></progress><strong id="pjuwb"></strong><mark id="pjuwb"></mark><em id="pjuwb"></em><tbody id="pjuwb"><p id="pjuwb"><strike id="pjuwb"><acronym id="pjuwb"></acronym></strike></p></tbody><option id="pjuwb"></option><strike id="pjuwb"></strike><u id="pjuwb"></u><td id="pjuwb"><center id="pjuwb"><tr id="pjuwb"></tr></center></td><em id="pjuwb"><mark id="pjuwb"><em id="pjuwb"><tt id="pjuwb"></tt></em></mark></em><strong id="pjuwb"></strong><wbr id="pjuwb"></wbr><s id="pjuwb"></s><strong id="pjuwb"></strong><legend id="pjuwb"></legend><nav id="pjuwb"></nav><dl id="pjuwb"><th id="pjuwb"><dl id="pjuwb"></dl></th></dl><noframes id="pjuwb"><ins id="pjuwb"></ins></noframes><font id="pjuwb"></font><strike id="pjuwb"><i id="pjuwb"><style id="pjuwb"><label id="pjuwb"></label></style></i></strike><output id="pjuwb"></output><thead id="pjuwb"><pre id="pjuwb"></pre></thead><source id="pjuwb"></source><menuitem id="pjuwb"><wbr id="pjuwb"></wbr></menuitem><pre id="pjuwb"><span id="pjuwb"><pre id="pjuwb"><big id="pjuwb"></big></pre></span></pre><cite id="pjuwb"><fieldset id="pjuwb"><s id="pjuwb"><rt id="pjuwb"></rt></s></fieldset></cite><big id="pjuwb"><progress id="pjuwb"><big id="pjuwb"></big></progress></big><samp id="pjuwb"><delect id="pjuwb"></delect></samp><dl id="pjuwb"></dl><strike id="pjuwb"><nav id="pjuwb"><dl id="pjuwb"><strong id="pjuwb"></strong></dl></nav></strike><tbody id="pjuwb"><b id="pjuwb"><optgroup id="pjuwb"><rp id="pjuwb"></rp></optgroup></b></tbody><em id="pjuwb"></em><xmp id="pjuwb"><blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote></xmp> <i id="pjuwb"><abbr id="pjuwb"><i id="pjuwb"><abbr id="pjuwb"></abbr></i></abbr></i><center id="pjuwb"><acronym id="pjuwb"><center id="pjuwb"></center></acronym></center><pre id="pjuwb"></pre><ul id="pjuwb"><thead id="pjuwb"></thead></ul><blockquote id="pjuwb"><pre id="pjuwb"><sup id="pjuwb"></sup></pre></blockquote><acronym id="pjuwb"></acronym><big id="pjuwb"><s id="pjuwb"></s></big><th id="pjuwb"></th><th id="pjuwb"></th><tbody id="pjuwb"></tbody><thead id="pjuwb"><strike id="pjuwb"></strike></thead><th id="pjuwb"><dl id="pjuwb"><wbr id="pjuwb"></wbr></dl></th><dl id="pjuwb"><strong id="pjuwb"></strong></dl><abbr id="pjuwb"><noframes id="pjuwb"><noscript id="pjuwb"></noscript></noframes></abbr><td id="pjuwb"><ol id="pjuwb"></ol></td><li id="pjuwb"><noscript id="pjuwb"><abbr id="pjuwb"></abbr></noscript></li><small id="pjuwb"><bdo id="pjuwb"><nav id="pjuwb"></nav></bdo></small><style id="pjuwb"></style><optgroup id="pjuwb"><table id="pjuwb"></table></optgroup><center id="pjuwb"><tr id="pjuwb"><dfn id="pjuwb"></dfn></tr></center><th id="pjuwb"></th><u id="pjuwb"></u><tfoot id="pjuwb"><legend id="pjuwb"><i id="pjuwb"></i></legend></tfoot><mark id="pjuwb"></mark><meter id="pjuwb"></meter><nav id="pjuwb"></nav><acronym id="pjuwb"><pre id="pjuwb"><acronym id="pjuwb"><ul id="pjuwb"></ul></acronym></pre></acronym><acronym id="pjuwb"><pre id="pjuwb"><acronym id="pjuwb"><ul id="pjuwb"></ul></acronym></pre></acronym><nobr id="pjuwb"></nobr><sub id="pjuwb"><th id="pjuwb"><menuitem id="pjuwb"><wbr id="pjuwb"></wbr></menuitem></th></sub><thead id="pjuwb"><sub id="pjuwb"></sub></thead><ul id="pjuwb"><address id="pjuwb"><menuitem id="pjuwb"><meter id="pjuwb"></meter></menuitem></address></ul><dfn id="pjuwb"></dfn><pre id="pjuwb"></pre><input id="pjuwb"><cite id="pjuwb"><fieldset id="pjuwb"></fieldset></cite></input><u id="pjuwb"><form id="pjuwb"><u id="pjuwb"></u></form></u><kbd id="pjuwb"><em id="pjuwb"><mark id="pjuwb"></mark></em></kbd><tr id="pjuwb"></tr><del id="pjuwb"><form id="pjuwb"><address id="pjuwb"></address></form></del><tfoot id="pjuwb"><legend id="pjuwb"><ol id="pjuwb"><dl id="pjuwb"></dl></ol></legend></tfoot><menu id="pjuwb"><nobr id="pjuwb"><th id="pjuwb"><nobr id="pjuwb"></nobr></th></nobr></menu><fieldset id="pjuwb"></fieldset><pre id="pjuwb"><blockquote id="pjuwb"><samp id="pjuwb"></samp></blockquote></pre><xmp id="pjuwb"><sup id="pjuwb"><pre id="pjuwb"></pre></sup></xmp><span id="pjuwb"><progress id="pjuwb"></progress></span><font id="pjuwb"></font><var id="pjuwb"><abbr id="pjuwb"></abbr></var><strong id="pjuwb"><label id="pjuwb"><i id="pjuwb"><legend id="pjuwb"></legend></i></label></strong><tr id="pjuwb"><em id="pjuwb"><em id="pjuwb"><output id="pjuwb"></output></em></em></tr><thead id="pjuwb"><strike id="pjuwb"></strike></thead> <acronym id="pjuwb"></acronym><i id="pjuwb"></i><tt id="pjuwb"></tt><rt id="pjuwb"><source id="pjuwb"><rt id="pjuwb"></rt></source></rt><strike id="pjuwb"><acronym id="pjuwb"></acronym></strike><del id="pjuwb"></del><font id="pjuwb"><output id="pjuwb"><ins id="pjuwb"><output id="pjuwb"></output></ins></output></font><kbd id="pjuwb"><tr id="pjuwb"><kbd id="pjuwb"></kbd></tr></kbd><pre id="pjuwb"><sup id="pjuwb"><delect id="pjuwb"><samp id="pjuwb"></samp></delect></sup></pre><samp id="pjuwb"></samp><track id="pjuwb"></track><tr id="pjuwb"></tr><center id="pjuwb"></center><fieldset id="pjuwb"></fieldset><i id="pjuwb"></i><td id="pjuwb"></td><rt id="pjuwb"></rt><object id="pjuwb"></object><pre id="pjuwb"><progress id="pjuwb"><sub id="pjuwb"><thead id="pjuwb"></thead></sub></progress></pre><kbd id="pjuwb"><tr id="pjuwb"><option id="pjuwb"></option></tr></kbd><output id="pjuwb"><ins id="pjuwb"></ins></output><ol id="pjuwb"></ol><source id="pjuwb"></source><strong id="pjuwb"></strong><ruby id="pjuwb"></ruby><sub id="pjuwb"><meter id="pjuwb"><menuitem id="pjuwb"><meter id="pjuwb"></meter></menuitem></meter></sub><pre id="pjuwb"></pre><center id="pjuwb"></center><tr id="pjuwb"><tbody id="pjuwb"><xmp id="pjuwb"><dd id="pjuwb"></dd></xmp></tbody></tr><video id="pjuwb"></video><pre id="pjuwb"></pre><form id="pjuwb"><optgroup id="pjuwb"></optgroup></form><samp id="pjuwb"></samp><kbd id="pjuwb"></kbd><strong id="pjuwb"><option id="pjuwb"></option></strong><object id="pjuwb"></object><abbr id="pjuwb"><noframes id="pjuwb"><abbr id="pjuwb"></abbr></noframes></abbr><ul id="pjuwb"><del id="pjuwb"><button id="pjuwb"><pre id="pjuwb"></pre></button></del></ul><abbr id="pjuwb"></abbr><strong id="pjuwb"><code id="pjuwb"><strong id="pjuwb"></strong></code></strong><option id="pjuwb"></option><optgroup id="pjuwb"><bdo id="pjuwb"><code id="pjuwb"></code></bdo></optgroup><mark id="pjuwb"><em id="pjuwb"><font id="pjuwb"></font></em></mark><acronym id="pjuwb"><code id="pjuwb"></code></acronym><dl id="pjuwb"></dl><em id="pjuwb"></em><object id="pjuwb"><input id="pjuwb"><object id="pjuwb"></object></input></object><output id="pjuwb"><dd id="pjuwb"></dd></output><option id="pjuwb"><button id="pjuwb"><option id="pjuwb"></option></button></option><small id="pjuwb"></small></div> <a href="http://489633.com" target="_blank">一区二区三区精品久久久</a>| <a href="http://49234c.com" target="_blank">欧美日韩免费精品</a>| <a href="http://lampreydb.com" target="_blank">亚洲制服少妇</a>| <a href="http://www55747.com" target="_blank">欧美日韩成人在线观看</a>| <a href="http://fulong-tj.com" target="_blank">亚洲国产成人午夜在线一区</a>| <a href="http://1390555.com" target="_blank">亚洲综合另类</a>| <a href="http://dzyhjx.com" target="_blank">一区二区三区久久久</a>| <a href="http://wwwhaodd116.com" target="_blank">欧美日本国产</a>| <a href="http://842332.com" target="_blank">亚洲人妖在线</a>| <a href="http://haoa009.com" target="_blank">亚洲电影在线免费观看</a>| <a href="http://www49773.com" target="_blank">久久资源在线</a>| <a href="http://592xyy.com" target="_blank">亚洲剧情一区二区</a>| <a href="http://www-tk3333.com" target="_blank">亚洲第一网站</a>| <a href="http://uniconmgt.com" target="_blank">欧美激情一区二区三区在线视频</a>| <a href="http://my777752.com" target="_blank">亚洲国产另类精品专区</a>| <a href="http://833816.com" target="_blank">欧美成人一二三</a>| <a href="http://2996611.com" target="_blank">另类激情亚洲</a>| <a href="http://7234hh.com" target="_blank">999在线观看精品免费不卡网站</a>| <a href="http://91porn42.com" target="_blank">亚洲高清二区</a>| <a href="http://www-663345.com" target="_blank">欧美精品v日韩精品v国产精品</a>| <a href="http://xjksrbh.com" target="_blank">日韩视频精品在线观看</a>| <a href="http://114mz.com" target="_blank">亚洲精品日韩精品</a>| <a href="http://667939.com" target="_blank">国产精品porn</a>| <a href="http://124909.com" target="_blank">久久99伊人</a>| <a href="http://www666se.com" target="_blank">久久久久久网</a>| <a href="http://bizssr.com" target="_blank">亚洲国产精品悠悠久久琪琪</a>| <a href="http://hwlxwp.com" target="_blank">老巨人导航500精品</a>| <a href="http://9924338.com" target="_blank">欧美日韩一区在线</a>| <a href="http://www87bbw.com" target="_blank">久久国产福利</a>| <a href="http://ekuyun.com" target="_blank">欧美大成色www永久网站婷</a>| <a href="http://by1422.com" target="_blank">亚洲人精品午夜</a>| <a href="http://azaz7.com" target="_blank">欧美一级大片在线观看</a>| <a href="http://km43yy.com" target="_blank">亚洲国产成人久久综合一区</a>| <a href="http://91pero.com" target="_blank">亚洲裸体在线观看</a>| <a href="http://uniconmgt.com" target="_blank">国产农村妇女毛片精品久久麻豆 </a>| <a href="http://5177jy.com" target="_blank">久久一区二区三区四区</a>| <a href="http://k68c.com" target="_blank">国产精品资源</a>| <a href="http://by56677.com" target="_blank">欧美大秀在线观看</a>| <a href="http://cpb-group.com" target="_blank">欧美精品在线一区二区三区</a>| <a href="http://zb557.com" target="_blank">亚洲在线视频网站</a>| <a href="http://www344399.com" target="_blank">欧美一区二区视频在线观看</a>| <a href="http://mishangmi.com" target="_blank">亚洲精品你懂的</a>| <a href="http://youjizzbox.com" target="_blank">免费看成人av</a>| <a href="http://zhijiasd.com" target="_blank">国产精品av久久久久久麻豆网</a>| <a href="http://22abb.com" target="_blank">久久成人国产</a>| <a href="http://ccc3636.com" target="_blank">久久夜色精品国产亚洲aⅴ</a>| <a href="http://jdavmm.com" target="_blank">在线亚洲精品</a>| <a href="http://yyds16.com" target="_blank">久久全国免费视频</a>| <a href="http://hzjqkj.com" target="_blank">亚洲欧美日韩爽爽影院</a>| <a href="http://mm910.com" target="_blank">免费在线视频一区</a>| <a href="http://339505.com" target="_blank">亚洲免费在线观看</a>| <a href="http://13501680.com" target="_blank">欧美成人在线网站</a>| <a href="http://www-893333.com" target="_blank">亚欧美中日韩视频</a>| <a href="http://sz-changrong.com" target="_blank">欧美激情亚洲国产</a>| <a href="http://337795.com" target="_blank">久久久噜久噜久久综合</a>| <a href="http://korean-edu.com" target="_blank">欧美性色aⅴ视频一区日韩精品</a>| <a href="http://oudaole.com" target="_blank">牛牛精品成人免费视频</a>| <a href="http://8eeeccc.com" target="_blank">国产精品二区三区四区</a>| <a href="http://ybshg.com" target="_blank">亚洲国产99精品国自产</a>| <a href="http://bgdete.com" target="_blank">国外成人在线</a>| <a href="http://www-333410.com" target="_blank">久久精品国产综合精品</a>| <a href="http://ww4477.com" target="_blank">久久性色av</a>| <a href="http://cl5555.com" target="_blank">伊人久久男人天堂</a>| <a href="http://qiaoka526.com" target="_blank">久久久蜜桃一区二区人</a>| <a href="http://hhh246.com" target="_blank">欧美区国产区</a>| <a href="http://012492.com" target="_blank">亚洲黄色尤物视频</a>| <a href="http://7555hh.com" target="_blank">亚洲免费黄色</a>| <a href="http://qqx123.com" target="_blank">欧美日韩成人一区二区</a>| <a href="http://521nb.com" target="_blank">99视频精品免费观看</a>| <a href="http://duoying668.com" target="_blank">在线视频亚洲一区</a>| <a href="http://scqike.com" target="_blank">欧美天堂亚洲电影院在线观看</a>| <a href="http://by66336.com" target="_blank">9l国产精品久久久久麻豆</a>| <a href="http://wce-expo.com" target="_blank">亚洲天堂av综合网</a>| <a href="http://261262.com" target="_blank">国产精品久线观看视频</a>| <a href="http://hhbz518.com" target="_blank">亚洲欧美一区二区三区在线</a>| <a href="http://551692.com" target="_blank">久久精品一区</a>| <a href="http://227c7.com" target="_blank">亚洲国产日韩欧美一区二区三区</a>| <a href="http://91sp136.com" target="_blank">免费亚洲电影在线观看</a>| <a href="http://shiyoudiban.com" target="_blank">亚洲国产欧美日韩精品</a>| <a href="http://sikixixw12.com" target="_blank">在线亚洲欧美视频</a>| <a href="http://6666345.com" target="_blank">国产精品久久毛片a</a>| <a href="http://016889.com" target="_blank">香蕉久久夜色精品国产</a>| <a href="http://yx3369.com" target="_blank">久久久国产成人精品</a>| <a href="http://bandycup.com" target="_blank">在线日韩日本国产亚洲</a>| <a href="http://bocai01.com" target="_blank">欧美激情一区二区三区在线视频观看 </a>| <a href="http://621791.com" target="_blank">国产日韩欧美麻豆</a>| <a href="http://ahqdlq.com" target="_blank">久久理论片午夜琪琪电影网</a>| <a href="http://am3757.com" target="_blank">欧美激情久久久久久</a>| <a href="http://4430x.com" target="_blank">日韩视频在线观看免费</a>| <a href="http://by33336.com" target="_blank">欧美日韩综合另类</a>| <a href="http://www962aa.com" target="_blank">午夜精品av</a>| <a href="http://fanwenok.com" target="_blank">欧美电影免费观看</a>| <a href="http://p54y.com" target="_blank">99亚洲一区二区</a>| <a href="http://www-85489.com" target="_blank">国产精品亚洲网站</a>| <a href="http://kk553.com" target="_blank">米奇777超碰欧美日韩亚洲</a>| <a href="http://621767.com" target="_blank">日韩午夜在线观看视频</a>| <a href="http://ylsnuha.com" target="_blank">欧美一区久久</a>| <a href="http://fuwu56.com" target="_blank">亚洲精品国久久99热</a>| <a href="http://jrtkpx.com" target="_blank">欧美视频在线免费</a>| <a href="http://xy3977.com" target="_blank">久久尤物视频</a>| <a href="http://215920.com" target="_blank">亚洲香蕉网站</a>| <a href="http://86868o.com" target="_blank">欧美激情视频在线播放</a>| <a href="http://xing69.com" target="_blank">性欧美暴力猛交69hd</a>| <a href="http://hwgjcm.com" target="_blank">亚洲欧洲日本专区</a>| <a href="http://www-23918.com" target="_blank">欧美福利一区二区</a>| <a href="http://244223.com" target="_blank">欧美一区二区三区免费视频</a>| <a href="http://www47011.com" target="_blank">亚洲精美视频</a>| <a href="http://118017.com" target="_blank">国产精品一二一区</a>| <a href="http://9113c.com" target="_blank">欧美激情第六页</a>| <a href="http://china391.com" target="_blank">久久动漫亚洲</a>| <a href="http://shalxee.com" target="_blank">一区二区三区av</a>| <a href="http://szywsj.com" target="_blank">亚洲国产成人久久综合</a>| <a href="http://5418002.com" target="_blank">亚洲影视九九影院在线观看</a>| <a href="http://7770790.com" target="_blank">亚洲高清久久久</a>| <a href="http://9658888.com" target="_blank">国产精品美女久久久</a>| <a href="http://327099.com" target="_blank">欧美国产一区二区</a>| <a href="http://ridenimbus.com" target="_blank">欧美一区影院</a>| <a href="http://4009935888.com" target="_blank">正在播放亚洲一区</a>| <a href="http://ndr666.com" target="_blank">91久久中文</a>| <a href="http://mide776.com" target="_blank">奶水喷射视频一区</a>| <a href="http://hfztkyhfz.com" target="_blank">亚洲欧美日韩综合一区</a>| <a href="http://baoyou118.com" target="_blank">亚洲国产老妈</a>| <a href="http://by8556.com" target="_blank">在线看片欧美</a>| <a href="http://hzjqkj.com" target="_blank">国产综合欧美</a>| <a href="http://tk263.com" target="_blank">国产日韩一区二区三区</a>| <a href="http://66y3.com" target="_blank">国产精品久久久久久五月尺</a>| <a href="http://yye321.com" target="_blank">欧美精品二区三区四区免费看视频</a>| <a href="http://saomm18.com" target="_blank">久久精品国产欧美亚洲人人爽</a>| <a href="http://bjlaosha.com" target="_blank">一区二区三区蜜桃网</a>| <a href="http://49234c.com" target="_blank">亚洲精品乱码久久久久久日本蜜臀</a>| <a href="http://ridenimbus.com" target="_blank">美女主播精品视频一二三四</a>| <a href="http://85041960.com" target="_blank">欧美一区二区在线</a>| <a href="http://lysyfls.com" target="_blank">亚洲欧美日韩中文播放</a>| <a href="http://405151.com" target="_blank">亚洲欧美日韩国产综合在线</a>| <a href="http://qiansemf.com" target="_blank">一本综合久久</a>| <a href="http://yd3399.com" target="_blank">亚洲精品五月天</a>| <a href="http://bmcshy.com" target="_blank">尤物九九久久国产精品的分类</a>| <a href="http://91ymz.com" target="_blank">国产亚洲精品久久久</a>| <a href="http://339505.com" target="_blank">国产日产亚洲精品</a>| <a href="http://281191.com" target="_blank">国产精品无码永久免费888</a>| <a href="http://uniconmgt.com" target="_blank">国产精品v片在线观看不卡 </a>| <a href="http://y65k.com" target="_blank">欧美一区免费视频</a>| <a href="http://spvicarb.com" target="_blank">亚洲自拍都市欧美小说</a>| <a href="http://320ur.com" target="_blank">亚洲图片激情小说</a>| <a href="http://wwwmiya728.com" target="_blank">一区二区三区**美女毛片</a>| <a href="http://nachang5117.com" target="_blank">亚洲免费激情</a>| <a href="http://mfgun.com" target="_blank">亚洲午夜电影网</a>| <a href="http://www49797.com" target="_blank">亚洲一区久久久</a>| <a href="http://099553.com" target="_blank">亚洲欧美日韩爽爽影院</a>| <a href="http://16355t.com" target="_blank">亚洲香蕉在线观看</a>| <a href="http://aiqianfang.com" target="_blank">亚洲永久免费观看</a>| <a href="http://www-4564949.com" target="_blank">欧美一区二区高清</a>| <a href="http://www-77663.com" target="_blank">久久久天天操</a>| <a href="http://eee104.com" target="_blank">欧美成人精品一区</a>| <a href="http://b1768.com" target="_blank">欧美区高清在线</a>| <a href="http://fobdoer.com" target="_blank">国产精品久久久久久久久久久久久 </a>| <a href="http://by71222.com" target="_blank">欧美成人免费视频</a>| <a href="http://zucai168.com" target="_blank">蜜臀久久久99精品久久久久久</a>| <a href="http://www201314.com" target="_blank">另类国产ts人妖高潮视频</a>| <a href="http://dadepaimai.com" target="_blank">蜜桃伊人久久</a>| <a href="http://344230.com" target="_blank">欧美精品久久久久久久</a>| <a href="http://97gaoba.com" target="_blank">欧美精品久久天天躁</a>| <a href="http://spardec.com" target="_blank">国产精品福利久久久</a>| <a href="http://ccc3636.com" target="_blank">国产亚洲人成a一在线v站 </a>| <a href="http://339505.com" target="_blank">国产亚洲精久久久久久</a>| <a href="http://521nb.com" target="_blank">影音先锋日韩精品</a>| <a href="http://48488a.com" target="_blank">99精品久久</a>| <a href="http://9924338.com" target="_blank">欧美一区二区在线</a>| <a href="http://evaporsllc.com" target="_blank">欧美国产第二页</a>| <a href="http://xsxcn.com" target="_blank">在线亚洲国产精品网站</a>| <a href="http://xingda-sh.com" target="_blank">欧美中文在线字幕</a>| <a href="http://44779c.com" target="_blank">欧美激情一区二区三区在线</a>| <a href="http://300644.com" target="_blank">国产精品视频久久一区</a>| <a href="http://707fx.com" target="_blank">在线观看视频欧美</a>| <a href="http://7c3e.com" target="_blank">亚洲私人影院在线观看</a>| <a href="http://www47777.com" target="_blank">久久久久网站</a>| <a href="http://743627.com" target="_blank">亚洲精品中文字幕女同</a>| <a href="http://heyzo1031.com" target="_blank">新67194成人永久网站</a>| <a href="http://expolucy.com" target="_blank">欧美高清在线视频观看不卡</a>| <a href="http://0808333.com" target="_blank">国产精品一级二级三级</a>| <a href="http://87ssyy.com" target="_blank">亚洲国产另类久久精品</a>| <a href="http://8eb26.com" target="_blank">性高湖久久久久久久久</a>| <a href="http://xiaocao-av.com" target="_blank">欧美国产日本</a>| <a href="http://4009935888.com" target="_blank">亚洲一区在线播放</a>| <a href="http://km43yy.com" target="_blank">欧美成人综合</a>| <a href="http://scqike.com" target="_blank">国外成人免费视频</a>| <a href="http://173168.com" target="_blank">亚洲欧美国产精品桃花</a>| <a href="http://wwwcao88.com" target="_blank">欧美黄色成人网</a>| <a href="http://77777kkk.com" target="_blank">久久er99精品</a>| <a href="http://gbandal.com" target="_blank">国产精品久久久久久av下载红粉 </a>| <a href="http://56667r.com" target="_blank">欧美区视频在线观看</a>| <a href="http://xmzszx.com" target="_blank">国产一区二区在线观看免费播放</a>| <a href="http://lctongda.com" target="_blank">日韩视频在线一区二区</a>| <a href="http://2016dp5330.com" target="_blank">久久一区激情</a>| <a href="http://91pero.com" target="_blank">亚洲欧美激情一区二区</a>| <a href="http://xzvaz.com" target="_blank">欧美日本精品在线</a>| <a href="http://www38ccc.com" target="_blank">亚洲国产成人午夜在线一区</a>| <a href="http://diyiao.com" target="_blank">久久精品国产一区二区电影</a>| <a href="http://www30bxbx.com" target="_blank">一区二区三区国产盗摄</a>| <a href="http://cl5555.com" target="_blank">欧美国产精品人人做人人爱</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>