锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲AV日韩精品久久久久久久,亚洲欧洲综合在线,亚洲无线一二三四区手机http://www.tkk7.com/dongbule/category/47198.html寤洪犻珮鎬ц兘闂ㄦ埛緗?/description>zh-cnTue, 04 Mar 2014 08:55:08 GMTTue, 04 Mar 2014 08:55:08 GMT60銆妋aven綆浠嬮厤緗笌縐佹湇鎼緩銆?鍒嗕韓http://www.tkk7.com/dongbule/archive/2014/03/04/410574.html闄堜簬鍠?/dc:creator>闄堜簬鍠?/author>Tue, 04 Mar 2014 02:49:00 GMThttp://www.tkk7.com/dongbule/archive/2014/03/04/410574.htmlhttp://www.tkk7.com/dongbule/comments/410574.htmlhttp://www.tkk7.com/dongbule/archive/2014/03/04/410574.html#Feedback0http://www.tkk7.com/dongbule/comments/commentRss/410574.htmlhttp://www.tkk7.com/dongbule/services/trackbacks/410574.html鍓嶆鏃墮棿閮ㄥ垎欏圭洰鏀規垚maven錛屽茍鎼緩浜唍exus縐佹湇錛屾墍浠ュ湪緇勫唴鍋氫簡涓涓叧浜巑aven鐨勫垎浜笌鍩硅錛屼笅闈㈡槸榪欐鐨刾pt

http://www.tkk7.com/Files/dongbule/maven.zip


----------------------------------------

by 闄堜簬鍠?
QQ:34174409
Mail: dongbule@163.com


]]>
銆妋ac os x閫夎喘涓庡垵姝ユ帰绱€?鐨勫垎浜?/title><link>http://www.tkk7.com/dongbule/archive/2014/02/23/410207.html</link><dc:creator>闄堜簬鍠?/dc:creator><author>闄堜簬鍠?/author><pubDate>Sun, 23 Feb 2014 04:54:00 GMT</pubDate><guid>http://www.tkk7.com/dongbule/archive/2014/02/23/410207.html</guid><wfw:comment>http://www.tkk7.com/dongbule/comments/410207.html</wfw:comment><comments>http://www.tkk7.com/dongbule/archive/2014/02/23/410207.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/dongbule/comments/commentRss/410207.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/dongbule/services/trackbacks/410207.html</trackback:ping><description><![CDATA[鐢╩ac緋葷粺宸茬粡涓騫村浜嗭紝鍛ㄨ竟鍚屼簨涔熻秺鏉ヨ秺澶氫漢寮濮嬬敤mac錛屾墍浠ュ湪鍏徃鍐呴儴鍋氫簡涓嬈ac閫夎喘鍜宮ac os x緋葷粺姣旇緝鏈夋妧鏈粏鑺傜殑鍒嗕韓錛岀暀涓?浠絧pt鐢ㄤ簬綰康銆?br /><br />銆妋ac鐨勯夎喘銆嬪鏈甯歌鐨勫嚑涓猰ac紜歡 錛?macbook air,macbook pro,mac mini,imac 榪涜瀵規瘮鍒嗘瀽錛屽寘鎷ц兘浠鋒牸鍜岄拡瀵圭殑搴旂敤鍒嗘瀽<br /><a href="http://www.tkk7.com/Files/dongbule/mac%20(1).pptx.zip">銆妋ac閫夎喘銆?/a> http://www.tkk7.com/Files/dongbule/mac%20(1).pptx.zip<br />鍦ㄥ畬鎴愬垎浜悗錛屼互鏂板2涓悓浜嬮夎喘浜唌acbook air  ^_^<br /><br />銆妋ac os x銆嬮拡瀵逛簡mac鐨勪竴浜涚粏鑺傚垎鏋愶紝涓轟粈涔堝湪05騫翠互鍓嶈嫻鏋滀笉鑳借櫄鎷熸満鍜岄粦鑻規灉錛屼負浠涔堝湪鑻規灉鏀規垚x86緋葷粺錛岄粦鑻規灉妯錛宮ac鍦ㄥ唴瀛樼鐞嗕笌win鏈変綍瀹炶川鐨勪笉鍚岋紝錛岋紝錛岀瓑絳夈?br /><a href="http://www.tkk7.com/Files/dongbule/mac%20os.zip">銆妋ac os x銆?/a>http://www.tkk7.com/Files/dongbule/mac%20os.zip<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />----------------------------------------<img src ="http://www.tkk7.com/dongbule/aggbug/410207.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/dongbule/" target="_blank">闄堜簬鍠?/a> 2014-02-23 12:54 <a href="http://www.tkk7.com/dongbule/archive/2014/02/23/410207.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍦╠ebian瀹夎nfs-server鍑虹幇鐨刡ug澶勭悊http://www.tkk7.com/dongbule/archive/2011/04/06/347718.html闄堜簬鍠?/dc:creator>闄堜簬鍠?/author>Wed, 06 Apr 2011 09:13:00 GMThttp://www.tkk7.com/dongbule/archive/2011/04/06/347718.htmlhttp://www.tkk7.com/dongbule/comments/347718.htmlhttp://www.tkk7.com/dongbule/archive/2011/04/06/347718.html#Feedback1http://www.tkk7.com/dongbule/comments/commentRss/347718.htmlhttp://www.tkk7.com/dongbule/services/trackbacks/347718.html nfs瀹夎涓庨厤緗紙debian錛?/a>
濂藉惂錛岃繖涓敊璇氮璐逛簡鎴戜粖澶╁嚑涓皬鏃剁殑鏃墮棿錛屽繀欏繪妸瀹冭褰曚笅鏉ャ?br /> 闂鏄繖鏍風殑錛屽湪鍚姩鏇存柊浜唒ortmap錛宔xportfs錛屼竴浜涙病闂鍚庯紝鍦ㄥ仛/etc/init.d/nfs-kernel-server restart 鍑虹幇

/etc/init.d/nfs-kernel-server start
Exporting directories for NFS kernel daemonexportfs: /etc/exports 
[1]:
Neither 'subtree_check' or 'no_subtree_check' specified for export
"foobar".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 
1.0.x

.
Starting NFS kernel daemon: nfsd
Not starting: portmap daemon is not running (warning).


璀﹀憡鎻愮ずportmap is not running

濂藉惂錛屾鏌ヤ竴涓媝ortmap

/home/mnt/index# ps aux | grep portmap
daemon   
31478  0.0  0.0   2052   624 ?        Ss   13:59   0:00 /sbin/portmap


portmap鐨勭姸鎬佸凡緇忔槸running錛屽湪googling鍚庯紝鍙戠幇緗戜笂鏈変漢璇存槸
This is the problem, portmap is not actually running, causing rpc.statd

鐪嬫潵闂榪樻槸鍑虹幇rpc涓婏紝鏈涓昏鐨勮繘紼媟pc.mountd鏃犳硶鍚姩

濂藉惂錛屾帴涓嬫潵鎵撳紑/etc/init.d/nfs-kernel-server榪欎釜鍚姩鑴氭湰榪涜鏌ョ湅

                 # See if portmap or rpcbind are running
                 (cat </dev/null >/dev/tcp/localhost/
1112>/dev/null
                 RET
=$?
                 if 
[ $RET != 0 ]; then
                     echo
                     log_warning_msg 
"Not starting: portmap daemon is not running"
                     exit 
0
                 fi


鐪嬫潵闂灝卞嚭鏉ヨ繖涓紝浠涔堝彨“/dev/tcp/localhost/111”錛岃繕鏄痝oogling錛岀綉涓婃湁浜鴻

I find that this is a bashism, but the init-script is marked as a bash script at the
top:
!/bin/bash
鍐峬an Bash錛屽彂鐜?br /> Bash, as packaged for Debian, does not support using the /dev/tcp and /dev/udp files

搴旇寰堟竻妤氫簡錛屽鏋滄寜鐓ц繖閲岀殑鍒嗘瀽錛岄偅涔堟垜浠渶瑕佸涓婇潰鐨勮繖涓惎鍔ㄨ剼鏈繘琛屼竴涓嬩慨鏀瑰氨鍙互瀹屾垚鎴戜滑鐨勭洰鐨勶紝鏈鐩存帴鐨勫氨鏄妸exit 0娉ㄩ噴鎺夛紝鍙﹀璇翠竴鐐癸紝榪欎釜鑴氭湰涔熸湁浜涘啓寰椾笉澶у悎鐞嗭紝鏃㈢劧鏄痩og_warning_msg錛屼竴涓獁arning錛屽氨涓嶅簲璇ョ洿鎺ョ殑exit 0




]]>
璁﹍inux瀹氭椂鎵ц縐掔駭浠誨姟http://www.tkk7.com/dongbule/archive/2011/01/19/343227.html闄堜簬鍠?/dc:creator>闄堜簬鍠?/author>Wed, 19 Jan 2011 09:47:00 GMThttp://www.tkk7.com/dongbule/archive/2011/01/19/343227.htmlhttp://www.tkk7.com/dongbule/comments/343227.htmlhttp://www.tkk7.com/dongbule/archive/2011/01/19/343227.html#Feedback0http://www.tkk7.com/dongbule/comments/commentRss/343227.htmlhttp://www.tkk7.com/dongbule/services/trackbacks/343227.html 闂鏄繖鏍風殑錛屾湁涓剼鏈渶瑕?0縐掗挓鎵ц涓嬈★紝鑴氭湰鍏蜂綋鍔熻兘灝變笉緇嗚錛屽畾鏃朵換鍔¤嚜鐒墮夌敤crontab錛屼絾鏄痗rontab鏈灝忕殑鎵ц鏃墮棿涓哄垎閽燂紝鏈鍚庡喅瀹氶夌敤姝誨驚鐜繘琛屽疄鐜般?br />
鑴氭湰
vi hello.sh
#!/bin/sh
while :
do
echo `date` 
>> /home/chenyz/1      //榪欓噷鏄換鍔$殑瀹炵幇
sleep 10
done

榪欓噷鐨勭▼搴忚繍琛屾椂闂撮棿闅旀槸10s錛屽皬蹇冨挴錛屽鏋滄病鏈夊姞sleep 10錛屼綘鐨勬満鍣ㄥ緢蹇氨浼氳楀敖璧勬簮錛岃礋杞戒細鐙傞銆?br />
鎺ョ潃闇瑕佹妸鑴氭湰鐢ㄥ悗鍙板畧鎶よ繘紼嬫潵榪愯錛岄伩鍏嶇敤鎴烽鍑鴻屽鑷磋剼鏈け鏁?br />
nohup sh hello.sh &

btw錛宯ohup灝辨槸no hang up錛堜笉鎸傝搗錛?br />
鏈鍚庢鏌ヤ竴涓嬫墽琛岀敤鎴烽鍑哄悗鐩稿簲鐨勮繘紼嬫槸鍚︾戶緇湪榪愯

root@tech163:/home/chenyz# ps -aux | grep hello
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root     
17275  0.0  0.1   1840   544 pts/1    S    17:33   0:00 /bin/sh ./hello.sh

root
@tech163:/home/chenyz#  vi 1
Wed Jan 19 17:09:02 CST 2011
Wed Jan 
19 17:09:12 CST 2011
Wed Jan 
19 17:09:22 CST 2011
Wed Jan 
19 17:09:32 CST 2011
Wed Jan 
19 17:09:42 CST 2011
Wed Jan 
19 17:09:52 CST 2011


濡傛灉鏈夋洿濂界殑鍔炴硶鍜屾兂娉曪紝铏氬績璇鋒暀錛屾榪庤璁?br />

]]>
瀹夎閰嶇疆鏁寸悊涔?awstatshttp://www.tkk7.com/dongbule/archive/2010/12/10/340281.html闄堜簬鍠?/dc:creator>闄堜簬鍠?/author>Fri, 10 Dec 2010 09:28:00 GMThttp://www.tkk7.com/dongbule/archive/2010/12/10/340281.htmlhttp://www.tkk7.com/dongbule/comments/340281.htmlhttp://www.tkk7.com/dongbule/archive/2010/12/10/340281.html#Feedback0http://www.tkk7.com/dongbule/comments/commentRss/340281.htmlhttp://www.tkk7.com/dongbule/services/trackbacks/340281.html 涓嬭澆鏈鏂扮増鏈?

瀹夎
cd /home/download
wget http://awstats.sourceforge.net/files/awstats-7.0.tar.gz
tar zxf awstats-7.0.tar.gz
mv awstats-7.0 awstats
perl awstats_configure.pl

鍦╗y/n]閫夋嫨鏃?杈撳叆y
鎺ョ潃杈撳叆浣犺鍒嗘瀽鐨勫煙鍚?杈撳叆tech163
涓璺疎nter

閰嶇疆
vi /etc/awstats/awstats.tech163.com

LogFile="/home/apache/logs/access_logs"
DirCgi="/home/awstats/wwwroot/cgi-bin"
AllowToUpdateStatsFromBrowser=1


vi /home/apache/conf/httpd.conf

<VirtualHost *>
  ServerName awstats.163.com
  DocumentRoot "/home/awstats/awstats/wwwroot"
</VirtualHost>

Alias /awstatsclasses "/home/awstats/awstats/wwwroot/classes/"
Alias /awstatscss "/home/awstats/awstats/wwwroot/css/"
Alias /awstatsicons "/home/awstats/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/home/awstats/awstats/wwwroot/cgi-bin/"


cd /home/awstats/wwwroot/cgi-bin
perl awstats.pl -config=tech163 -update -lang=cn
perl awstats.pl -config=tech163 -output -staticlinks -lang=cn>awstats.tech163.html

嫻嬭瘯
http://awstats.163.com/awstats/awstats.pl?config=tech163.com

host鎸囧畾 awstats.163.com 涓?閰嶇疆鐨勬満鍣╥p


]]>
瀹夎閰嶇疆鏁寸悊涔?memcachedhttp://www.tkk7.com/dongbule/archive/2010/12/07/339995.html闄堜簬鍠?/dc:creator>闄堜簬鍠?/author>Tue, 07 Dec 2010 08:34:00 GMThttp://www.tkk7.com/dongbule/archive/2010/12/07/339995.htmlhttp://www.tkk7.com/dongbule/comments/339995.htmlhttp://www.tkk7.com/dongbule/archive/2010/12/07/339995.html#Feedback0http://www.tkk7.com/dongbule/comments/commentRss/339995.htmlhttp://www.tkk7.com/dongbule/services/trackbacks/339995.html gcc
libevent
glibc-devel

涓嬭澆
cd /home/download
wget http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz
wget http://www.danga.com/memcached/dist/memcached-1.4.0.tar.gz

瀹夎
tar -zxvf libevent-1.4.13-stable.tar.gz
cd libevent-1.4.13-stable
./configure --prefix=/usr/local/libevent
make && make install

tar -zxvf memcached-1.4.0.tar.gz
cd memcached-1.4.0
./configure --prefix=/usr/local/memcached --with-libevent=/usr/local/libevent
make && make install

鍚姩
/usr/local/memcached/bin/memcached -d -m 64 -u root -p 11211 -c 1024 -P /var/memcached.pid
-d 涓哄畧鎶よ繘紼?br /> -m 涓哄垎閰嶇殑鍐呭瓨閲?br /> -u 榪愯memcached鐨勭敤鎴?br /> -p 鐩戝惉鐨勭鍙?br /> -c 鏈澶х殑騫跺彂榪炴帴鏁?br /> -P 淇濆瓨pid鏂囦歡

榪樻湁寰堝鐨勫惎鍔ㄩ夐」,閫氳繃甯姪鏌ョ湅
/usr/local/memcached/bin/memcached -h

嫻嬭瘯
鍦╳indows寮鍚懡浠よ
telnet 192.168.1.100 11211
鐢╰elnet嫻嬭瘯涓涓嬩互涓嬪懡浠?br /> stats 鏌ヨ鐘舵?br /> version 鏌ヨ鐗堟湰
quit 閫鍑?br /> flush_all 娓呯┖緙撳瓨鏁版嵁

緇撴潫榪涚▼
kill cat /var/memcached.pid




]]>
瀹夎閰嶇疆鏁寸悊涔?PHP-FPMhttp://www.tkk7.com/dongbule/archive/2010/11/30/339425.html闄堜簬鍠?/dc:creator>闄堜簬鍠?/author>Tue, 30 Nov 2010 10:44:00 GMThttp://www.tkk7.com/dongbule/archive/2010/11/30/339425.htmlhttp://www.tkk7.com/dongbule/comments/339425.htmlhttp://www.tkk7.com/dongbule/archive/2010/11/30/339425.html#Feedback0http://www.tkk7.com/dongbule/comments/commentRss/339425.htmlhttp://www.tkk7.com/dongbule/services/trackbacks/339425.htmlPHP-FPM 鏄?涓涓狿HP FastCGI榪涚▼綆$悊鍣?br />
FastCGI鏄竴涓彲浼哥緝鐨勶紝楂橀熷湴鍦╳eb server鍜岃剼鏈璦闂翠氦浜掔殑鎺ュ彛銆侳astCGI鐨勪富瑕佷紭鐐規槸鎶婂姩鎬佽璦鍜寃eb server鍒嗙寮鏉ャ傝繖縐嶆妧鏈厑璁告妸web server鍜屽姩鎬佽璦榪愯鍦ㄤ笉鍚岀殑涓繪満涓婏紝浠ュぇ瑙勬ā鎵╁睍鍜屾敼榪涘畨鍏ㄦц屼笉鎹熷け鐢熶駭鏁堢巼銆?br />
php-fpm鍙互鍜屼換浣曟敮鎸佽繙绔疐astCGI鐨剋eb server宸ヤ綔

瀹夎

php-5.2.13.tar.gz
php-5.2.13-fpm-0.5.14.diff.gz

tar zxvf php-5.2.13.tar.gz
gunzip php-5.2.13-fpm-0.5.14.diff.gz

patch -d php-5.2.13 -p1 < php-5.2.13-fpm-0.5.14.diff (緇檖hp婧愮爜鎵揻pm琛ヤ竵)

cd php-5.2.13

./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --enable-fastcgi --enable-fpm --with-config-file-path=/usr/local/php/etc --enable-force-cgi-redirect 

make &&銆make install

媯鏌ュ畨瑁呯殑鎯呭喌

cd /usr/local/php/bin

./php -v

PHP 5.2.13 (cli) (built: Nov 30 2010 16:59:45
Copyright (c) 
1997-2010 The PHP Group
Zend Engine v2
.2.0, Copyright (c) 1998-2010 Zend Technologies
##鍑虹幇涓婇潰鐨勬樉紺鴻鏄庡畨瑁呮甯?br />
cp /home/download/php-5.2.13/php.ini-dist /usr/local/php/etc/php.ini

vi /usr/local/php/etc/php-fpm.conf

鍘婚櫎涓嬪垪涓よ鐨勬敞閲?br /> <value name="user">nobody</value> 
<value name="group">nobody</value>

鍚姩php-fpm
/usr/local/php/sbin/php-fpm start

閰嶇疆nginx(閰嶇疆nginx瑙?瀹夎閰嶇疆鏁寸悊涔?nginx)

server {
listen       
80;
server_name  www.test.com;
root   /home/htmlfile/test;

location ~ .*\.(php|php5)?$ {
root           html
;
fastcgi_pass   127.0.0.1:9000;
fastcgi_index  index.php;
fastcgi_param  SCRIPT_FILENAME  /home/htmlfile/test$fastcgi_script_name;
include        fastcgi_params;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$  {
expires      30d
;
}
location ~ .*\.(js|css)?$  {
expires      1h
;
}
#access_log  /var/logs/access.log  access
;
}
## server閮ㄥ垎涓篜HP铏氭嫙涓繪満127.0.0.1錛?000涓篺astcgi鐨勪富鏈?br />
閲嶅惎nginx

鍦?home/htmlfile/test鐩綍涓嬫柊寤簍est.php
鍐呭涓?lt;?php phpinfo(); ?>

鏃㈤氳繃www.test.com/test.php榪涜璁塊棶,鍑虹幇php鐨勪俊鎭〉,鍒欏畨瑁呮垚鍔?br />


]]>
瀹夎閰嶇疆鏁寸悊涔?mysqlhttp://www.tkk7.com/dongbule/archive/2010/11/30/339394.html闄堜簬鍠?/dc:creator>闄堜簬鍠?/author>Tue, 30 Nov 2010 07:21:00 GMThttp://www.tkk7.com/dongbule/archive/2010/11/30/339394.htmlhttp://www.tkk7.com/dongbule/comments/339394.htmlhttp://www.tkk7.com/dongbule/archive/2010/11/30/339394.html#Feedback0http://www.tkk7.com/dongbule/comments/commentRss/339394.htmlhttp://www.tkk7.com/dongbule/services/trackbacks/339394.html
tar zxvf mysql-5.1.50.tar.gz

cd mysql-5.1.50

./configure --prefix=/usr/local/mysql --with-charset=gbk --with-extra-charset=all --enable-hread-safe-client
--enable-local-infile --with-low-memory 

make && make install

chmod +w /usr/local/mysql

chown -R mysql:mysql /usr/local/mysql

cp support-files/my-medium.cnf /etc/my.cnf

/usr/local/mysql/bin/mysql_install_db --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql

/bin/sh /usr/local/mysql/bin/mysqld_safe --defaults-file=/etc/my.cnf


]]>
瀹夎閰嶇疆鏁寸悊涔?nginxhttp://www.tkk7.com/dongbule/archive/2010/11/30/nginx.html闄堜簬鍠?/dc:creator>闄堜簬鍠?/author>Tue, 30 Nov 2010 04:45:00 GMThttp://www.tkk7.com/dongbule/archive/2010/11/30/nginx.htmlhttp://www.tkk7.com/dongbule/comments/339377.htmlhttp://www.tkk7.com/dongbule/archive/2010/11/30/nginx.html#Feedback0http://www.tkk7.com/dongbule/comments/commentRss/339377.htmlhttp://www.tkk7.com/dongbule/services/trackbacks/339377.html
Nginx ("engine x") 鏄竴涓珮鎬ц兘鐨?HTTP 鍜?鍙嶅悜浠g悊 鏈嶅姟鍣紝涔熸槸涓涓?IMAP/POP3/SMTP 浠g悊鏈嶅姟鍣ㄣ?Nginx 鏄敱 Igor Sysoev 涓轟縿緗楁柉璁塊棶閲忕浜岀殑 Rambler.ru 绔欑偣寮鍙戠殑錛屽畠宸茬粡鍦ㄨ绔欑偣榪愯瓚呰繃涓ゅ勾鍗婁簡銆侷gor 灝嗘簮浠g爜浠ョ被BSD璁稿彲璇佺殑褰㈠紡鍙戝竷銆傚敖綆¤繕鏄祴璇曠増錛屼絾鏄紝Nginx 宸茬粡鍥犱負瀹冪殑紼沖畾鎬с佷赴瀵岀殑鍔熻兘闆嗐佺ず渚嬮厤緗枃浠跺拰浣庣郴緇熻祫婧愮殑娑堣楄岄椈鍚嶄簡銆?br />
nginx鐨勭壒鎬?/strong>
1.鐩墠瀹樻柟 Nginx 騫朵笉鏀寔Windows,鎮ㄥ彧鑳藉湪鍖呮嫭Linux,UNIX,BSD緋葷粺涓嬪畨瑁呭拰浣跨敤
2.Nginx 鏈韓鍙槸涓涓狧TTP鍜屽弽鍚戜唬鐞嗘湇鍔″櫒錛屽畠鏃犳硶鍍廇pache涓鏍烽氳繃瀹夎鍚勭妯″潡鏉ユ敮鎸佷笉鍚岀殑欏甸潰鑴氭湰錛屼緥濡侾HP銆丆GI絳?br /> 3.Nginx 鏀寔綆鍗曠殑璐熻澆鍧囪 鍜屽閿?br /> 4.鏀寔浣滀負鍩烘湰 HTTP 鏈嶅姟鍣ㄧ殑鍔熻兘錛屼緥濡傛棩蹇椼佸帇緙┿丅yte ranges銆丆hunked responses銆丼SL銆佽櫄鎷熶富鏈虹瓑絳夛紝搴旀湁灝芥湁

瀹夎
瀹夎nginx鍓嶉渶瑕佺‘淇濈郴緇熶腑宸茬粡瀹夎PCRE鍖?PCRE library榪欎釜鏄疕TTP Rewrite妯″潡,涔熷嵆鏄痷rl闈欐佸寲鐨勫寘,鍒癶ttp://www.pcre.org涓嬭澆鏈鏂扮殑PCRE婧愮爜鍖?

鎴栫洿鎺ヤ嬌鐢▂um install pcre,apt-get instll pcre榪涜瀹夎

鐧誨綍 http://www.nginx.org/en/download.html 涓嬭澆鏈鏂扮殑鐗堟湰

wget http://www.nginx.org/download/nginx-0.8.53.tar.gz

tar zxvf nginx-0.8.53.tar.gz

cd nginx-0.8.53

./configure --prefix=/usr/local/nginx --with-pcre=/home/download/pcre-8.01  --with-http_ssl_module --with-openssl=/home/download/openssl-1.0.0a --with-http_stub_status_module 

##鎸囧畾pcre鐩綍鍜屽惎鍔╯sl,https妯″潡

make

make install

##涓轟粈涔圢ginx鐨勬ц兘瑕佹瘮Apache楂樺緱澶?榪欏緱鐩婁簬Nginx浣跨敤浜嗘渶鏂扮殑epoll(Linux 2.6鍐呮牳)鍜宬queue(freebsd)緗戠粶I/O妯″瀷錛岃孉pache鍒欎嬌鐢ㄧ殑鏄紶緇熺殑select妯″瀷銆傜洰鍓峀inux涓嬭兘澶熸壙鍙楅珮騫跺彂璁塊棶鐨?Squid銆丮emcached閮介噰鐢ㄧ殑鏄痚poll緗戠粶I/O妯″瀷,澶勭悊澶ч噺鐨勮繛鎺ョ殑璇誨啓錛孉pache鎵閲囩敤鐨剆elect緗戠粶I/O妯″瀷闈炲父浣庢晥

閰嶇疆
緙栬緫vi /usr/local/nginx/conf/nginx.conf,鍏朵腑/usr/local/nginx涓哄畨瑁呰礬寰?span style="color: #000000;">

##鎸囧畾nginx鐨勭敤鎴峰悕鍜岀敤鎴風粍
user  nobody;

##鍚姩榪涚▼鏁?/span>
worker_processes  8;
worker_rlimit_nofile 
10240;

##鎸囧畾PID鏂囦歡
pid        logs/nginx.pid;

##鎸囧畾宸ヤ綔妯″紡鍜岄摼鎺ヤ笂闄?/span>
events {
    
use epoll;
    worker_connections  
10240;
}

##http鏈嶅姟鍣?/span>
http {
include       mime.types;
default_type  text
/html;

##鎸囧畾鏃ュ織鏍煎紡
log_format  main  '$http_x_forwarded_for - $remote_user [$time_local] $request '
                  
'"$status" $body_bytes_sent "$http_referer" '
                  
'"$http_user_agent" "$http_x_forwarded_for"';

##鎸囧畾accesslog
access_log logs/nginx.log main;

##鎸囧畾瓚呮椂
keepalive_timeout  300;

##寮鍚痝zip妯″潡
gzip  on;
gzip_min_length  
1000;
gzip_buffers     
4 8k;
gzip_types       text
/*;
gzip_http_version 
1.0;
output_buffers   
1 32k;
postpone_output  
1460;
gzip_proxied     any;
gzip_vary        on;

##鎸囧畾璇鋒眰鐨勭紦鍐?/span>
client_header_timeout   5m;
client_body_timeout     5m;
send_timeout            5m;
sendfile                on;
tcp_nopush              on;
tcp_nodelay             off;
client_header_buffer_size 16k;
large_client_header_buffers 
4 64k;
server_names_hash_bucket_size 
128;
ssi on;
ssi_silent_errors on;
ssi_types text
/shtml;

##鎸囧畾铏氭嫙涓繪満
server {
listen      
80;
server_name _;
server_name_in_redirect  off;

location 
/ {
 root 
/dev/null;
}

}

##鎸囧畾include鏂囦歡
include servers/*.com;

}


鏂板緩proxy.conf

proxy_set_header X-Forwarded-For $remote_addr;    ##璁懼畾header
proxy_set_header RealIP $remote_addr;
proxy_set_header Accept-Encoding ' ';
proxy_hide_header Vary;    ##闅愯棌header
add_header via_up $upstream_addr;
proxy_connect_timeout   2m;    ##浠g悊榪炴帴瓚呮椂
proxy_send_timeout      2m;    ##浠g悊鍙戦佽秴鏃?/span>
proxy_read_timeout      2m;    ##浠g悊鍙戦佽秴鏃?/span>
proxy_temp_file_write_size 2048m;##璁懼畾緙撳瓨鏂囦歡澶瑰ぇ灝?/span>
proxy_buffer_size               256k; 
proxy_buffers                   4 256k; 
proxy_busy_buffers_size 512k; 

proxy_ignore_client_abort off
;

proxy_next_upstream error timeout invalid_header
;

鏂板緩鐩綍/conf/servers,騫舵柊寤洪厤緗枃浠秚est.com

server {
        listen   
80;
        server_name  245.test.com;
        root /home/htmlfile/test;

        location 
= / {
            proxy_temp_path /var/www/cache
;
            index index.html index.htm;
        }


}

淇敼閰嶇疆鏂囦歡鍚?閫氳繃浠ヤ笅鍛戒護媯鏌ラ厤緗槸鍚︽紜?br />
/usr/local/nginx/sbin/nginx -t 

the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful

鍚姩鍛戒護
/usr/local/nginx/sbin/nginx 
鍋滄鍛戒護
/usr/local/nginx/sbin/nginx  -s stop
騫蟲粦閲嶆柊鍔犺澆閰嶇疆鏂囦歡
kill -HUP `cat /usr/local/nginx/logs/nginx.pid
娣誨姞鍒拌嚜鍚姩
echo "/usr/local/nginx/sbin/nginx" >> /etc/rc.local



]]>
瀹夎閰嶇疆鏁寸悊涔?杞歡鍗歌澆http://www.tkk7.com/dongbule/archive/2010/11/29/linux.html闄堜簬鍠?/dc:creator>闄堜簬鍠?/author>Mon, 29 Nov 2010 07:14:00 GMThttp://www.tkk7.com/dongbule/archive/2010/11/29/linux.htmlhttp://www.tkk7.com/dongbule/comments/339318.htmlhttp://www.tkk7.com/dongbule/archive/2010/11/29/linux.html#Feedback0http://www.tkk7.com/dongbule/comments/commentRss/339318.htmlhttp://www.tkk7.com/dongbule/services/trackbacks/339318.html 閫氳繃 rpm -qa | grep httpd 鎼滅儲鍑?br />
httpd-2.2.3-43.el5.centos.3

鍐?br />
rpm -e httpd-2.2.3-43.el5.centos.3

濡傛灉鍑虹幇鎻愮ず鏈夊叾浠栫浉鍏沖寘渚濊禆姝pm,鍙互閫夋嫨寮哄埗鍗歌澆

2.yum 鎴?apt-get 鍗歌澆

yum -y remove httpd
yum -y remove httpd* 鍗歌澆澶氫釜鐩歌瘑鐨勮蔣浠?br />
3.鍗歌澆鑷紪璇戝寘
make uninstall 鎴?鎵嬪姩鍒犻櫎


]]>
瀹夎閰嶇疆鏁寸悊涔?net-snmphttp://www.tkk7.com/dongbule/archive/2010/11/29/net-snmp.html闄堜簬鍠?/dc:creator>闄堜簬鍠?/author>Mon, 29 Nov 2010 03:34:00 GMThttp://www.tkk7.com/dongbule/archive/2010/11/29/net-snmp.htmlhttp://www.tkk7.com/dongbule/comments/339299.htmlhttp://www.tkk7.com/dongbule/archive/2010/11/29/net-snmp.html#Feedback0http://www.tkk7.com/dongbule/comments/commentRss/339299.htmlhttp://www.tkk7.com/dongbule/services/trackbacks/339299.html 鍏堥槄璇諱竴涓嬪畼緗戠殑涓鐐硅鏄?璇︾粏瑙佸畼緗?
Simple Network Management Protocol (SNMP) is a widely used protocol for monitoring the health and welfare of network equipment (eg.routers), computer equipment and even devices like UPSs. Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6
...

瀹夎

鍦╤ttp://www.net-snmp.org/download.html閫夋嫨鏈鏂扮増鏈繘琛屼笅杞?br />
wget http://sourceforge.net/projects/net-snmp/files/net-snmp/5.6/net-snmp-5.6.tar.gz

tar -xvf net-snmp-5.6.tar.gz

cd net-snmp-5.6

./configure --prefix=/usr/local/net-snmp --with-default-snmp-version="2" --with-logfile=/usr/local/net-snmp/log/snmplog.log --with-persistent-directory=/var/net-snmp

娉?br /> --prefix 瀹夎鐨勮礬寰?br /> --with-default-snmp-version 榛樿鐨勭増鏈?br /> --with-logfile 鏃ュ織鏂囦歡鐨勮礬寰?br /> --with-persistent-directory 鍥哄畾鏁版嵁瀛樺偍鐩綍

make && make install

cp EXAPLE.conf /usr/local/net-snmp/share/snmp/snmpd.conf

vi snmpd.conf

60 #       sec.name  source          community
61 com2sec local     localhost       COMMUNITY
62 com2sec mynetwork NETWORK/24      COMMUNITY


淇敼涓?nbsp;  

60 #       sec.name  source          community
61 com2sec local     localhost       public
62 com2sec mynetwork NETWORK/24      public


鍦?etc/rc.local榪藉姞
/usr/local/net-snmp/sbin/snmpd -c /usr/local/net-snmp/share/snmp/snmpd.conf

鍦?etc/profile鏂囦歡鐨別xport鍛戒護鍓嶈拷鍔?br /> PATH=/usr/local/net-snmp/bin:/usr/local/net-snmp/sbin:$PATH

媯鏌?/strong>

浣跨敤 ps -aux | grep snmpd鏌ョ湅snmpd鐨勮繘紼嬫槸鍚﹀惎鍔?br />
浣跨敤濡備笅鍛戒護浠庢湰鏈烘鏌nmp鏄惁寰楀埌緋葷粺鏁版嵁

snmpwalk -v 2c -c public localhost

濡傛灉榪斿洖鐨勪笉鏄疶ime out,鑰屾槸緋葷粺淇℃伅灝辮鏄巒et-snmp瀹夎鎴愬姛



]]>
cacti鐨勭畝浠嬩笌搴旂敤http://www.tkk7.com/dongbule/archive/2010/11/02/336829.html闄堜簬鍠?/dc:creator>闄堜簬鍠?/author>Tue, 02 Nov 2010 09:28:00 GMThttp://www.tkk7.com/dongbule/archive/2010/11/02/336829.htmlhttp://www.tkk7.com/dongbule/comments/336829.htmlhttp://www.tkk7.com/dongbule/archive/2010/11/02/336829.html#Feedback0http://www.tkk7.com/dongbule/comments/commentRss/336829.htmlhttp://www.tkk7.com/dongbule/services/trackbacks/336829.html
cacti鐨勭粨鏋?/strong>
鍦ㄥ箍涔変笂鏉ヨcacti鏄竴濂楃綉緇滄祦閲忕洃嫻嬪浘褰㈠垎鏋愬伐鍏?浣嗕粠鐙箟鏉ヨcacti鍙槸鐢眕hp璇█瀹炵幇鐨勪竴涓蔣浠?

瀹冮渶瑕丳HP,apache,Mysql,SNMP,RRDTool絳夊伐鍏風殑鏀寔


浠庝笂鍥懼彲浠ュ緢鏄庣‘鐪嬪嚭cacti鐨勪笁灞傛灦鏋勪箣闂寸殑鍏崇郴
絎竴灞傛槸鏁版嵁閲囬泦,閫氳繃snmp綆鍗曠綉緇滃崗璁?鍜屼竴鎵硅嚜瀹氫箟鐨勮剼鏈繘琛岄噰闆?br /> 絎簩灞傛槸鏁版嵁瀛樺偍,鍒嗗埆閫氳繃mysql瀛樺偍cacti鐨勬ā鏉垮拰涓浜涗竴瀹氱殑淇℃伅,RRDTool鐢ㄦ潵瀛樺偍鎵鐩戞帶鍒扮殑鎬ц兘鏂囦歡,鍚庣紑涓?rrd
絎笁灞傛槸鏁版嵁灞曠幇,cacti鐨剋eb鏂瑰紡灞曠幇



cacti涓昏鍔熻兘鏄敤snmp鏈嶅姟鑾峰彇鏁版嵁,鐒跺悗鐢╮rdtool鍌ㄥ瓨鍜屾洿鏂版暟鎹?褰撶敤鎴烽渶瑕佹煡鐪嬫暟鎹殑鏃跺?rrdtool鐢熸垚鍥捐〃鍛堢幇緇欑敤鎴楓傚洜姝? snmp鍜宺rdtool鏄痗acti鐨勫叧閿?snmp鍏崇郴鐫鏁版嵁鐨勬敹闆嗭紝rrdtool鍏崇郴鐫鏁版嵁瀛樺偍鍜屽浘琛ㄧ殑鐢熸垚.


snmp鎶撳埌鏁版嵁涓嶆槸瀛樺偍鍦╩ysql涓屾槸瀛樺湪rrdtool鐢熸垚鐨剅rd鏂囦歡涓?rrdtool瀵規暟鎹殑鏇存柊鍜屽瓨鍌ㄥ氨鏄rrd鏂囦歡鐨勫鐞?rrd 鏂囦歡鏄ぇ灝忓浐瀹氱殑妗f鏂囦歡,瀹冭兘澶熷瓨鍌ㄧ殑鏁版嵁絎旀暟鍦ㄥ垱寤烘椂宸茬粡瀹氫箟.
Mysql閰嶅悎PHP紼嬪簭瀛樺偍涓浜涘彉閲忔暟鎹茍瀵瑰彉閲忔暟鎹繘琛岃皟鐢?濡傦細涓繪満鍚嶃佷富鏈?ip,snmp 鍥綋鍚嶃佺鍙e彿銆佹ā鏉夸俊鎭瓑鍙橀噺銆?br />
*.SNMP鍗忚
SNMP(綆鍗曠綉緇滅鐞嗗崗璁?鍓嶈韓鏄畝鍗曠綉鍏崇洃鎺у崗璁?SGMP), 鐢ㄦ潵瀵歸氫俊綰胯礬榪涜綆$悊

鍔犲叆絎﹀悎Internet瀹氫箟鐨?strong>SMI鍜孧IB
榪涜浣撶郴鏁村悎

綆鍗曠綉緇滅鐞嗗崗璁?SNMP)鏄疘nternet緇勭粐鐢ㄦ潵綆$悊Internet鐨勭綉緇滃崗璁?br />
*.MIB & SMI
MIB, 綆$悊淇℃伅搴擄紝鐢辯綉緇滅鐞嗗崗璁闂殑綆$悊瀵硅薄鏁版嵁搴擄紝瀹冨寘鎷琒NMP鍙互閫氳繃緗戠粶璁懼鐨凷NMP綆$悊浠g悊榪涜璁劇疆鐨勫彉閲?br /> SMI,綆$悊淇℃伅緇撴瀯錛岀敤浜庡畾涔夐氳繃緗戠粶綆$悊鍗忚鍙闂殑瀵硅薄鐨勮鍒欍係MI瀹氫箟鍦∕IB涓嬌鐢ㄧ殑鏁版嵁綾誨瀷鍙婄綉緇滆祫婧愬湪MIB涓殑鍚嶇О鎴栬〃紺恒?br />
*.SNMP鐨勭綉緇滄ā鍨?/strong>

浣跨敤SNMP榪涜緗戠粶綆$悊闇瑕佷笅闈㈠嚑涓噸瑕侀儴鍒嗭細綆$悊鍩虹珯錛岀鐞嗕唬鐞嗭紝綆$悊淇℃伅搴撳拰緗戠粶綆$悊宸ュ叿銆傜鐞嗗熀绔欓氬父鏄竴涓嫭绔嬬殑璁懼錛屽畠鐢ㄤ綔緗戠粶綆$悊鑰呰繘琛岀綉 緇滅鐞嗙殑鐢ㄦ埛鎺ュ彛銆傚熀绔欎笂蹇呴』瑁呭鏈夌鐞嗚蔣浠訛紝綆$悊鍛樺彲浠ヤ嬌鐢ㄧ殑鐢ㄦ埛鎺ュ彛鍜屼粠MIB鍙栧緱淇℃伅鐨勬暟鎹簱錛屽悓鏃朵負浜嗚繘琛岀綉緇滅鐞嗗畠搴旇鍏峰灝嗙鐞嗗懡浠ゅ彂鍑哄熀绔欑殑鑳藉姏

娉?鍏充簬MIB浠嬬粛鍙互鐪?lt;SNMP MIB瀹屾暣鎵嬪唽>

*.net-snmp
NET-SNMP鏄竴涓唬鐞哠NMP鍗忚鐨勮蔣浠?騫舵彁渚涚鐞嗙鐨勬煡璇㈠伐鍏?鏀寔澶氱鎵╁睍鏂瑰紡
鍦ㄨ鐩戞祴鍜岀洃嫻嬫満鍣ㄨ繘琛屽畨瑁?br /> http://www.net-snmp.org/download.html
閰嶇疆
/etc/snmp/snmpd.conf




璁劇疆鑷惎鍔?br /> /usr/sbin/snmpd -c /usr/local/net-snmp/snmpd.conf &
嫻嬭瘯
snmpwalk -v 2c -c public 127.0.0.1
snmpwalk -v 1 -c public 127.0.0.1 .1.3.6.1.4.1.2021.10 (璐熻澆媯鏌?

*.RRDTool
RRDTool浣跨敤RRD錛圧ound Robin Database錛変綔涓哄瓨鍌ㄦ牸寮忥紝Round robin鏄竴縐嶅鐞嗗畾閲忔暟鎹佷互鍙婂綋鍓嶅厓绱犳寚閽堢殑鎶鏈俁RDTool涓昏鐢ㄦ潵璺熻釜瀵硅薄鐨勫彉鍖栨儏鍐碉紝鐢熸垚榪欎簺鍙樺寲鐨勮蛋鍔垮浘
RRDTool鐨勫瓨鍌ㄧ壒鐐?br />
瀛樺偍鏁版嵁鐨勬暟鎹簱絀洪棿鐪嬫垚涓涓渾
鎸囬拡浼氶殢鐫鏁版嵁鐨勮鍐欐搷浣滃湪鍦嗙殑鍒誨害涓婅嚜鍔ㄧЩ鍔?br /> 鍦嗘病鏈夎搗鐐瑰拰緇堢偣
褰撴墍鏈夌殑絀洪棿閮藉瓨婊′簡鏁版嵁錛屽氨鍙堜粠澶村紑濮嬪瓨鏀?br /> RRDtool 鎵浣跨敤鐨勬暟鎹簱鏂囦歡鐨勫悗緙鍚嶆槸'.rrd'



*.Cacti鐨勫畨瑁?/strong>

闇瑕佸畨瑁呬互涓嬭蔣浠?br />
1)瀹夎Apache,Mysql,PHP
2)瀹夎RRDTool
(cgilib-0.5.tar.gz,zlib-1.2.3.tar.gz,libpng-1.2.18.tar.gz,freetype-2.3.5.tar.gz,libart_lgpl-2.3.17.tar.gz,rrdtool-1.2.23.tar.gz)
3)瀹夎net-snmp
4)瀹夎cacti

*.Cacti鐨勯厤緗?/strong>
淇敼cacti鐨刢onfig.php


鏂板crontab瀹氭椂鍣?br />


鎺ヤ笅鏉ュ氨鍙互璁塊棶



*.榪涘叆cacti鐨勮緗?/strong>



閰嶇疆SNMP鐗堟湰,rrdtool綾誨埆,鍜宯et-snmp鐨勫伐鍏瘋礬寰?br />






鍏蜂綋鐨勫畨瑁呴厤緗拰搴旂敤灝變笉婕旂ず,涓嬮潰鏄痯pt闄勪歡,瀹夎鍜岄厤緗湁浠涔堥棶棰樺彲浠ュ悓鎴戣仈緋?br />
--------------------------------

琛ュ厖
鏈夋湅鍙嬪rrdtools鎻愪簡涓鐐歸棶棰?

RRDTool淇濆瓨鏁版嵁鏄驚鐜殑錛岃屼笖澶у皬涓嶅彉銆傞偅鏄笉鏄錛屼粬鍙兘淇濆瓨涓瀹氭暟閲忔椿涓孌墊暟鎹紝鐒跺悗淇濇寔鏇存柊銆?br /> 姣斿錛歊RD鍙湁6涓埢搴︼紝鐢ㄦ潵淇濆瓨涓涓皬鏃跺唴錛屾瘡10鍒嗛挓鐨勬祦閲忋備粠10鐐?0鍒嗗紑濮嬬殑璇濓紝鍒?1鐐瑰氨婊′簡錛岄偅涔堝氨寮濮嬪驚鐜埛鏂頒簡銆?br /> 11鐐?0鍒嗙殑鏁版嵁灝辮鐩栦簡10鐐?0鍒嗙殑鏁版嵁銆?br /> 鍙槸濡傛灉鎴戝垎鏋愮殑娌¢敊鐨勮瘽錛岄偅鏁版嵁涓嶅氨涓㈠け浜嗕箞錛熷鏋滄兂鏌ョ湅鍘嗗彶鎬庝箞鍔炲憿錛?br />

鍥犱負rrd鏁翠釜瀛樺偍絀洪棿鐨勫ぇ灝忓氨鏄竴涓浐瀹氱殑鍊?鍦ㄤ竴孌墊椂闂村悗,褰撴墍鏈夌┖闂撮兘瀛樻弧鏁版嵁鍚?灝變細浠庡ご寮濮嬪瓨鏀?鎵浠ヨ繖娑夊強鍒皉rdtool鐨勫墠鏈熻鍒?浠ヤ笅鏄埅鍙栦簡http://www.rrdtool.org鐨勮鏄?br />
    When monitoring the state of a system, it is convenient to have the data available at a constant time interval. Unfortunately, you may not always be able to fetch data at exactly the time you want to. Therefore RRDtool lets you update the log file at any time you want. It will automatically interpolate the value of the data-source (DS) at the latest official time-slot (interval) and write this interpolated value to the log. The original value you have supplied is stored as well and is also taken into account when interpolating the next log entry.
Consolidation
    You may log data at a 1 minute interval, but you might also be interested to know the development of the data over the last year. You could do this by simply storing the data in 1 minute intervals for the whole year. While this would take considerable disk space it would also take a lot of time to analyze the data when you wanted to create a graph covering the whole year. RRDtool offers a solution to this problem through its data consolidation feature. When setting up an Round Robin Database (RRD), you can define at which interval this consolidation should occur, and what consolidation function (CF) (average, minimum, maximum, total, last) should be used to build the consolidated values (see rrdcreate). You can define any number of different consolidation setups within one RRD. They will all be maintained on the fly when new data is loaded into the RRD.
Round Robin Archives
    Data values of the same consolidation setup are stored into Round Robin Archives (RRA). This is a very efficient manner to store data for a certain amount of time, while using a known and constant amount of storage space.
    It works like this: If you want to store 1'000 values in 5 minute interval, RRDtool will allocate space for 1'000 data values and a header area. In the header it will store a pointer telling which slots (value) in the storage area was last written to. New values are written to the Round Robin Archive in, you guessed it, a round robin manner. This automatically limits the history to the last 1'000 values (in our example). Because you can define several RRAs within a single RRD, you can setup another one, for storing 750 data values at a 2 hour interval, for example, and thus keep a log for the last two months at a lower resolution.
    The use of RRAs guarantees that the RRD does not grow over time and that old data is automatically eliminated. By using the consolidation feature, you can still keep data for a very long time, while gradually reducing the resolution of the data along the time axis.
    Using different consolidation functions (CF) allows you to store exactly the type of information that actually interests you: the maximum one minute traffic on the LAN, the minimum temperature of your wine cellar, the total minutes of down time, etc.

----------------------------------------

by 闄堜簬鍠?
QQ:34174409
Mail: dongbule@163.com






]]>
VPS涔媜penVPN鐨勫畨瑁呴厤緗?/title><link>http://www.tkk7.com/dongbule/archive/2010/11/01/336714.html</link><dc:creator>闄堜簬鍠?/dc:creator><author>闄堜簬鍠?/author><pubDate>Mon, 01 Nov 2010 09:35:00 GMT</pubDate><guid>http://www.tkk7.com/dongbule/archive/2010/11/01/336714.html</guid><wfw:comment>http://www.tkk7.com/dongbule/comments/336714.html</wfw:comment><comments>http://www.tkk7.com/dongbule/archive/2010/11/01/336714.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/dongbule/comments/commentRss/336714.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/dongbule/services/trackbacks/336714.html</trackback:ping><description><![CDATA[涓婃鍐欑殑<<a href="http://www.tkk7.com/dongbule/archive/2010/10/12/334650.html">VPS鐨勮喘涔板拰浣跨敤</a>>涓彁鍒頒簡openVPN錛屼篃鍋氫簡涓鐐圭偣綆鍗曠殑浠嬬粛錛屾湁鏈嬪弸涔熼棶浜嗕竴浜涘叧浜巚pn鐨勯棶棰?br /> 棣栧厛錛屾垜鎵璐拱鐨剉ps鏄熀浜嶰penVZ綾誨瀷錛屾棤娉曢厤緗爣鍑嗙殑VPN(鏃犳祴璇曡繃),閮ㄥ垎鎵嬫満鍙兘鏃犳硶鏀寔,浣哋penVZ鏀寔pptp鍜宱penVPN<br /> <br /> 璇風櫥褰昈PENVPN瀹樼綉鏌ラ槄鏈鏂拌祫鏂?lt;http://openvpn.net/><br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/21.png" alt="" width="230" border="0" height="77" /><br /> <br /> ok!鍦ㄥ畨瑁呬箣鍓嶈紜涓涓嬩綘璐拱鐨剉ps鏄惁寮鍚簡tun/tap鐨勬敮鎸侊紝burst vps榛樿鏄笉寮鍚痶un/tap鐨勶紝鍙互浣跨敤cat /dev/net/tun 榪涜媯鏌?br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/2.png" alt="" border="0" /><br /> <br /> 濡傛灉鏄病鏈夋潈闄愮殑璇濆彲浠ュ彂涓猼icket瑕佹眰瀹㈡湇涓轟綘寮鍚痶un/tap<br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/3.png" alt="" border="0" /><br /> <br /> 鍑虹幇File descriptor in bad state璇存槑tun/tap宸茬粡寮鍚紝鍙互寮濮嬭繘琛宱penVPN鐨勫畨瑁呴厤緗?br /> <br /> 鎴戠殑vps瀹夎鐨勭郴緇熶負CentOS release 5.5 (Final)錛屼笅闈竴緋誨垪瀹夎鍜岄厤緗兘鍦ㄦvps涓婅繘琛?鏍規嵁 <<a >OpenVPN鏈嶅姟鍣ㄩ厤緗紙杞澆錛?/a>>閰嶇疆<br /> <br /> <strong>涓.鏈嶅姟绔畨瑁?/strong><br /> <br /> 鐜板湪寮濮嬪湪vps涓婂畨瑁呭拰閰嶇疆openVPN錛岄渶瑕佺殑鏈変笅鍒楃殑杞歡<br /> gcc g++ [gcc g++涓虹郴緇熼渶瑕佺殑緙栬瘧宸ュ叿]<br /> lzo搴?nbsp;  [Lzo搴撶殑鍔熻兘鏄铏氭嫙閾捐礬榪涜鍘嬬緝]<br /> openssl [鍥婃嫭浜嗕富瑕佺殑瀵嗙爜綆楁硶銆佸父鐢ㄧ殑瀵嗛挜鍜岃瘉涔﹀皝瑁呯鐞嗗姛鑳戒互鍙奡SL鍗忚]<br /> openvpn <br /> <br /> <strong>1.瀹夎緙栬瘧宸ュ叿gcc g++</strong><br /> <br /> <div style="background-color: rgb(238, 238, 238); font-size: 13px; border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);"># yum install gcc<br /> # yum install gcc-c++</span></div> <br /> <br /> <strong>2.瀹夎lzo搴?/strong><br /> <br /> <div style="background-color: rgb(238, 238, 238); font-size: 13px; border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);"># cd /home/download/<br /> # wget http://www.oberhumer.com/opensource/lzo/download/lzo-</span><span style="color: rgb(0, 0, 0);">2.03</span><span style="color: rgb(0, 0, 0);">.tar.gz<br /> # tar -xvzf lzo-</span><span style="color: rgb(0, 0, 0);">2.03</span><span style="color: rgb(0, 0, 0);">.tar.gz<br /> # cd lzo-</span><span style="color: rgb(0, 0, 0);">2.03</span><span style="color: rgb(0, 0, 0);"><br /> # ./configure -prefix</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">/usr/local/lzo && make && make install<br /> # vi /etc/ld.so.conf</span></div> <br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/4.png" alt="" border="0" /><br /> <br /> 緙栬緫瀹宭d.so.conf,鎵ц<br /> <br /> # ldconfig<br /> <br /> 浣垮姩鎬佸簱鐢熸晥<br /> <br /> <strong>3.瀹夎openssl</strong><br /> <br /> <div style="background-color: rgb(238, 238, 238); font-size: 13px; border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);"># cd /home/download/<br /> # wget http://www.openssl.org/source/openssl-</span><span style="color: rgb(0, 0, 0);">0.9.8</span><span style="color: rgb(0, 0, 0);">.tar.gz<br /> # tar -xvzf openssl-</span><span style="color: rgb(0, 0, 0);">0.9.8</span><span style="color: rgb(0, 0, 0);">.tar.gz<br /> # ./config -prefix</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">/usr/local/openssl && make && make install</span></div> <br /> <br /> <strong>4.瀹夎openvpn</strong><br /> <br /> <div style="background-color: rgb(238, 238, 238); font-size: 13px; border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);"># cd /home/download/<br /> # wget http://www.openvpn.net/release/openvpn-</span><span style="color: rgb(0, 0, 0);">2.0.9</span><span style="color: rgb(0, 0, 0);">.tar.gz<br /> # tar -xvzf openvpn-</span><span style="color: rgb(0, 0, 0);">2.0.9</span><span style="color: rgb(0, 0, 0);">.tar.gz<br /> # cd openvpn-</span><span style="color: rgb(0, 0, 0);">2.0.9</span><span style="color: rgb(0, 0, 0);"><br /> # ./configure -prefix</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">/usr/local/openvpn && make && make install</span></div> <br /> <br /> <strong>浜?閰嶇疆</strong><br /> <br /> <strong>1.鍒涘緩閰嶇疆鐜</strong><br /> <br /> <br /> <div style="background-color: rgb(238, 238, 238); font-size: 13px; border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);"> </span># mkdir /etc/openvpn<br /> # cp -R /home/download/openvpn-2.0.9/easy-rsa/ /etc/openvpn<br /> # cd /etc/openvpn/easy-rsa/2.0/<br /> # ls<br /> <span style="color: rgb(0, 0, 0);"> total </span><span style="color: rgb(0, 0, 0);">112</span><span style="color: rgb(0, 0, 0);"><br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">121</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> build</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">ca<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">354</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> build</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">dh<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">190</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> build</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">inter<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">165</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> build</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">key<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">159</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> build</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">key</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">pass<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">251</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> build</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">key</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">pkcs12<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">270</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> build</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">key</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">server<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">215</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> build</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">req<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">160</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> build</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">req</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">pass<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">430</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> clean</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">all<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root  </span><span style="color: rgb(0, 0, 0);">1459</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> inherit</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">inter<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">297</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> list</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">crl<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rw</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">r</span><span style="color: rgb(0, 0, 0);">--</span><span style="color: rgb(0, 0, 0);">r</span><span style="color: rgb(0, 0, 0);">--</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">422</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> Makefile<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root  </span><span style="color: rgb(0, 0, 0);">7768</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> openssl</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">0.9</span><span style="color: rgb(0, 0, 0);">.</span><span style="color: rgb(0, 0, 0);">6</span><span style="color: rgb(0, 0, 0);">.cnf<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root  </span><span style="color: rgb(0, 0, 0);">8230</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> openssl.cnf<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root </span><span style="color: rgb(0, 0, 0);">12068</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> pkitool<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rw</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">r</span><span style="color: rgb(0, 0, 0);">--</span><span style="color: rgb(0, 0, 0);">r</span><span style="color: rgb(0, 0, 0);">--</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root  </span><span style="color: rgb(0, 0, 0);">8864</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> README<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">894</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> revoke</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">full<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">180</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> sign</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">req<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root  </span><span style="color: rgb(0, 0, 0);">1602</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> vars<br /> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">rwxr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">xr</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">x </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> root root   </span><span style="color: rgb(0, 0, 0);">190</span><span style="color: rgb(0, 0, 0);"> Oct </span><span style="color: rgb(0, 0, 0);">26</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">03</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">14</span><span style="color: rgb(0, 0, 0);"> whichopensslcnf</span></div> <br /> <br /> 緇撴灉鏄▼搴忎互鍙婅剼鏈紝榪欎釜綆瑕佺殑璇存槑涓涓?br /> <br /> vars         鑴氭湰錛屾槸鐢ㄦ潵鍒涘緩鐜鍙橀噺錛岃緗墍闇瑕佺殑鍙橀噺鐨勮剼鏈?br /> clean-all    鑴氭湰錛屾槸鍒涘緩鐢熸垚CA璇佷功鍙婂瘑閽?鏂囦歡鎵闇瑕佺殑鏂囦歡鍜岀洰褰?br /> build-ca     鑴氭湰錛岀敓鎴怌A璇佷功(浜や簰)<br /> build-dh     鑴氭湰錛岀敓鎴怐iffie-Hellman鏂囦歡(浜や簰)<br /> build-key-server 鑴氭湰錛岀敓鎴愭湇鍔″櫒绔瘑閽?浜や簰)<br /> build-key    鑴氭湰錛岀敓鎴愬鎴風瀵嗛挜(浜や簰)<br /> pkitool      鑴氭湰錛岀洿鎺ヤ嬌鐢╲ars鐨勭幆澧冨彉閲忚緗洿鎺ョ敓鎴愯瘉涔?闈炰氦浜?<br /> <br /> <strong>2.鐢熸垚CA璇佷功鍙婂瘑閽?/strong><br /> <br /> <div style="background-color: rgb(238, 238, 238); font-size: 13px; border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);"># cd /etc/openvpn/easy-rsa/</span><span style="color: rgb(0, 0, 0);">2.0</span><span style="color: rgb(0, 0, 0);">/<br /> # ./vars<br /> NOTE: If you run ./clean-all</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(0, 0, 0);"> I will be doing a rm -rf on /etc/openvpn/easy-rsa/</span><span style="color: rgb(0, 0, 0);">2.0</span><span style="color: rgb(0, 0, 0);">/keys</span></div> <br /> 娉?濡傛灉浣犳墽琛屼簡./clean-all,緋葷粺灝嗗垹闄?etc/openvpn/easy-rsa/2.0/keys涓嬬殑鏂囦歡<br /> <br /> 淇敼vars鏂囦歡<br /> # vi vars<br /> <br /> export KEY_COUNTRY="CN"<br /> export KEY_PROVINCE="GZ"<br /> export KEY_CITY="guangzhou"<br /> export KEY_ORG="NCS"<br /> export KEY_EMAIL="dongbule@163.com"<br /> <br /> # ./vars <br /> <br /> <strong>3.鍒濆鍖杒eys鏂囦歡澶?/strong><br /> <br /> <div style="background-color: rgb(238, 238, 238); font-size: 13px; border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);"># ./clean-all #</span><span style="color: rgb(128, 0, 0); font-weight: bold;">[</span><span style="color: rgb(128, 0, 0);">娉?鍒犻櫎/etc/openvpn/easy-rsa/2.0/keys涓嬬殑鏂囦歡</span><span style="color: rgb(128, 0, 0); font-weight: bold;">]</span><span style="color: rgb(0, 0, 0);"><br /> # ./build-ca  #</span><span style="color: rgb(128, 0, 0); font-weight: bold;">[</span><span style="color: rgb(128, 0, 0);">娉?鐢熸垚涓涓猘 1024 bit RSA鐨勫瘑閽?writing new private key to 'ca.key'</span><span style="color: rgb(128, 0, 0); font-weight: bold;">]</span></div> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/5.png" alt="" border="0" /><br /> <br /> 涓璺寜鍥炶濺灝卞彲浠?br /> <br /> <div style="background-color: rgb(238, 238, 238); font-size: 13px; border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);"># cd keys<br /> # ls<br /> ca.crt  ca.key  index.txt  serial</span></div> <br /> <br /> 鍙互鐪嬪埌鐢熸垚鐨刢a.crt  ca.key鏂囦歡<br /> <br /> <strong>4.鐢熸垚Diffie-Hellman鏂囦歡</strong><br /> <br /> <div style="background-color: rgb(238, 238, 238); font-size: 13px; border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);"># cd ..<br /> # ./build-dh #</span><span style="color: rgb(128, 0, 0); font-weight: bold;">[</span><span style="color: rgb(128, 0, 0);">娉?Generating DH parameters, 1024 bit long safe prime</span><span style="color: rgb(128, 0, 0); font-weight: bold;">]</span><span style="color: rgb(0, 0, 0);"><br /> # ls  keys<br /> ca.crt  ca.key  dh1024.pem  index.txt  serial</span></div> <br /> 娉?鍙互鐪嬪埌鐢熸垚浜?024涓虹殑Diffie-Hellman鏂囦歡<br /> <br /> <strong>5.鐢熸垚鏈嶅姟鍣ㄤ嬌鐢ㄧ殑VPN server ca璇佷功</strong><br /> <br /> # ./build-key-server chenyz #[娉?鍏朵腑chenyz鏄疌A璇佷功鐨勪竴涓悕瀛梋<br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/6.png" alt="" border="0" /><br /> <br /> 涓璺洖杞?Sign the certificate? [y/n]:y 閫夋嫨y<br /> <br /> 鐒跺悗鎶婂垰鎵嶇敓鎴愮殑CA璇佷功鍜屽瘑閽opy鍒?etc/openvpn/涓?br /> <br /> # cd keys<br /> # cp ca.crt ca.key chenyz.crt chenyz.key dh1024.pem /etc/openvpn/<br /> <br /> <strong>6.鐢熸垚瀹㈡埛绔疌A璇佷功鍙婂瘑閽?/strong><br /> <br /> # ./build-key client-chenyz<br /> 涓璺洖杞?Sign the certificate? [y/n]:y 閫夋嫨y<br /> <br /> 鍦╧eys鐩綍涓嬬敓鎴愪簡client-chenyz.crt client-chenyz.csr client-chenyz.key涓変釜瀹㈡埛绔瘉涔?br /> 騫朵笖灝哻a.crt ca.key client-chenyz.crt client-chenyz.csr client-chenyz.key 浜斾釜鏂囦歡鎵撳寘,浠ヤ究瀹㈡埛绔痸pn<br /> <br /> 浣跨敤<br /> <br /> <div style="background-color: rgb(238, 238, 238); font-size: 13px; border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);"># cd keys<br /> # mkdir userkey<br /> # cp ca.crt ca.key client-chenyz.crt client-chenyz.csr client-chenyz.key userkey/<br /> # tar -zcvf userkey.tar.gz userkey/<br /> userkey/<br /> userkey/ca.crt<br /> userkey/client-chenyz.csr<br /> userkey/ca.key<br /> userkey/client-chenyz.key<br /> userkey/client-chenyz.crt<br /> <br /> # sz userkey.tar.gz<br /> Starting zmodem transfer.  Press Ctrl+C to cancel.<br /> Transferring userkey.tar.gz<img src="http://www.tkk7.com/Images/dot.gif" alt="" /><br />   </span><span style="color: rgb(0, 0, 0);">100</span><span style="color: rgb(0, 0, 0);">%       </span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);"> KB    </span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);"> KB/s </span><span style="color: rgb(0, 0, 0);">00</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">00</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">01</span><span style="color: rgb(0, 0, 0);">       </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);"> Errors</span></div> <br /> <br /> 浣跨敤sz灝嗗叾涓嬭澆鍒皐indows瀹㈡埛绔?br /> <br /> <strong>7.openvpn閰嶇疆鏂囦歡</strong><br /> <br /> # cp /home/download/openvpn-2.0.9/sample-config-files/server.conf  /etc/openvpn/openvpn.conf<br /> 灝唙penvpn鐨勫師濮嬫牱渚嬫枃浠跺鍒跺埌/etc/openvpn涓?騫舵敼鍚嶄負openvpn.conf,鎴戜滑灝嗗湪鏍蜂緥鏂囦歡涓婅繘琛屼慨鏀?br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/777.png" alt="" width="426" border="0" height="153" /><br /> 浣跨敤鐨勭鍙o紝榛樿1194<br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/7.png" alt="" border="0" /><br /> 浣跨敤鐨勫崗璁紝榛樿浣跨敤UDP錛屽鏋滀嬌鐢℉TTP proxy錛屽繀欏諱嬌鐢═CP鍗忚<br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/8.png" alt="" border="0" /><br /> ca:浣跨敤build-ca鐢熸垚鐨勶紝鐢ㄤ簬楠岃瘉瀹㈡埛鏄瘉涔︽槸鍚﹀悎娉?br /> cert:浣跨敤build-key-server,Server浣跨敤鐨勮瘉涔﹀搴旂殑key,娉ㄦ剰瀹夊叏,闃叉琚洍<br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/9.png" alt="" border="0" /><br /> dh:鐢熸垚鐨勫姞瀵嗘枃浠?br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/10.png" alt="" border="0" /><br /> 閫氳繃VPN Server寰Client push璺敱錛宑lient閫氳繃pull鎸囦護鑾峰緱Server push鐨勬墍鏈夐夐」騫跺簲鐢?br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/11.png" alt="" border="0" /><br /> 鍙互璁╁鎴風涔嬮棿鐩鎬簰璁塊棶鐩存帴閫氳繃openvpn紼嬪簭杞彂<br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/12.png" alt="" border="0" /><br /> 濡傛灉Client浣跨敤鐨凜A鐨凜ommon Name鏈夐噸澶嶄簡錛屾垨鑰呰瀹㈡埛閮戒嬌鐢ㄧ浉鍚岀殑CA #鍜宬eys榪炴帴VPN錛屼竴瀹氳鎵撳紑榪欎釜閫夐」錛屽惁鍒欏彧鍏佽涓涓漢榪炴帴VPN<br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/122.png" alt="" border="0" /><br /> 瀵規暟鎹繘琛屽帇緙?br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/13.png" alt="" border="0" /><br /> 瀹氫箟鐢ㄦ埛<br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/14.png" alt="" border="0" /><br /> openvpn鐘舵乴og<br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/15.png" alt="" border="0" /><br /> 姣忔閲嶆柊鍚姩openvpn鍚庝繚鐣欏師鏈夌殑log淇℃伅錛屾柊淇℃伅榪藉姞鍒版枃浠舵渶鍚?br /> <br /> <strong>8.鍚姩OpenVPN</strong><br /> <br /> 淇敼瀹屾瘯鍚?鍗沖彲浠ュ惎鍔╲pn,--daemon涓哄悗鍙板畧鎶よ繘紼嬫ā鍨嬪惎鍔?br /> /usr/local/openvpn/sbin/openvpn --daemon --config /etc/openvpn/openvpn.conf<br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/16.png" alt="" border="0" /><br /> <br /> 浣跨敤netstat -ln 鏌ョ湅1194openvpn鐨勭鍙f槸鍚﹀凡緇忚搗鏉?br /> <br /> <strong>浜?win瀹㈡埛绔殑瀹夎鍜岄厤緗?/strong><br /> <br /> 涓嬭澆openvpn瀹㈡埛绔?http://www.openvpn.net/release/openvpn-2.0.9-install.exe 瀹夎瀹屾瘯<br /> 鎶婂垰鍒氭墦鍖呯殑userkey.tar.gz涓嬭澆瑙e帇鍒?C:\Program Files\OpenVPN\config 鐩綍涓?br /> 灝?home/download/openvpn-2.0.9/sample-config-files/client.conf 涔熶笅杞藉埌 C:\Program Files\OpenVPN\config 鐩綍涓?br /> <br /> 鎺ョ潃鏄厤緗繖涓猚lient.conf瀹㈡埛绔厤緗枃浠?br /> <br /> 涓昏淇敼鏈変互涓嬪嚑涓湴鏂?br /> <br /> dev tun<br /> proto tcp<br /> remote 浣犵殑vpn鍦板潃 1194<br /> user nobody<br /> group nogroup<br /> ca ca.crt<br /> cert client-chenyz.crt<br /> key client-chenyz.key   ##娉?鏂囦歡鍚嶅拰璺緞蹇呴』瀵瑰簲<br /> comp-lzo<br /> redirect-gateway def1<br /> <br /> 紜繚涓庢湇鍔$鐨勯厤緗搴?鐒跺悗灝哻lient.conf淇敼鏂囦歡鍚嶄負client.ovpn,鍙抽敭鐐瑰嚮client.ovpn,閫夋嫨"Start OpenVPN on this config file"<br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/18.png" alt="" border="0" /><br /> 鍙互鐪嬪埌榪炴帴宸茬粡鎴愬姛,騫朵笖鍒涘緩浜?[鏈湴榪炴帴 6] 涓鏉℃柊鐨勯摼璺?br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/19.png" alt="" border="0" /><br /> <br /> <img src="http://www.tkk7.com/images/blogjava_net/dongbule/openvpn/20.png" alt="" border="0" /><br /> <br /> 鎴栬呬綘涔熷彲浠ユ墦寮C:\Program Files\OpenVPN\bin\openvpn-gui-1.0.3.exe榪涜榪炴帴,鍙屽嚮鍚庝細鍦ㄤ換鍔℃爮閲屾湁涓皬榪炴帴鍥炬爣,鍙樻垚緇胯壊鐨勮瘽灝辮〃鏄庝綘榪炴帴鎴愬姛<br /> <br /> openvpn鐨勫弬鏁伴厤緗?鎰熻涓嶇畻寰堝,涔熸瘮杈冨鏄撶悊瑙?涓枃鐨勮祫鏂欎篃寰堥綈鍏?澶ф榪欎釜涓滆タ鍦ㄥ浗鍐呰繕鏄箍娉涘簲鐢?緲誨^_^)<br /> <br /> 濡傛灉鍙槸綆鍗曠殑搴旂敤,閰嶇疆鍊掔湡鐨勫緢綆鍗?涓嶈繃濡傛灉鐪熺殑鏄鐢ㄨ搗鏉?緗戞璁劇疆鍜岃闂帶鍒跺悇縐嶉棶棰樼湡鐨勪笉灝?鍏ユ槸鍚﹂厤緗甦hcp,鏄惁鍒嗛厤dns,vpn濡備綍鍜屽唴緗戦氳,寰堝寰堝,鍥犱負鎴戝彧鏄嬁鏉ュ仛浠g悊榪欓噷灝變笉緇嗚浜?br /> <br /> <br /> ----------------------------------------<br /> <br /> by 闄堜簬鍠?<br /> QQ:34174409<br /> Mail: dongbule@163.com<br /> <br /> <br /> <br /> <img src ="http://www.tkk7.com/dongbule/aggbug/336714.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/dongbule/" target="_blank">闄堜簬鍠?/a> 2010-11-01 17:35 <a href="http://www.tkk7.com/dongbule/archive/2010/11/01/336714.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://zaideqin.com" target="_blank">免费国产污网站在线观看不要卡 </a>| <a href="http://x5k9.com" target="_blank">国产精品亚洲自在线播放页码</a>| <a href="http://66qiqi.com" target="_blank">亚洲美女视频免费</a>| <a href="http://j3223.com" target="_blank">亚洲人成www在线播放</a>| <a href="http://gttest5.com" target="_blank">四虎永久在线精品免费一区二区</a>| <a href="http://bobostrong31.com" target="_blank">色婷婷精品免费视频</a>| <a href="http://yxjcgs.com" target="_blank">免费无码又爽又刺激高潮视频</a>| <a href="http://5aa6.com" target="_blank">69堂人成无码免费视频果冻传媒</a>| <a href="http://0101av.com" target="_blank">国产在线19禁免费观看</a>| <a href="http://whspmd.com" target="_blank">在线日韩av永久免费观看</a>| <a href="http://yuyang0752.com" target="_blank">一二三四在线播放免费观看中文版视频 </a>| <a href="http://ydysmedia.com" target="_blank">亚洲一级免费视频</a>| <a href="http://xzzkf.com" target="_blank">国产色婷婷精品免费视频</a>| <a href="http://gysysz.com" target="_blank">国产国产人免费视频成69大陆</a>| <a href="http://gzjing365.com" target="_blank">www.亚洲色图.com</a>| <a href="http://yy975.com" target="_blank">亚洲日本国产精华液</a>| <a href="http://iciap.com" target="_blank">精品久久久久久亚洲综合网</a>| <a href="http://znboxcdn107.com" target="_blank">免费无码一区二区</a>| <a href="http://by8847.com" target="_blank">噼里啪啦免费观看高清动漫4 </a>| <a href="http://cxljdz.com" target="_blank">成人免费视频一区二区三区</a>| <a href="http://17soco.com" target="_blank">亚洲国产成人久久一区久久</a>| <a href="http://sczssc.com" target="_blank">亚洲理论片在线中文字幕</a>| <a href="http://hzkjjy.com" target="_blank">中文字幕无码毛片免费看</a>| <a href="http://jxszzhzs.com" target="_blank">真实乱视频国产免费观看</a>| <a href="http://628669.com" target="_blank">亚洲午夜视频在线观看</a>| <a href="http://webgame86.com" target="_blank">美女啪啪网站又黄又免费</a>| <a href="http://hhgcnet.com" target="_blank">美女视频黄免费亚洲</a>| <a href="http://ivy-fund.com" target="_blank">亚洲色四在线视频观看</a>| <a href="http://czshenyue.com" target="_blank">久久成人永久免费播放</a>| <a href="http://fsrongxing.com" target="_blank">成人永久免费福利视频网站</a>| <a href="http://liangdy.com" target="_blank">亚洲国产美国国产综合一区二区</a>| <a href="http://bjtjchem.com" target="_blank">蜜桃传媒一区二区亚洲AV</a>| <a href="http://8aa3.com" target="_blank">中国一级毛片免费看视频</a>| <a href="http://xj47777.com" target="_blank">久久国产色AV免费看</a>| <a href="http://477077.com" target="_blank">日本免费网址大全在线观看</a>| <a href="http://yytengsheng.com" target="_blank">亚洲国产精品无码久久久蜜芽</a>| <a href="http://zdmaid.com" target="_blank">国产精品亚洲一区二区三区久久</a>| <a href="http://yw8885.com" target="_blank">免费黄网在线观看</a>| <a href="http://831055.com" target="_blank">久久人午夜亚洲精品无码区</a>| <a href="http://shaonvfushi.com" target="_blank">女性无套免费网站在线看</a>| <a href="http://5gz0z.com" target="_blank">2020国产精品亚洲综合网 </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>