锘??xml version="1.0" encoding="utf-8" standalone="yes"?>BlogJava-鎴戠殑婕?#23125;?#32459;嬪簭涔嬫梾http://www.5432034.com/supercrsky/涓撴敞浜嶫avaWeb寮鍙?/description>zh-cnSat, 23 Mar 2019 13:23:58 GMTSat, 23 Mar 2019 13:23:58 GMT60Linux涓婂畨瑁匤DK1.7涓嶵omcat7.0http://www.5432034.com/supercrsky/archive/2012/12/11/392821.html銆?#28051;婂?#21230;嫢姘?#37510;?/dc:creator>銆?#28051;婂?#21230;嫢姘?#37510;?/author>Tue, 11 Dec 2012 08:54:00 GMThttp://www.5432034.com/supercrsky/archive/2012/12/11/392821.htmlhttp://www.5432034.com/supercrsky/comments/392821.htmlhttp://www.5432034.com/supercrsky/archive/2012/12/11/392821.html#Feedback0http://www.5432034.com/supercrsky/comments/commentRss/392821.htmlhttp://www.5432034.com/supercrsky/services/trackbacks/392821.htmlUbuntu涓婂畨瑁?/span>JDK1.7璇风敤tar.gz鍖咃紝Fedora鍙?#38315;夌敤rpm鍖?#37510;?/span>

濡傛灉鍦?/span>Ubuntu?#25956;rpm鍖呭畨瑁咃紝闇瑕佸厛杞崲涓?/span>deb鏍?#23534;?#37510;?/span>

?#30056;瑁?#37718;呯殑涓?#26462;?/span>

jdk7

http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html

tomcat7

http://tomcat.apache.org/download-70.cgi

 

Jdk?#27537;?#30056;瑁?/span>

1.瑙帇鎴栧畨瑁?/span>

.gz鍖?/span>

#tar -zxvf jdk-7u9-linux-i586.tar.gz

瑙?#37720;嬪?#24227;殑鐩綍濡傦細jdk1.7.0_09

灏嗗叾澶嶅埗鎴栫鍔埌/usr鐩綍涓?/span>

#mv jdk1.7.0_09 /usr

 

.rpm鍖?/span>

#rpm -ivh jdk-7u9-linux-i586.rpm

 

2.閰嶇疆鐜境鍙橀噺

#vi /etc/profile

鍦?/span>profile鏂囦欢涓?/span> umask 022 缁撴潫瀛楃鍓嶅姞鍏?/span>

export JAVA_HOME=/usr/jdk1.7.0_09

export JAVA_BIN=/usr/jdk1.7.0_09/bin

export PATH=$PATH:$JAVA_HOME/bin

export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH

 

 

濡傛灉Ubuntu绯?#32513;?#26473;?#29781;?#28103;敼榛樿jdk

update-alternatives --install /usr/bin/java java /usr/jdk1.7.0_09/bin/java 300

update-alternatives --install /usr/bin/javac javac /usr/jdk1.7.0_09/bin/javac 300

閫?#26473;?#26473;?#28051;姝?#28751;?#37812;戜滑?#30056;瑁呯殑jdk鍔?#37711;?/span>java閫夊崟銆?/span>

update-alternatives --config java

 

 

閲?#37722;?/span>Terminal娴?#29831;?/span>

#java -version

 

Tomcat?#27537;?#30056;瑁?/span>

 

1.棣栧厛瑙帇缂?/span>    

#tar -zxvf apache-tomcat-7.0.32.tar.gz

寰楀埌Tomcat?#27537;?#22669;鏈?#37826;囦欢.鐒?#37722;?#37814;婂畠鎷疯礉?#22476;?#32152;瑕佸畨瑁呯殑浣嶇疆?#32029;濡?/span>/opt/tomcat

#cp -r /home/zdw/software/apache-tomcat-7.0.32 /opt/tomcat

鍒囨崲?#22476;/opt/tomcat/bin

#cd /opt/tomcat/bin

杩愯?#23677;懡浠?/span>

#./startup.sh

 

姝父鎯呭喌涓嬪彲浠?#29785;佸埌濡?#28051;嬬殑淇伅?#32048;    

 

Using CATALINA_BASE:   /opt/tomcat

Using CATALINA_HOME:   /opt/tomcat

Using CATALINA_TMPDIR: /opt/tomcat/temp

Using JRE_HOME:        /usr/java/jdk1.7.0_09

Using CLASSPATH:       /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar

 

2.鐒?#37722;庣敤娴?#29785;堝櫒鎵?#23534;濡?#28051;嬬殑?#32137;椤?/span>   

http://localhost:8080/    锛?#28641;傛灉?#30149;鏈夋妸Port number?#25980;涓?/span>80锛?/span>

濡傛灉?#32152;瑙佸埌Tomcat?#27537;?#32137;椤?#38171;?/span>index.jsp锛夛紝璇佹槑Tomcat?#30056;瑁?#37812;?#37716;紝q跺凡缁?#37722;?#37716;?#38171;?/span>

 濡?#29781;佸?#25277;棴Tomcat?#32029;鍦?/span>/opt/tomcat/bin涓嬭?#24879;涓?#38344;殑鍛?#28000;?#37719;?#37721;?/span>    

#./shutdown.sh



]]>
navicat_for_mysql_10.0.11鍦linux涓嬬殑?#30056;瑁?/title><link>http://www.5432034.com/supercrsky/articles/392820.html</link><dc:creator>銆?#28051;婂?#21230;嫢姘?#37510;?/dc:creator><author>銆?#28051;婂?#21230;嫢姘?#37510;?/author><pubDate>Tue, 11 Dec 2012 08:39:00 GMT</pubDate><guid>http://www.5432034.com/supercrsky/articles/392820.html</guid><wfw:comment>http://www.5432034.com/supercrsky/comments/392820.html</wfw:comment><comments>http://www.5432034.com/supercrsky/articles/392820.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.5432034.com/supercrsky/comments/commentRss/392820.html</wfw:commentRss><trackback:ping>http://www.5432034.com/supercrsky/services/trackbacks/392820.html</trackback:ping><description><![CDATA[<p><span style="font-family:瀹嬩綋;">瀹?#37826;?#28051;?#26462;?#37734;板潃?#32048;</span>http://www.navicat.com/cn/download/download.html</p> <p>navicat_for_mysql_10.0.11_cn_linux.tar.gz</p> <p><span style="font-family:瀹嬩綋;">浣跨敤鏂规硶?#32048;</span></p> <p><strong>1.</strong><strong><span style="font-family:瀹嬩綋;">鎵?#23534;缁堢?#32048;?#31794;?#25956;绋嬪簭</span>-></strong><strong><span style="font-family:瀹嬩綋;">绯?#32513;?#23480;?#37711;?#38171;?#37812;?#38340;勪欢锛?/span>-></strong><strong><span style="font-family:瀹嬩綋;">缁堢?#32029;鍒囨崲?#22476;</span>root</strong><strong><span style="font-family:瀹嬩綋;">璐?#37812;P細</span></strong></p> <p><strong><span style="color:#00B0F0">#su -</span></strong></p> <p><span style="font-family:瀹嬩綋;">瀵嗙爜?#32048;</span></p> <p><span style="font-family:瀹嬩綋;">锛堟敞鎰忥細杈?#37711;?/span>root<span style="font-family:瀹嬩綋;">璐?#37812;?#28725;嗙?#20345;?#35769;紝瀵嗙爜涓嶄細鏄剧鍑烘潵?#32029;涔熸病鏈夋?#24878;?#34425;殑鐗规?#23106;?#26947;?#32029;鐩存帴杈?#28729;屽?#21977;?#20345;</span>Enter<span style="font-family:瀹嬩綋;">閿?#28751;?#29723;?#27996;?#38171;?/span></p> <p> </p> <p><strong>2.</strong><strong><span style="font-family:瀹嬩綋;">鍒囨崲?#22476;鏀剧疆涓?#26462;?#23536;楀埌?#27537;</span> navicat_for_mysql_10.0.11_cn_linux.tar.gz </strong><strong><span style="font-family:瀹嬩綋;">杞欢鍖呯殑鐩綍?#32029;</span></strong></p> <p><span style="font-family:瀹嬩綋;">渚嬪鎴?#37814;?#26462;欢鍖?#37824;剧疆?#22476;浜?/span> /home/zdw/software <span style="font-family:瀹嬩綋;">鐩綍涓?/span></p> <p><strong># cd /home/zdw/software</strong></p> <p><strong>3.</strong><strong><span style="font-family:瀹嬩綋;">瑙帇</span> navicat_for_mysql_10.0.11_cn_linux.tar.gz</strong></p> <p><strong><span style="color:#00B0F0"># tar -zxvf navicat_for_mysql_10.0.11_cn_linux.tar.gz</span></strong></p> <p><span style="font-family:瀹嬩綋;">瑙?#37720;嬪悗?#32048;寰楀埌鍚?#28051;?/span> navicat_for_mysql <span style="font-family:瀹嬩綋;">?#27537;鏂囦欢澶?/span></p> <p><strong>4.</strong><strong><span style="font-family:瀹嬩綋;">灏?#29785;帇鐢?#37812;?#37826;囦欢澶?#32457;?#37716;埌</span>/opt</strong><strong><span style="font-family:瀹嬩綋;">鐩綍涓嬶細</span></strong></p> <p><strong><span style="color:#00B0F0"># mv /home/zdw/software/navicat_for_mysql /opt</span></strong></p> <p> </p> <p><strong>5.</strong><strong><span style="font-family:瀹嬩綋;">杩愯</span> Navicat </strong><strong><span style="font-family:瀹嬩綋;">鏂规硶?#32048;</span></strong></p> <p><span style="font-family:瀹嬩綋;">杩?#37711;畨瑁呯洰?#32141;?#32048;</span></p> <p><strong><span style="color:#00B0F0"># cd /opt/navicat_for_mysql</span></strong></p> <p><span style="font-family:瀹嬩綋;">鎵?#29723;屽懡浠細</span></p> <p> </p> <p><strong><span style="color:#00B0F0"># ./start_navicat</span></strong></p> <p><span style="font-family:瀹嬩綋;">杩?#37837;?#37719;?#37721;?#37722;?#37716;?/span>Navicat</p> <p> </p> <p><span style="font-family:瀹嬩綋;">涓?#27996;?#37826;逛究?#32029;涔?#37721;?#28000;?#37714;涘缓</span>Navicat<span style="font-family:瀹嬩綋;">?#27537;妗?#38344;?#37722;?#37716;櫒?#32029;鏂规硶濡?#28051;嬶細</span></p> <p><span style="font-family:瀹嬩綋;">鍦?#22935;?#38344;偣鍑?#37721;抽敭</span>-><span style="font-family:瀹嬩綋;">?#20579;鍑?/span>[<span style="font-family:瀹嬩綋;">鍒涘缓鍚?#37716;櫒</span>]<span style="font-family:瀹嬩綋;">椤?/span>-></p> <p><span style="font-family:瀹嬩綋;">銆愮?#35826;銆?#37837;?#38315;夋嫨</span>[<span style="font-family:瀹嬩綋;">?#31794;?#25956;绋嬪簭</span>]</p> <p><span style="font-family:瀹嬩綋;">銆?#37722;嶇銆?#37837;?#28617;?#37711;細</span>Navicat </p> <p><span style="font-family:瀹嬩綋;">銆?#37723;?#28000;?#37510;?#37837;忕偣鍑?#37721;?#26440;圭殑銆?#23092;?#29785;?#37510;?#38315;夋嫨?#22476;</span>->[<span style="font-family:瀹嬩綋;">鏂囦欢绯?#32513;?/span>]->[opt]->[navicat_for_mysql]->[start_navicat]</p> <p><span style="font-family:瀹嬩綋;">鏈鍚庣偣鍑?#37510;愮瀹?#37510;戯紝灏?#37734;?#22935;?#38344;?#37714;涘缓濂?/span>Navicat<span style="font-family:瀹嬩綋;">?#27537;鍚?#37716;櫒</span></p> <p> </p> <p><strong>6.</strong><strong><span style="font-family:瀹嬩綋;">鐮?#29785;細</span></strong></p> <p><span style="font-family:瀹嬩綋;">?#25950;?#21821;?#29212;</span> NAVN-LNXG-XHHX-5NOO</p> <p><span style="font-family:瀹嬩綋;">?#25956;鎴?#37724;?#32513;?#32513;囬殢渚?#28617;?/span></p> <p> </p> <p><strong>7.</strong><strong><span style="font-family:瀹嬩綋;">杩炴帴涓婃暟鎹?#25652;?#37722;?#38322;?#38344;殑涓?#37826;囨暟鎹嫢鏄?#28052;辩爜</span>,</strong><strong><span style="font-family:瀹嬩綋;">鎶婂?#26947;?#27878;淇敼涓?/span>zh_CN.utf8</strong><strong><span style="font-family:瀹嬩綋;">灏?#29723;?#27996;?/span>,</strong><strong><span style="font-family:瀹嬩綋;">淇敼鏂规硶</span>:</strong></p> <p><span style="font-family:瀹嬩綋;">鏌湅绯?#32513;?#37824;?#37816;佺殑瀛楃?#27878;</span></p> <p># locale -a</p> <p><span style="font-family:瀹嬩綋;">淇敼瀛楃?#27878;</span></p> <p># export LANG=zh_CN.utf8</p><img src ="http://www.5432034.com/supercrsky/aggbug/392820.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.5432034.com/supercrsky/" target="_blank">銆?#28051;婂?#21230;嫢姘?#37510;?/a> 2012-12-11 16:39 <a href="http://www.5432034.com/supercrsky/articles/392820.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>mysql5.5.28鍦Linux涓嬬殑?#30056;瑁?/title><link>http://www.5432034.com/supercrsky/articles/392801.html</link><dc:creator>銆?#28051;婂?#21230;嫢姘?#37510;?/dc:creator><author>銆?#28051;婂?#21230;嫢姘?#37510;?/author><pubDate>Tue, 11 Dec 2012 06:39:00 GMT</pubDate><guid>http://www.5432034.com/supercrsky/articles/392801.html</guid><wfw:comment>http://www.5432034.com/supercrsky/comments/392801.html</wfw:comment><comments>http://www.5432034.com/supercrsky/articles/392801.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.5432034.com/supercrsky/comments/commentRss/392801.html</wfw:commentRss><trackback:ping>http://www.5432034.com/supercrsky/services/trackbacks/392801.html</trackback:ping><description><![CDATA[<p style="margin-left:18.0pt;text-indent:-18.0pt;"><strong>1.<span style="font-family: 'Times New Roman'; font-size: 7pt; font-weight: normal; line-height: normal; ">       </span></strong><strong><span style="font-family:瀹嬩綋;">涓?#26462;?/span>mysql</strong></p> <p style="margin-left:18.0pt;text-indent:0cm;"><span style="font-family:瀹嬩綋;">鍦?/span><a href="http://dev.mysql.com/downloads/mysql/%20%E5%AE%98%E7%BD%91%E4%B8%8A%E4%B8%8B%E8%BD%BDmysql-5.5.28-linux2.6-i686.tar.gz">http://dev.mysql.com/downloads/mysql/ <span style="font-family:瀹嬩綋;">瀹樼綉涓?#28051;?#26462;?/span>mysql-5.5.28-linux2.6-i686.tar.gz</a>.</p> <p style="margin-left:18.0pt;text-indent:-18.0pt;"><strong>2.<span style="font-family: 'Times New Roman'; font-size: 7pt; font-weight: normal; line-height: normal; ">       </span></strong><strong><span style="font-family:瀹嬩綋;">瑙帇</span></strong></p> <p style="margin-left:18.0pt;text-indent:0cm;"><strong>    </strong><strong><span style="font-family:瀹嬩綋;">鍋?#28641;?/span>tar</strong><strong><span style="font-family:瀹嬩綋;">鍖?#37734;?/span>/home/zdw/software</strong><strong><span style="font-family:瀹嬩綋;">鐩綍涓?/span></strong></p> <p style="margin-left:18.0pt;text-indent:21.1pt"><strong><span style="color:#0070C0;">#tar -xvf mysql-5.5.28-linux2.6-i686.tar.gz</span></strong></p> <p style="margin-left:18.0pt;text-indent:-18.0pt;"><strong>3.<span style="font-family: 'Times New Roman'; font-size: 7pt; font-weight: normal; line-height: normal; ">       </span></strong><strong><span style="font-family:瀹嬩綋;">绉?#37716;埌</span>/usr/local/mysql</strong></p> <p style="margin-left:18.0pt;text-indent:21.1pt"><strong><span style="color:#0070C0;">#mv mysql-5.5.28-linux2.6-i686 /usr/local/</span></strong></p> <p style="margin-left:18.0pt"><span style="font-family: 瀹嬩綋;">娣?#37716;犲鎹?#37826;?#23534;?/span>mysql<span style="font-family:瀹嬩綋;">鎸?#37722;?/span>mysql-5.5.28-linux2.6-i686</p> <p style="margin-left:18.0pt;text-indent:21.1pt"><strong><span style="color:#0070C0;">#ln -s mysql-5.5.28-linux2.6-i686/ mysql</span></strong></p> <p style="margin-left:18.0pt;text-indent:-18.0pt;"><strong>4.<span style="font-family: 'Times New Roman'; font-size: 7pt; font-weight: normal; line-height: normal; ">       </span></strong><strong><span style="font-family:瀹嬩綋;">?#30056;瑁呬?#28618;?#26667;殑</span>lib</strong><strong><span style="font-family:瀹嬩綋;">鍖?/span>:</strong><strong><span style="font-family:瀹嬩綋;">鎵?#29723;?/span>/usr/local/mysql/bin/mysqld,</strong><strong><span style="font-family:瀹嬩綋;">鎶?#38335;?/span></strong></p> <p style="margin-left:18.0pt">/usr/local/mysql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot               open shared object file: No such file or directory</p> <p style="margin-left:18.0pt"><span style="font-family: 瀹嬩綋;">浣跨敤</span>apt-cache search libaio,<span style="font-family: 瀹嬩綋;">鎵惧埌濡?#28051;?#26462;欢婧?/span></p> <p style="margin-left:18.0pt">libaio-dev - Linux kernel AIO access library - development files</p> <p style="margin-left:18.0pt">libaio1 - Linux kernel AIO access library - shared library</p> <p style="margin-left:18.0pt">libaio1-dbg - Linux kernel AIO access library - debugging symbols</p> <p style="margin-left:18.0pt;text-indent:0cm;"><span style="font-family:瀹嬩綋;">浣跨敤</span><strong><span style="color:#0070C0;">#apt-get install libaio1 </span></strong><span style="font-family:瀹嬩綋;">?#30056;瑁?/span></p> <p style="margin-left:18.0pt;text-indent:-18.0pt;"><strong>5.<span style="font-family: 'Times New Roman'; font-size: 7pt; font-weight: normal; line-height: normal; ">       </span></strong><strong><span style="font-family:瀹嬩綋;">閰嶇疆?#25956;鎴P紝鐩綍</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">#groupadd mysql</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">#useradd -r -g mysql mysql</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">#cd /usr/local/mysql</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">#chown -R mysql .</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">#chgrp -R mysql .</span></strong></p> <p style="margin-left:18.0pt;text-indent:-18.0pt;"><strong>6.<span style="font-family: 'Times New Roman'; font-size: 7pt; font-weight: normal; line-height: normal; ">       </span></strong><strong><span style="font-family:瀹嬩綋;">鍒濆?#23338;</span>mysql</strong></p> <p>    <span style="font-family:瀹嬩綋;">鍋?#28641;傚綋鍓?#37929;綍涓?/span>/usr/local/mysql</p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">#scripts/mysql_install_db --user=mysql</span></strong></p> <p style="margin-left:18.0pt;text-indent:-18.0pt;"><strong>7.<span style="font-family: 'Times New Roman'; font-size: 7pt; font-weight: normal; line-height: normal; ">       </span></strong><strong><span style="font-family:瀹嬩綋;">鍚?#37716;?/span>mysql</strong></p> <p style="margin-left:21.2pt;"><span style="font-family:瀹嬩綋;">鏈绠?#23839;?#27537;鍚?#37716;?#37826;?#23534;?/span>:</p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">#/usr/local/mysql/bin/mysqld --user=mysql</span></strong></p> <p style="margin-left:21.2pt;"><span style="font-family:瀹嬩綋;">榛樿鎯呭喌涓嬩?#36328;敤</span>/usr/local/mysql/data<span style="font-family:瀹嬩綋;">浣?#28051;?/span>mysql<span style="font-family:瀹嬩綋;">?#27537;?#26271;鎹?#37929;綍?#32029;鍖?#37815;暟鎹?#25652;撴?#22246;欢?#32029;</span>log<span style="font-family:瀹嬩綋;">鏃?#36423;?#37510;?/span></p> <p style="margin-left:21.2pt;"><span style="font-family:瀹嬩綋;">?#29238;?#25956;?#27537;</span>mysql<span style="font-family:瀹嬩綋;">鍚?#37716;?#37721;傛暟</span>:</p> <p style="margin-left:21.2pt;">/usr/local/mysql/bin/mysqld  --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data  --port=3306 --socket=/tmp/mysql.socks</p> <p style="margin-left:21.2pt;"><span style="font-family:瀹嬩綋;">鎺?#24878;殑鍚?#37716;?/span>mysql</p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">#/usr/local/mysql/support-files/mysql.server start</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="font-family: 瀹嬩綋; ">鍚?#37716;?#28729;?#37812;?#28052;嬪?#24227;敤</span>ps -ef |grep mysql </strong><strong><span style="font-family: 瀹嬩綋; ">鍛?#28000;?#37836;?#37930;嬫槸鍚?#37722;?#37716;?/span></strong></p> <p style="margin-left:18.0pt;text-indent:-18.0pt;"><strong>8.<span style="font-family: 'Times New Roman'; font-size: 7pt; font-weight: normal; line-height: normal; ">       </span></strong><strong><span style="font-family:瀹嬩綋;">鐧诲綍</span>mysql</strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">#/usr/local/mysql/bin/mysql -u root -p</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="font-family: 瀹嬩綋; ">榛樿瀵嗙爜涓虹</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"> <strong></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="font-family: 瀹嬩綋; ">淇敼</span>root</strong><strong><span style="font-family: 瀹嬩綋; ">瀵嗙爜</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">mysql>use mysql ;<br /> mysql>update user set password=PASSWORD("123456") where user='root';<br /> mysql>FLUSH PRIVILEGES;</span></strong></p> <p style="margin-left:18.0pt;text-indent:-18.0pt;"><strong>9.<span style="font-family: 'Times New Roman'; font-size: 7pt; font-weight: normal; line-height: normal; ">       </span></strong><strong><span style="font-family:瀹嬩綋;">鍏抽棴</span>mysql</strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><span style="font-family:瀹嬩綋;">鏈绠?#23839;?#27537;鏂?#23534;?/span></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">#killall mysqld</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><span style="font-family:瀹嬩綋;">鎺?#24878;殑鏂?#23534;?/span></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">#/usr/local/mysql/support-files/mysql.server stop</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><span style="font-family:瀹嬩綋;">浣跨敤</span>mysql.server stop<span style="font-family:瀹嬩綋;">鍏抽棴</span>mysqld<span style="font-family:瀹嬩綋;">?#32048;閿姣?/span>pid<span style="font-family:瀹嬩綋;">鏂囦欢?#32029;q跺瀹?#38335;欐搷浣滐紝浣?#37828;?#37832;鍚?#28052;?#37828;皟?#25956;</span>kill<span style="font-family:瀹嬩綋;">鍛?#28000;?/span>kill mysql<span style="font-family:瀹嬩綋;">銆?/span></p> <p align="left" style="margin-left:21.2pt;text-align:left"> </p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="font-family:瀹嬩綋;color:red">鍏抽棴</span><span style="color:red">mysql</span></strong><strong><span style="font-family:瀹嬩綋;color:red">?#32029;灏介噺涓?#29781;佺敤</span><span style="color:red">kill -9 mysql_pid</span></strong><strong><span style="font-family:瀹嬩綋;color:red">鎴栬?#37828;?/span><span style="color:red">killall -9 mysql,</span></strong><strong><span style="font-family:瀹嬩綋;color:red">鍚?#37714;?/span><span style="color:red">mysql</span></strong><strong><span style="font-family:瀹嬩綋;color:red">杩?#32459;嬫?#29363;硶鍋?#38315;鍑?#28598;勭?#21997;紝灏?#37721;?#38003;戒細涓?#28598;辨暟鎹紝鐢氳?#20914;鑷?#29723;?#37817;熷潖銆?/span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong> </strong></p> <p style="margin-left:18.0pt;text-indent:-18.0pt;"><strong>10.<span style="font-family: 'Times New Roman'; font-size: 7pt; font-weight: normal; line-height: normal; ">   </span></strong><strong><span style="font-family:瀹嬩綋;">娴?#37835;?/span>mysql.server</strong><strong><span style="font-family:瀹嬩綋;">鑴?#37832;殑鍚?#37716;?#23092;?#32459;?/span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left">mysql.server<span style="font-family:瀹嬩綋;">鑴?#37832;?#37721;?#28000;?#37930;嬪埌鍦?#28000;?#28051;嬭剼鏈皟?#25956;</span>mysqld_safe<span style="font-family:瀹嬩綋;">杩?#28051;?/span>bash</p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">$bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null 2>&1 &</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><span style="font-family:瀹嬩綋;">榛樿鎯呭喌涓?/span>,$bindir/mysqld_safe<span style="font-family:瀹嬩綋;">灏?#37828;?/span>/usr/local/mysql/bin/mysqld_safe<span style="font-family: 瀹嬩綋;">杩?#28051;?/span>shell<span style="font-family:瀹嬩綋;">?#32029;鎴戠殑鏈?#37832;虹殑?#30367;?#25956;鍙傛暟濡?#28051;?/span>:</p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">/bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/blue-pc.pid</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><span style="font-family:瀹嬩綋;">鑰?/span>mysqld_safe<span style="font-family:瀹嬩綋;">涔?#37828;?#28051;涓?/span>shell,<span style="font-family:瀹嬩綋;">鍙?#28000;?#37930;嬪埌鍦?#26473;?#28051;?#38004;?#37832;?#37734;?#37714;濆?#23338;</span>N<span style="font-family:瀹嬩綋;">澶?#37721;橀噺鍚庯紝?#30367;?#25956;</span></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;">eval_log_error "$cmd"</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><span style="font-family:瀹嬩綋;">杩?#28051;?/span>shell function<span style="font-family:瀹嬩綋;">鏈鍚?#28751;?#37828;皟?#25956;</span></p> <p align="left" style="margin-left:21.2pt;text-align:left"><strong><span style="color:#0070C0;"> #echo "Running mysqld: [$cmd]" eval "$cmd"</span></strong></p> <p align="left" style="margin-left:21.2pt;text-align:left"><span style="font-family:瀹嬩綋;">鍦?#37812;?#37832;?#37832;猴紝杩?#28051;?/span>$cmd<span style="font-family:瀹嬩綋;">灏?#37828;?/span></p> <p align="left" style="margin-left: 21.2pt; text-align: left; "><strong><span style="color:#0070C0;">/usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/local/mysql/data/blue-pc.err --pid-file=/usr/local/mysql/data/blue-pc.pid<br /><br />鍙傝?#37826;?#32468;狅細</span></strong>http://dev.mysql.com/doc/refman/5.5/en/binary-installation.html<strong><span style="color:#0070C0;"><br /></span></strong><strong><span style="color:#0070C0;">鏈?#37826;?#37734;Ubuntu11.04鍜孎edora14涓嬫祴璇?#37812;?#37716;?#37510;?/span></strong></p><img src ="http://www.5432034.com/supercrsky/aggbug/392801.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.5432034.com/supercrsky/" target="_blank">銆?#28051;婂?#21230;嫢姘?#37510;?/a> 2012-12-11 14:39 <a href="http://www.5432034.com/supercrsky/articles/392801.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>Apache HttpServer2.2.22涓嶵omcat6.0鏁?#37722;?/title><link>http://www.5432034.com/supercrsky/archive/2012/11/05/390807.html</link><dc:creator>銆?#28051;婂?#21230;嫢姘?#37510;?/dc:creator><author>銆?#28051;婂?#21230;嫢姘?#37510;?/author><pubDate>Mon, 05 Nov 2012 06:24:00 GMT</pubDate><guid>http://www.5432034.com/supercrsky/archive/2012/11/05/390807.html</guid><wfw:comment>http://www.5432034.com/supercrsky/comments/390807.html</wfw:comment><comments>http://www.5432034.com/supercrsky/archive/2012/11/05/390807.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.5432034.com/supercrsky/comments/commentRss/390807.html</wfw:commentRss><trackback:ping>http://www.5432034.com/supercrsky/services/trackbacks/390807.html</trackback:ping><description><![CDATA[鍑嗗宸?#28003;滐細<br /> <div>1.涓?#26462;Tomcat?#32029;鏈?#37826;囩敤?#27537;6.0?#32029;涓?#26462;?#37734;板潃?#32048;http://labs.mop.com/apache-mirror/tomcat/tomcat-6/<br /> 2.鏍规嵁绯?#32513;?#37911;?#37832;?#28051;?#26462;?#37929;?#28725;圭殑Apache HttpServer,鏈?#37826;囩敤?#27537;鏄痟ttpd-2.2.22-win32-x86-openssl-0.9.8t.msi<br /> 涓?#26462;?#37734;板潃?#32048;http://labs.mop.com/apache-mirror/httpd/binaries/win32/<br /> 3.涓?#26462;mod_jk.so,瑕?#37813;惧埌涓httd鐗?#37832;?#28725;瑰簲?#27537;?#32029;鏈?#37826;囩敤?#27537;鏄?span style="line-height: normal; "> </span><a href="http://labs.mop.com/apache-mirror/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.37-windows-i386-httpd-2.2.x.zip" style="line-height: normal; ">tomcat-connectors-1.2.37-windows-i386-httpd-2.2.x.zip</a>?#32029;<br /> 涓?#26462;?#37734;板潃?#32048;<span style="line-height: normal; "></span>http://labs.mop.com/apache-mirror/tomcat/tomcat-connectors/jk/binaries/windows/<br /> <br /> ?#30056;瑁呭伐浣滐細<br /> 1.?#30056;瑁Apache HttpServer?#32029;濡?#28051;嬪浘?#32048;<br /><img src="http://www.5432034.com/images/blogjava_net/supercrsky/apache1.jpg" width="491" height="373" alt="" /><br /><img src="http://www.5432034.com/images/blogjava_net/supercrsky/apache2.jpg" border="0" alt="" /><br /><img src="http://www.5432034.com/images/blogjava_net/supercrsky/apache2.jpg" width="490" height="377" alt="" /><br /> ?#22669;鏈夌?#21226;欢鍏?#38318;?#29761;?#28051;?#37510;?br /> ?#30056;瑁?#37812;?#37716;?#37722;?#28641;?#28051;嬪浘?#22669;绀猴細<br /><br /> 鍦?#23092;?#29785;堝櫒杈?#37711;Http://localhost?#32029;濡傛灉鍑?#37916;?"it works"瀛?#37837;??#32029;灏?#29831;存槑Apache Server?#30056;瑁?#37812;?#37716;?#27996;?#37510;?br /> 濡傛灉?#30056;瑁?#28051;婂悗鏈嶅姟?#30149;鏈?#37722;?#37716;?#37812;?#37716;紝鏌綘?#27537;80绔?#37721;?#37828;?#37722;?#29722;?#37719;敤銆?br /> 2.?#30056;瑁Tomcat?#32029;杩?#32459;?#37812;?#28751;?#28051;嶇璇?#27996;嗭紝鍋欽ava?#27537;閮戒細?#27537;銆?br /> <img src="http://www.5432034.com/images/blogjava_net/supercrsky/apache3.jpg" width="523" height="334" alt="" /><br /> 閰嶇疆宸?#28003;滐細<br /> 1.绔?#37721;?#38320;嶇疆<br /> 杞欢鎴戜滑閮?#29761;呭浜嗭紝鐜?#37734;?#38343;瑕?#37812;戜滑?#28533;閰嶇疆涓涓?br /> <div>鎵?#23534;apache?#30056;瑁呯洰?#32141;?#27537;?#32048;\apache\conf\httpd.conf鏂囦欢銆?br /> <div>鎵惧埌?#32048;<br /> <span style="font-size: 13px; background-color: #eeeeee; ">Listen 80</span> </div> </div> 鍏抽敭瀛楋紝杩?#28051;?#28751;?#37828;Apache?#27537;鐩?#37722;?#32468;?#37721;紝榛樿鏄?0?#32029;鎴戜滑涔?#37721;?#28000;?#37837;规嵁闇瑕佹敼鎴愬叾浠栫殑銆?br /> 2.璁块棶鐩綍閰嶇疆:<br /> 鎵惧埌<br /> <p>ServerName zdw.com:80<br /> ?#21502;涓zdw.com鏄?#37812;戜滑鍦畨瑁?#37827;跺鍐欑殑涓?#37832;?#37722;嶏紝杩?#38322;屾敼鎴?#37832;嶅姟?#27346;IP銆?br /> ServerName 192.168.10.104:80 <br /> </p> <p>鎵惧埌濡?#28051;嬭繖琛岋細</p> <p>DocumentRoot</p> <p>?#32152;?#32048;鍙?#28051;嬫?#22798;繖鏍风殑涓琛屽唴瀹癸細</p> <table style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #d9d9d9; background-position: initial initial; background-repeat: initial initial; " border="1" cellspacing="0" cellpadding="0"> <tbody> <tr> <td valign="top"> <p> </p> <div>DocumentRoot "D:/Program Files/apache/htdocs</div> <p> </p> </td> </tr> </tbody> </table> <p>杩?#28051;?#37721;?#28003;DocumentRoot鍗硍ebroot?#32029;鍗I細鍙?#29999;?#37929;綍?#32029;鍙?#29999;?#37734;?#26473;?#28051;?#37929;綍涓嬬殑浠M綍宸?#32459;?#38318;戒細鍦Apache鏈嶅姟寮鍚?#37827;?#29722;?#29761;?#26462;?#37812;?#37837;?#37713;嗙殑web宸?#32459;嬶紝鎴戜滑鐜?#37734;?#37716;?#37813;嬫潵鎶?#26473;?#28051;猈ebRoot瀹?#28003;嶅埌鎴戜滑鑷?#23480;辩殑鍙?#29999;?#37929;綍涓?#37720;?#37722;?#37510;?/p> <table style="background: #d9d9d9" border="1" cellspacing="0" cellpadding="0"> <tbody> <tr> <td valign="top"> <p>DocumentRoot "d:/www"</p> </td> </tr> </tbody> </table> <p>閲?#37722;?#37812;戜滑?#27537;Apache鏈嶅姟?#32029;鎴戜滑?#25956;Apache HTTP Server 2.2/Configure Apache Server/Test Configuration?#28533;娴?#29831;?#28051;涓嬶紝濡傛灉榛戝睆涓闂?#38000;?#26473;?#29831;存槑閰嶇疆姝?#32429;紝鍚?#37714;欎細鏄剧閿?#29831;殑璇?#32513;?#28103;伅銆?br /> 杩?#37827;朵細鏄剧403闄愬埗璁块棶?#27537;椤?#38344;?#37510;?/p> <p>鎵惧埌涓?#38344;?#26473;?#28051;娈碉細<br /> </p> <div style="font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; border-image: initial; padding-right: 5px; padding-bottom: 4px; padding-left: 4px; padding-top: 4px; width: 98%; word-break: break-all; background-color: #eeeeee; "><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #0000FF; "><</span><span style="color: #800000; ">Directory </span><span style="color: #0000FF; ">/></span><br />     Options FollowSymLinks<br />     AllowOverride None<br />     Order deny,allow<br />     deny from all<br /> <span style="color: #0000FF; "></</span><span style="color: #800000; ">Directory</span><span style="color: #0000ff; ">></span></div> 灏哾eny?#25980;鎴allow鍗?#37721;?#37510;?br /> 3.闈?#37716;?#37714;嗙閰嶇疆<br /> 鍦D:\www鐩綍灏嗕綘?#27537;閮?#32515;叉墍闇?#27537;闈欐?#37826;囦欢鏀惧埌杩?#28051;?#37929;綍涓嬶紝瑕佸缓涓涓?#37724;tomcat/webapps鐩綍涓?#38318;?#32515;茬殑宸?#32459;嬬殑鍚?#37722;?#37826;囦欢澶?br /> ?#32029;濡?#28051;嬪浘?#32048;<br /><img src="http://www.5432034.com/images/blogjava_net/supercrsky/apache4.jpg" width="682" height="213" alt="" /><br /> <br /><img src="http://www.5432034.com/images/blogjava_net/supercrsky/apache5.jpg" width="840" height="350" alt="" /><br /> <br /> 鍦httpd.conf閲岀殑鏈鍚?#38344;?#37716;?#28051;細<br /> <div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> -->LoadModule jk_module modules/mod_jk.so<br /> JKWorkersFile conf/workers.properties<br /> JkLogFile logs/mod_jk.log<br /> <span style="color: #0000FF; "><</span><span style="color: #800000; ">VirtualHost </span><span style="color: #FF0000; ">*</span><span style="color: #0000FF; ">></span><br /> ServerAdmin localhost<br /> DocumentRoot d:/www/<br /> ServerName localhost<br /> DirectoryIndex index.html index.htm index.jsp index.action login.jsp<br /> ErrorLog logs/shsc-error_log.txt<br /> CustomLog logs/shsc-access_log.txt common<br /> JkMount /*WEB-INF ajp13<br /> JkMount /*j_spring_security_check ajp13<br /> JkMount /*.action ajp13<br /> JkMount /servlet/* ajp13<br /> JkMount /*.jsp ajp13<br /> JkMount /*.do ajp13</div> <span style="background-color: #eeeeee; font-size: 13px; color: #0000ff; "></</span><span style="font-size: 13px; color: #800000; background-color: #eeeeee; ">VirtualHost</span><span style="font-size: 13px; color: #0000ff; background-color: #eeeeee; ">></span> <br /> 杩?#38322;?#38320;嶇疆浜嗗摢浜?#37828;?#38343;瑕乼omcat?#28533;澶勭?#21977;殑?#32029;姣?#28641;?#29831;?.do   銆?br /> 杩炴帴鏃剁殑閰嶇疆鍙傛暟鎻?#26473;颁綅浜Apache?#30056;瑁呯洰?#32141;?#27537;/conf鐩綍涓嬬殑涓涓?#37721;workers.properties鏂囦欢涓紝mod_jk涓鑸?#28003;跨敤ajp13鍗?#29825;?#26473;炴帴?#32029;浣跨敤?#27537;鏄痶omcat?#27537;8009绔?#37721;?銆?br /> workers.properties鏂囦欢鍐?#28729;?#28641;?#28051;嬶細<br /> <div style="font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; border-image: initial; padding-right: 5px; padding-bottom: 4px; padding-left: 4px; padding-top: 4px; width: 98%; word-break: break-all; background-color: #eeeeee; "><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> -->workers.tomcat_home=D:/Program Files/Apache Software Foundation/Tomcat 6.0<br /> workers.java_home=D:/Program Files/Java/jdk1.6.0_25<br /> ps=/<br /> worker.list=ajp13<br /> worker.ajp13.port=8009<br /> worker.ajp13.host=localhost<br /> worker.ajp13.type=ajp13</div> <p>閲?#37722;痶omcat鍜宎pache?#32029;灏?#37721;?#28000;?#38315;?#26473;http://localhost/composite ?#28533;璁块棶涓?#26916;?#27996;?#37510;?nbsp;</p> <p> </p> <p> </p> </div><img src ="http://www.5432034.com/supercrsky/aggbug/390807.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.5432034.com/supercrsky/" target="_blank">銆?#28051;婂?#21230;嫢姘?#37510;?/a> 2012-11-05 14:24 <a href="http://www.5432034.com/supercrsky/archive/2012/11/05/390807.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>MyEclipse灏嗘櫘閫歫ava椤?#37929;?#26462;崲鎴怣aven椤?#37929;?/title><link>http://www.5432034.com/supercrsky/articles/387494.html</link><dc:creator>銆?#28051;婂?#21230;嫢姘?#37510;?/dc:creator><author>銆?#28051;婂?#21230;嫢姘?#37510;?/author><pubDate>Tue, 11 Sep 2012 10:37:00 GMT</pubDate><guid>http://www.5432034.com/supercrsky/articles/387494.html</guid><wfw:comment>http://www.5432034.com/supercrsky/comments/387494.html</wfw:comment><comments>http://www.5432034.com/supercrsky/articles/387494.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.5432034.com/supercrsky/comments/commentRss/387494.html</wfw:commentRss><trackback:ping>http://www.5432034.com/supercrsky/services/trackbacks/387494.html</trackback:ping><description><![CDATA[鎵?#23534;涓涓櫘閫氱殑java project?#32029;鍦?#26916;?#37929;?#37722;嶇涓?#38344;偣鍑?#37721;抽敭?#32029;濡?#28051;嬪浘?#22669;绀猴細<br /><img src="http://www.baidupcs.com/thumbnail/blog%E4%B8%93%E7%94%A8%E5%9B%BE%E7%89%87/6.jpg?fid=3825549198-250528-2761654919&time=1347356527&sign=FPDTAE-DCb740ccc5511e5e8fedcff06b081203-OgK%2BeR%2ByW8sLqeqe9HZqPeDYpRs%3D&expires=8h&digest=a338661961c7fac49311af120d6e4926&size=c850_u580&quality=100" width="542" height="580" alt="" /><br />婵娲籑aven鍚庯紝鏄剧濡?#28051;嬶細<br /><img src="http://www.baidupcs.com/file/blog%E4%B8%93%E7%94%A8%E5%9B%BE%E7%89%87/7.jpg?fid=3825549198-250528-825141868&time=1347356479&sign=FPDTAE-DCb740ccc5511e5e8fedcff06b081203-CMJl5LMg0Qmi2O1JN%2FM9vzfhGt4%3D&expires=1h&digest=4328bc028aae31fd3382ebfefbb83d6a" alt="" /><br /><div>?#20579;鍑?#28729;?#37812;?#28751;?#37722;?#28751;?#28751;嗘櫘閫氱殑java project杞崲鎴恗aven project浜?#37510;?br />杩?#38322;?#37812;戜滑瑕?#37813;嬪姩鍒涘缓src/main/java,src/test/java 鐩綍銆?br /><img src="http://www.baidupcs.com/file/blog%E4%B8%93%E7%94%A8%E5%9B%BE%E7%89%87/8.jpg?fid=3825549198-250528-3988465976&time=1347356907&sign=FPDTAE-DCb740ccc5511e5e8fedcff06b081203-vhcwzmpIPg1Jeaf5HPKyrBpGkzA%3D&expires=1h&digest=2b4492fc412039b144f00f8568c9a830" alt="" /></div><img src="http://www.baidupcs.com/thumbnail/blog%E4%B8%93%E7%94%A8%E5%9B%BE%E7%89%87/8.jpg?fid=3825549198-250528-3988465976&time=1347359325&sign=FPDTAE-DCb740ccc5511e5e8fedcff06b081203-QhweiUruUROW66kgbvKcbsyOtSc%3D&expires=8h&digest=2b4492fc412039b144f00f8568c9a830&size=c850_u580&quality=100" alt="" /><br /><img src="http://www.baidupcs.com/thumbnail/blog%E4%B8%93%E7%94%A8%E5%9B%BE%E7%89%87/9.jpg?fid=3825549198-250528-3799958471&time=1347359364&sign=FPDTAE-DCb740ccc5511e5e8fedcff06b081203-%2FvHGeECKRguWjm5G7kPjczbh0WA%3D&expires=8h&digest=54f3ae58610086c6dafa29b15ef1a58f&size=c850_u580&quality=100" alt="" /><br />?#22476;杩?#28051;姝紝鍓?#28051;嬬殑?#25655;浣?#28751;卞拰涓?#28051;鍥?#29831;村埌?#27537;?#25655;浣?#28051;鏍?#27996;?#37510;?#37812;戜滑?#21403;娣?#37716;Junit渚濊禆?#32029;鍐嶅啓涓涓?#23092;?#29831;曠被<br />灏?#37721;?#28000;?#26473;?#29723;宮aven test浜?#37510;?br /><br /><img src ="http://www.5432034.com/supercrsky/aggbug/387494.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.5432034.com/supercrsky/" target="_blank">銆?#28051;婂?#21230;嫢姘?#37510;?/a> 2012-09-11 18:37 <a href="http://www.5432034.com/supercrsky/articles/387494.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>浣跨敤MyEclipse鏋勫缓MAVEN椤?#37929;?/title><link>http://www.5432034.com/supercrsky/articles/387462.html</link><dc:creator>銆?#28051;婂?#21230;嫢姘?#37510;?/dc:creator><author>銆?#28051;婂?#21230;嫢姘?#37510;?/author><pubDate>Tue, 11 Sep 2012 06:25:00 GMT</pubDate><guid>http://www.5432034.com/supercrsky/articles/387462.html</guid><wfw:comment>http://www.5432034.com/supercrsky/comments/387462.html</wfw:comment><comments>http://www.5432034.com/supercrsky/articles/387462.html#Feedback</comments><slash:comments>9</slash:comments><wfw:commentRss>http://www.5432034.com/supercrsky/comments/commentRss/387462.html</wfw:commentRss><trackback:ping>http://www.5432034.com/supercrsky/services/trackbacks/387462.html</trackback:ping><description><![CDATA[杩?#38322;岀敤?#27537;鏄疢yEclpise?#27537;鑷?#29999;殑MAVEN鎻掍欢銆?br /> Maven鏈濂?#38320;嶇疆鎴愪綘鑷?#23480;卞畨瑁呯殑閭?#28051;紝MyEclipse鑷?#29999;細鏈?#27996;?#29825;Bug銆?br /><img src="http://www.5432034.com/images/blogjava_net/supercrsky/1.JPG" width="689" height="360" alt="" /><br /><br /> ?#25956;nexus浠?#37918;Maven?#27537;涓?#28598;?#28000;撳簱?#32029;setting.xml?#27537;閰嶇疆鏂囦欢淇敼鍐?#28729;?#28641;?#28051;嬶細<br /> <div style="font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; border-image: initial; padding-right: 5px; padding-bottom: 4px; padding-left: 4px; padding-top: 4px; width: 98%; word-break: break-all; background-color: #eeeeee; "><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #0000FF; "><</span><span style="color: #800000; ">mirrors</span><span style="color: #0000FF; ">></span><br />      <span style="color: #0000FF; "><</span><span style="color: #800000; ">mirror</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">id</span><span style="color: #0000FF; ">></span>nexus<span style="color: #0000FF; "></</span><span style="color: #800000; ">id</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">mirrorOf</span><span style="color: #0000FF; ">></span>*<span style="color: #0000FF; "></</span><span style="color: #800000; ">mirrorOf</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">name</span><span style="color: #0000FF; ">></span>Nexus Mirror<span style="color: #0000FF; "></</span><span style="color: #800000; ">name</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">url</span><span style="color: #0000FF; ">></span>http://localhost:8081/nexus/content/groups/public<span style="color: #0000FF; "></</span><span style="color: #800000; ">url</span><span style="color: #0000FF; ">></span><br />      <span style="color: #0000FF; "></</span><span style="color: #800000; ">mirror</span><span style="color: #0000FF; ">></span><br />   <span style="color: #0000FF; "></</span><span style="color: #800000; ">mirrors</span><span style="color: #0000FF; ">></span><br />   <br />   <span style="color: #0000FF; "><</span><span style="color: #800000; ">profiles</span><span style="color: #0000FF; ">></span><br />      <span style="color: #0000FF; "><</span><span style="color: #800000; ">profile</span><span style="color: #0000FF; ">></span><br />       <span style="color: #0000FF; "><</span><span style="color: #800000; ">id</span><span style="color: #0000FF; ">></span>nexus<span style="color: #0000FF; "></</span><span style="color: #800000; ">id</span><span style="color: #0000FF; ">></span><br />       <span style="color: #0000FF; "><</span><span style="color: #800000; ">repositories</span><span style="color: #0000FF; ">></span><br />         <span style="color: #0000FF; "><</span><span style="color: #800000; ">repository</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">id</span><span style="color: #0000FF; ">></span>central<span style="color: #0000FF; "></</span><span style="color: #800000; ">id</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">url</span><span style="color: #0000FF; ">></span>http://central<span style="color: #0000FF; "></</span><span style="color: #800000; ">url</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">releases</span><span style="color: #0000FF; ">><</span><span style="color: #800000; ">enabled</span><span style="color: #0000FF; ">></span>true<span style="color: #0000FF; "></</span><span style="color: #800000; ">enabled</span><span style="color: #0000FF; ">></</span><span style="color: #800000; ">releases</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">snapshots</span><span style="color: #0000FF; ">><</span><span style="color: #800000; ">enabled</span><span style="color: #0000FF; ">></span>true<span style="color: #0000FF; "></</span><span style="color: #800000; ">enabled</span><span style="color: #0000FF; ">></</span><span style="color: #800000; ">snapshots</span><span style="color: #0000FF; ">></span><br />         <span style="color: #0000FF; "></</span><span style="color: #800000; ">repository</span><span style="color: #0000FF; ">></span><br />       <span style="color: #0000FF; "></</span><span style="color: #800000; ">repositories</span><span style="color: #0000FF; ">></span><br />      <span style="color: #0000FF; "><</span><span style="color: #800000; ">pluginRepositories</span><span style="color: #0000FF; ">></span><br />         <span style="color: #0000FF; "><</span><span style="color: #800000; ">pluginRepository</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">id</span><span style="color: #0000FF; ">></span>central<span style="color: #0000FF; "></</span><span style="color: #800000; ">id</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">url</span><span style="color: #0000FF; ">></span>http://central<span style="color: #0000FF; "></</span><span style="color: #800000; ">url</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">releases</span><span style="color: #0000FF; ">><</span><span style="color: #800000; ">enabled</span><span style="color: #0000FF; ">></span>true<span style="color: #0000FF; "></</span><span style="color: #800000; ">enabled</span><span style="color: #0000FF; ">></</span><span style="color: #800000; ">releases</span><span style="color: #0000FF; ">></span><br />           <span style="color: #0000FF; "><</span><span style="color: #800000; ">snapshots</span><span style="color: #0000FF; ">><</span><span style="color: #800000; ">enabled</span><span style="color: #0000FF; ">></span>true<span style="color: #0000FF; "></</span><span style="color: #800000; ">enabled</span><span style="color: #0000FF; ">></</span><span style="color: #800000; ">snapshots</span><span style="color: #0000FF; ">></span><br />         <span style="color: #0000FF; "></</span><span style="color: #800000; ">pluginRepository</span><span style="color: #0000FF; ">></span><br />       <span style="color: #0000FF; "></</span><span style="color: #800000; ">pluginRepositories</span><span style="color: #0000FF; ">></span><br />     <span style="color: #0000FF; "></</span><span style="color: #800000; ">profile</span><span style="color: #0000FF; ">></span><br />   <span style="color: #0000FF; "></</span><span style="color: #800000; ">profiles</span><span style="color: #0000FF; ">></span><br />   <span style="color: #0000FF; "><</span><span style="color: #800000; ">activeProfiles</span><span style="color: #0000FF; ">></span><br />     <span style="color: #0000FF; "><</span><span style="color: #800000; ">activeProfile</span><span style="color: #0000FF; ">></span>nexus<span style="color: #0000FF; "></</span><span style="color: #800000; ">activeProfile</span><span style="color: #0000FF; ">></span><br />   <span style="color: #0000FF; "></</span><span style="color: #800000; ">activeProfiles</span><span style="color: #0000ff; ">></span></div> <span style="font-size: 13px; background-color: #eeeeee; ">http://localhost:8081/nexus/content/groups/public</span> 鏄?#28000;撳簱缁勭殑鍦板潃銆?br /> 鎵?#28051;婱yEclipse鏂板缓宸?#32459;嬬殑?#26219;闈紝閫夋嫨Maven涓嬬殑Maven Project?#32029;鎵?#23534;濡?#28051;嬪?#21095;殑鍚?#28725;|細<br /><img src="http://www.5432034.com/images/blogjava_net/supercrsky/2.JPG" width="644" height="563" alt="" /><br /> 杩?#38322;?#37812;戜滑瑕?#38315;?#28051;create a simple project銆?br /> ?#20579;鍑?#28051;?#28051;姝紝濉?#37712;GAV鐩?#37711;冲唴瀹?#37510;?br /><img src="http://www.5432034.com/images/blogjava_net/supercrsky/3.JPG" width="629" height="561" alt="" /><br /> ?#20579;鍑?#28729;?#37812;?#37722;庯紝鎴戜滑灏?#23480;?#32513;?#37812;?#37716;?#37714;涘缓浜?#28051;涓狹aven project浜?#37510;?br /> 宸?#32459;嬬殑榛樿鐩綍缁撴瀯濡?#28051;嬶細<br /> <br /><img src="http://www.5432034.com/images/blogjava_net/supercrsky/4.JPG" width="263" height="174" alt="" /><br />?#22669;鏈夌殑Java婧?#37826;囦欢閮?#29781;佸啓鍦src/main/java鐩綍涓嬶紝?#22669;鏈夌殑娴?#29831;曠被閮?#29781;佸啓鍦src/test/java涓?#38344;紝杩?#37828;疢aven?#27537;榛樿鍊?#37510;?br />姝?#37827;?pom.xml閲?#37721;?#37832;?#27035;樿?#27537;灞炴?br /><div style="font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; border-image: initial; padding-right: 5px; padding-bottom: 4px; padding-left: 4px; padding-top: 4px; width: 98%; word-break: break-all; background-color: #eeeeee; "><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #0000FF; "><</span><span style="color: #800000; ">project </span><span style="color: #FF0000; ">xmlns</span><span style="color: #0000FF; ">="http://maven.apache.org/POM/4.0.0"</span><span style="color: #FF0000; "> xmlns:xsi</span><span style="color: #0000FF; ">="http://www.w3.org/2001/XMLSchema-instance"</span><span style="color: #FF0000; "> xsi:schemaLocation</span><span style="color: #0000FF; ">="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"</span><span style="color: #0000FF; ">></span><br />  <span style="color: #0000FF; "><</span><span style="color: #800000; ">modelVersion</span><span style="color: #0000FF; ">></span>4.0.0<span style="color: #0000FF; "></</span><span style="color: #800000; ">modelVersion</span><span style="color: #0000FF; ">></span><br />  <span style="color: #0000FF; "><</span><span style="color: #800000; ">groupId</span><span style="color: #0000FF; ">></span>com.test<span style="color: #0000FF; "></</span><span style="color: #800000; ">groupId</span><span style="color: #0000FF; ">></span><br />  <span style="color: #0000FF; "><</span><span style="color: #800000; ">artifactId</span><span style="color: #0000FF; ">></span>test<span style="color: #0000FF; "></</span><span style="color: #800000; ">artifactId</span><span style="color: #0000FF; ">></span><br />  <span style="color: #0000FF; "><</span><span style="color: #800000; ">version</span><span style="color: #0000FF; ">></span>0.0.1-SNAPSHOT<span style="color: #0000FF; "></</span><span style="color: #800000; ">version</span><span style="color: #0000FF; ">></span><br /><span style="color: #0000FF; "></</span><span style="color: #800000; ">project</span><span style="color: #0000ff; ">></span></div>杩?#37828;?#37832;绮剧畝?#27537;pom.xml浜?#37510;?br />杩?#37827;?#37812;戜滑鍔?#37711;junit?#27537;鏀?#37816;侊紝鏂板缓涓涓?#23092;?#29831;曠被銆?br />鍦?#26916;?#37929;?#28051;?#37721;抽敭Maven-Add Dependency?#32029;鏄剧濡?#28051;嬬晫闈細<br /><img src="http://www.5432034.com/images/blogjava_net/supercrsky/6.jpg" width="661" height="707" alt="" /><br />杈?#37711;junit鍔?#37711;?#23092;?#29831;?#37824;?#37816;佺被搴?#37510;?br />鍦src/test/java涓嬫?#26495;缓涓涓?#23092;?#29831;曠被濡?#28051;嬶細<br /><div style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; border-image: initial; padding-right: 5px; padding-bottom: 4px; padding-left: 4px; padding-top: 4px; width: 98%; word-break: break-all; background-color: #eeeeee; "><div>package com;</div><div></div><div>import org.junit.Test;</div><div></div><div>public class TestRun</div><div>{</div><div><span style="white-space:pre"> </span>@Test</div><div><span style="white-space:pre"> </span>public void testA()</div><div><span style="white-space:pre"> </span>{</div><div><span style="white-space:pre"> </span>System.out.println("test a method ");</div><div><span style="white-space:pre"> </span>}</div><div></div><div><span style="white-space:pre"> </span>@Test</div><div><span style="white-space:pre"> </span>public void testB()</div><div><span style="white-space:pre"> </span>{</div><div><span style="white-space:pre"> </span>System.out.println("test b method ");</div><div><span style="white-space:pre"> </span>}</div><div>}</div></div>鍙抽敭Run As ----- Maven test?#32029;杩?#29723;?#23092;?#29831;曪紝鏄剧缁撴灉濡?#28051;嬶細<br /><br /><br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><br />[INFO] Scanning <span style="color: #0000FF; ">for</span> projects<img src="http://www.5432034.com/Images/dot.gif" alt="" /><br />[INFO]                                                                         <br />[INFO] ------------------------------------------------------------------------<br />[INFO] Building test 0.0.1-SNAPSHOT<br />[INFO] ------------------------------------------------------------------------<br />[INFO] <br />[INFO] --- maven-resources-plugin:2.5:resources (<span style="color: #0000FF; ">default</span>-resources) @ test ---<br />[debug] execute contextualize<br />[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!<br />[INFO] Copying 0 resource<br />[INFO] <br />[INFO] --- maven-compiler-plugin:2.3.2:compile (<span style="color: #0000FF; ">default</span>-compile) @ test ---<br />[INFO] Nothing to compile - all classes are up to date<br />[INFO] <br />[INFO] --- maven-resources-plugin:2.5:testResources (<span style="color: #0000FF; ">default</span>-testResources) @ test ---<br />[debug] execute contextualize<br />[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!<br />[INFO] Copying 0 resource<br />[INFO] <br />[INFO] --- maven-compiler-plugin:2.3.2:testCompile (<span style="color: #0000FF; ">default</span>-testCompile) @ test ---<br />[INFO] Nothing to compile - all classes are up to date<br />[INFO] <br />[INFO] --- maven-surefire-plugin:2.10:test (<span style="color: #0000FF; ">default</span>-test) @ test ---<br />[INFO] Surefire report directory: D:\workspace\test\target\surefire-reports<br /><br />-------------------------------------------------------<br /> T E S T S<br />-------------------------------------------------------<br />Running com.TestRun<br />test a method <br />test b method <br />Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec<br /><br />Results :<br /><br />Tests run: 2, Failures: 0, Errors: 0, Skipped: 0<br /><br />[INFO] ------------------------------------------------------------------------<br />[INFO] BUILD SUCCESS<br />[INFO] ------------------------------------------------------------------------<br />[INFO] Total time: 1.847s<br />[INFO] Finished at: Tue Sep 11 14:20:59 CST 2012<br />[INFO] Final Memory: 3M/6M<br />[INFO] ------------------------------------------------------------------------</div>ok,涓涓熀鏈殑maven椤?#37929;?#23480;?#32513;?#37835;勫缓瀹?#37812;?#37510;?#37812;戜滑杩?#37721;?#28000;?#28751;?#37916;?#28699;樼殑java椤?#37929;?#37714;敤myclipse鏂逛?#36328;殑杞崲鎴恗aven project?#32029;姝?#38318;?#37714;嗗唴瀹?#37812;戜滑鍦?#28051;?#28051;鑺?#38322;岃璁?#37510;?img src ="http://www.5432034.com/supercrsky/aggbug/387462.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.5432034.com/supercrsky/" target="_blank">銆?#28051;婂?#21230;嫢姘?#37510;?/a> 2012-09-11 14:25 <a href="http://www.5432034.com/supercrsky/articles/387462.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>SQL Server 鏃犳硶鐢?#37812;?FRunCM 绾?#32459;?#37510;?#29831;?#37836;湅 SQL Server 閿?#29831;?#37827;?#36423;楀拰 Windows 浜嬩欢鏃?#36423;?/title><link>http://www.5432034.com/supercrsky/articles/384283.html</link><dc:creator>銆?#28051;婂?#21230;嫢姘?#37510;?/dc:creator><author>銆?#28051;婂?#21230;嫢姘?#37510;?/author><pubDate>Mon, 30 Jul 2012 01:37:00 GMT</pubDate><guid>http://www.5432034.com/supercrsky/articles/384283.html</guid><wfw:comment>http://www.5432034.com/supercrsky/comments/384283.html</wfw:comment><comments>http://www.5432034.com/supercrsky/articles/384283.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.5432034.com/supercrsky/comments/commentRss/384283.html</wfw:commentRss><trackback:ping>http://www.5432034.com/supercrsky/services/trackbacks/384283.html</trackback:ping><description><![CDATA[<div><span style="font-size: 12pt; ">鍓嶈?#32048;</span></div><div><span style="font-size: 12pt; ">浠婂閬囧埌杩?#28051;sql鏈嶅姟鏃犳硶鍚敤 銆傛?#29363;硶鐧?#38340;??#27537;鎯呭喌銆?#37510;?#37734;google 鐧?#25652;?鎼?#27996;?#28051;涓?#37510;?#37721;戠幇寰?#28598;?#32515;戠珯閮?#37828;?#38322;囬泦?#28533;?#27537;?#26271;鎹?#37510;?#37510;傦紙寰堝?#22248;?#26473;?#27996;?#38322;囬?#21977;珯閮介偅涔?#38344;?#37715;?#38171;?#38171;?/span></div><div><span style="font-size: 12pt; ">鐓潃鏂?#32468;?#38322;?#26440;圭殑鏂规硶鍘?#29831;?#29831;?#38318;?#28051;?#29723;岋紝?#32029;?#32029;鍚庢潵缁?#27996;?#37813;惧埌涓涓?#37510;?#37510;傝?#26495;綍鍐?#28051;?銆?鍘?#37826;?#26462;?#38007;??#32048;http://www.networkquestions.org/?p=389 ?#32029;鎰?#29835;?#28051;涓嬪師浣?#38000;呯殑杈?#38011;?#37510;?/span></div><div><span style="font-size: 12pt; ">鏈?#37734;?#29825;?#32480;?#37832;?#28051;殑MSSQLSERVER鏈嶅姟鍚?#37716;?#37722;?#37721;堝仠姝?#27996;?#37510;?#28051;浜?#37832;嶅姟鑷?#37716;?#37707;?#23005;紝濡傛灉瀹冧滑?#30149;鏈?#28000;涔?#37721;?#37707;氱殑?#32029;渚嬪“鎬?#38003;?#37827;?#36423;楀?#23683;鎶?#8221;鏈嶅姟銆?/span></div><div><span style="font-size: 12pt; ">鎵?#23534;鏃?#36423;?#37836;?#37930;嬪櫒寮濮嬬?#23339;蹇楋細</span></div><div><span style="font-size: 12pt; ">SQL Server 鏃犳硶鐢?#37812;?FRunCM 绾?#32459;?#37510;?#29831;?#37836;湅 SQL Server 閿?#29831;?#37827;?#36423;楀拰 Windows 浜嬩欢鏃?#36423;楋紝?#24143;鍙?#37832;?#37711;?#37721;?#38003;?#37721;戠敓?#27537;鐩?#37711;抽棶樼殑淇伅銆?/span></div><div><span style="font-size: 12pt; ">鐢?#27996;庣?#25120;粶搴?#28051;?#28699;?#37734;?#37712;?#38318;?#38335;?#29831;紝?#22669;浠?#37827;犳硶鍚?#37716;?#32515;戠粶搴?#37510;?#29781;佺瀹氬?#29111;?#29381;紝璇?#37836;湅閿?#29831;?#37827;?#36423;?#28051;揣浣?#27996;?#23005;?#38335;?#29831;?#28052;嬪?#23943;殑閭?#27996;?#38335;?#29831;?#37510;?/span></div><div><span style="font-size: 12pt; ">TDSSNIClient 鍒濆?#23338;?#26663;璐紝鍑?#37916;?#38335;?#29831;?0x7e?#32029;?#23032;鎬?#28000;爜 0×1銆?/span></div><div><span style="font-size: 12pt; ">?#24116;?#28483;鏌湅SQL鏃?#36423;?(MSSQL.1MSSQLLOG)</span></div><div><span style="font-size: 12pt; ">鍙?#28000;?#37714;?#28729;紝鍙?#38003;?#37828;?#28000;?#28051;嬪涓棶题細</span></div><div><span style="font-size: 12pt; ">1銆両P鍦板潃閰嶇疆涓?#23005;?#32429;細</span></div><div><span style="font-size: 12pt; ">鎵?#23534; Microsoft SQL Server 2005閰嶇疆宸?#37711;?#28051;嬬殑SQL Server Configuration Manager?#32029;閫夋嫨MSSQLSERVER鍗?#29825;? 鐒?#37722;?#37721;屽嚮鍙?#26440;圭鍙殑TCP/IP?#32029;鍦?#23534;?#37713;虹鍙?#28051;检鏌IP閰嶇疆銆?/span></div><div><span style="font-size: 12pt; ">2銆?#37721;?#38003;?#37828;?#37733;?#28051;VIA鍗?#29825;?#37722;敤閫?#37812;愮殑銆?#29785;?#37712;?#37826;规硶濡?#28051;嬶細</span></div><div><span style="font-size: 12pt; ">鍙?#28598;紝绠?#37918;嗗憳瀵嗙爜淇敼涔熶細閫?#37812;sqlserver鏈嶅姟鏃犳硶鍚?#37716;?#37510;?#29785;?#37712;?#37826;规硶濡?#28051;嬶細</span></div><div><span style="font-size: 12pt; ">鎵?#23534; Microsoft SQL Server 2005閰嶇疆宸?#37711;?#28051;嬬殑SQL Server Configuration Manager?#32029;鍦MSSQLSERVER鏈嶅姟灞炴?#28051;紝淇敼浠摢涓?#29840;?#37721;h潵鍚?#37716;?#37832;嶅姟銆?/span></div><div><span style="font-size: 12pt; ">鎴?#37832;哄櫒鍚?#37716;?#28051;?#27996;?#37832;嶅姟?#27537;鍘熷洜灏?#37828;?#37722;敤浜?“VIA”鏈嶅姟?#32029;佺敤鍚庯紝OK浜?#37510;?/span></div><img src ="http://www.5432034.com/supercrsky/aggbug/384283.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.5432034.com/supercrsky/" target="_blank">銆?#28051;婂?#21230;嫢姘?#37510;?/a> 2012-07-30 09:37 <a href="http://www.5432034.com/supercrsky/articles/384283.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>Spring mongodb 涔嬬畝?#23839;CRUDhttp://www.5432034.com/supercrsky/articles/382858.html銆?#28051;婂?#21230;嫢姘?#37510;?/dc:creator>銆?#28051;婂?#21230;嫢姘?#37510;?/author>Thu, 12 Jul 2012 02:42:00 GMThttp://www.5432034.com/supercrsky/articles/382858.htmlhttp://www.5432034.com/supercrsky/comments/382858.htmlhttp://www.5432034.com/supercrsky/articles/382858.html#Feedback0http://www.5432034.com/supercrsky/comments/commentRss/382858.htmlhttp://www.5432034.com/supercrsky/services/trackbacks/382858.htmlhttp://www.mkyong.com/mongodb/  
?#25956;MyEclipse娣?#37716;maven-Project宸?#32459;嬶紝鍦?#26473;?#28052;嬪?#23940;綘鍙?#38003;?#38343;瑕?#38320;嶇疆?#32152;?#27537;m2eclipse
1.灏唌aven閰嶇疆鎴愪綘鑷?#23480;卞畨瑁呯殑鐗?#37832;?#37510;?br />

2.璁剧疆User Settings
?#32139;鐒?#28052;?#37721;?#28000;?#28103;敼浠撳簱榛樿鐩綍?#32029;鎵搈aven?#30056;瑁呯洰?#32141;conf/setting.xml
鍦?lt;settings>鑺傜偣閲?br />娣?#37716;狅細<localRepository>d:/myrepository</localRepository>鍗?#37721;?br />

pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.test</groupId>
  <artifactId>mongodb</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <name>springmongodb</name>
  <description>This is test case</description>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.6</source>
          <target>1.6</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
  
  <repositories>
        <repository>
            <id>spring-milestone</id>
            <name>Spring Maven MILESTONE Repository</name>
            <url>http://maven.springframework.org/milestone</url>
        </repository>
    </repositories>
 
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.8.2</version>
            <scope>test</scope>
        </dependency>
 
        <!-- Spring framework -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>3.0.5.RELEASE</version>
        </dependency>
 
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>3.0.5.RELEASE</version>
        </dependency>
 
        <!-- mongodb java driver -->
        <dependency>
            <groupId>org.mongodb</groupId>
            <artifactId>mongo-java-driver</artifactId>
            <version>2.5.2</version>
        </dependency>
 
        <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-mongodb</artifactId>
            <version>1.0.0.M2</version>
        </dependency>
 
        <dependency>
            <groupId>cglib</groupId>
            <artifactId>cglib</artifactId>
            <version>2.2</version>
        </dependency>
 
    </dependencies>
    
</project>
鍐?#28729;pom.xml鍚庯紝鎵?#29723;?椤?#37929;?鍙抽敭-run-maven install 
涓?#26462;?#28729;宩ar鍖咃紝Test 鎴?#37716;?#37722;庯紝灏?#37721;?#28000;?#37712;欎唬?#29212;浜?#37510;?br />SpringMongoConfig.java
package com.config;

import org.springframework.context.annotation.Bean;
import org.springframework.data.document.mongodb.MongoTemplate;
import org.springframework.data.document.mongodb.config.AbstractMongoConfiguration;

import com.mongodb.Mongo;

public class SpringMongoConfig extends AbstractMongoConfiguration
{
    //涓?#37832;?/span>
    @Override
    public Mongo mongo() throws Exception {
        return new Mongo("localhost");
    }
    //?#26271;鎹?#25652;?/span>
    @Override
    public @Bean MongoTemplate mongoTemplate() throws Exception {
        return new MongoTemplate(mongo(), "test");
    }

}
瀹炰綋?#34987;:
package entity;

import java.util.List;

public class User
{

    private String id;
    private String username;
    private String password;
    //鏂囨涓殑?#27878;鍚?/span>
    private List<String> position;

    // 瑕?#37832;夊?#29256;槑榛樿?#27537;鏋?#38315;?#37826;规硶?#32029;涓嶇劧鏌?#29831;殑鏃跺欎細鎶?#38335;?鏃犳硶瀹?#28186;嬪)
    public User()
    {

    }

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getUsername()
    {
        return username;
    }

    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public List<String> getPosition()
    {
        return position;
    }

    public void setPosition(List<String> position)
    {
        this.position = position;
    }

    public User(String id, String username, String password,
            List<String> position)
    {
        super();
        this.id = id;
        this.username = username;
        this.password = password;
        this.position = position;
    }

    public User(String username, String password, List<String> position)
    {
        super();
        this.username = username;
        this.password = password;
        this.position = position;
    }

}
娴?#29831;曠被:
package run;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Set;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.data.document.mongodb.MongoOperations;
import org.springframework.data.document.mongodb.query.Criteria;
import org.springframework.data.document.mongodb.query.Query;
import org.springframework.data.document.mongodb.query.Update;

import com.config.SpringMongoConfig;

import entity.User;

public class App
{
    private ApplicationContext ctx = new AnnotationConfigApplicationContext(
            SpringMongoConfig.class);
    private MongoOperations mongoOperations = (MongoOperations) ctx
            .getBean("mongoTemplate");

    @Test
    public void testSave()
    {
        List<String> list = new ArrayList<String>();
        for(int i =0; i < 100; i ++)
        {
            list.add("寮鍙? + i);
            list.add("缁?#37918;? + i);
            User user = new User("John" + i,"123" + i,list);
            //绗?#28051;涓?#37721;傛暟?#32048;瑕?#28103;?#28699;樼殑琛?#37722;嶏紝榛樿涓?#28729;?#28186;嬪悕user鍚?#37722;嶇殑?#27878;鍚?琛?
            
//濡傛灉琛?#28051;嶅鍦細鑷?#37716;?#37714;涘缓, 琛?#37722;島ser涓?#37711;抽敭瀛?#28051;?#29781;?#28003;跨敤
            mongoOperations.save("userinfo", user);
            list.clear();
        }
    }

    @Test
    public void testUpdate()
    {
        mongoOperations.updateFirst("userinfo",
                new Query(Criteria.where("username").is("John0")),
                Update.update("password", "newpassword"));
    }

    @Test
    public void testDelete()
    {
        mongoOperations.remove("userinfo",new Query(Criteria.where("id").is("4ffe3486b41f8ed41269a729")),User.class);
    }

    @Test
    public void testQuery()
    {
        //杈撳?#28888;墍鏈夎鍚?/span>
        Set<String> set = mongoOperations.getCollectionNames();
        Iterator<String> it =  set.iterator();
        while(it.hasNext())
        {
            System.out.println(it.next());
        }
        //user:瑕佹煡璇殑琛?#37722;?/span>
        List<User> users = mongoOperations.getCollection("userinfo", User.class);
        System.out.println(users.size());
        for(User u : users)
        {
            System.out.println(u.getId());
        }
    }

}



]]>
Eclipse涔婱aven3璁剧疆Repositoryhttp://www.5432034.com/supercrsky/articles/382797.html銆?#28051;婂?#21230;嫢姘?#37510;?/dc:creator>銆?#28051;婂?#21230;嫢姘?#37510;?/author>Wed, 11 Jul 2012 06:44:00 GMThttp://www.5432034.com/supercrsky/articles/382797.htmlhttp://www.5432034.com/supercrsky/comments/382797.htmlhttp://www.5432034.com/supercrsky/articles/382797.html#Feedback0http://www.5432034.com/supercrsky/comments/commentRss/382797.htmlhttp://www.5432034.com/supercrsky/services/trackbacks/382797.html1銆?淇敼%M3_HOME%\conf\setting.xml

<localRepository>d:/myrepository</localRepository>
2.鎵?#23534;MyEclispe,鏇?#37826;?#28051;嬪氨鑳?#37930;嬪埌鍒?#37813;嶇殑璁剧疆浜?#37510;?br />



鍙?#38340;?#28051;?#28051;?#29863;勬?#24876;簱鍦板潃?#32048;

maven lib repo

http://repo1.maven.org/maven2/

 

JAR Search

http://www.findjar.com/index.x





]]>
mongodb涔媕ava CRUD 绠?#23839;?#25655;浣?/title><link>http://www.5432034.com/supercrsky/articles/382510.html</link><dc:creator>銆?#28051;婂?#21230;嫢姘?#37510;?/dc:creator><author>銆?#28051;婂?#21230;嫢姘?#37510;?/author><pubDate>Sun, 08 Jul 2012 02:25:00 GMT</pubDate><guid>http://www.5432034.com/supercrsky/articles/382510.html</guid><wfw:comment>http://www.5432034.com/supercrsky/comments/382510.html</wfw:comment><comments>http://www.5432034.com/supercrsky/articles/382510.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.5432034.com/supercrsky/comments/commentRss/382510.html</wfw:commentRss><trackback:ping>http://www.5432034.com/supercrsky/services/trackbacks/382510.html</trackback:ping><description><![CDATA[椹?#37716;?#37718;?#28051;?#26462;斤細https://github.com/mongodb/mongo-java-driver/downloads<br />鎴?#28051;?#26462;界殑鏄?nbsp;<a href="https://github.com/downloads/mongodb/mongo-java-driver/mongo-2.8.0.jar" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; color: #4183c4; text-decoration: none; ">mongo-2.8.0.jar</a> — Version 2.8.0<br />鎵?#23534;mongo shell -- 鏂板?#28888;暟鎹?#25652;搕est --( use test)<br />鎵?#23534;eclipse鏂板缓宸?#32459;嬶紝鎶junit,mongo-2.8.0.jar瀵煎叆銆?br />鏂板缓娴?#29831;曠被濡?#28051;嬶細<br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #0000FF; ">package</span> com.db;<br /><br /><span style="color: #0000FF; ">import</span> java.net.UnknownHostException;<br /><span style="color: #0000FF; ">import</span> java.util.ArrayList;<br /><span style="color: #0000FF; ">import</span> java.util.List;<br /><br /><span style="color: #0000FF; ">import</span> org.bson.types.ObjectId;<br /><span style="color: #0000FF; ">import</span> org.junit.After;<br /><span style="color: #0000FF; ">import</span> org.junit.Test;<br /><br /><span style="color: #0000FF; ">import</span> com.mongodb.BasicDBObject;<br /><span style="color: #0000FF; ">import</span> com.mongodb.DB;<br /><span style="color: #0000FF; ">import</span> com.mongodb.DBCollection;<br /><span style="color: #0000FF; ">import</span> com.mongodb.DBCursor;<br /><span style="color: #0000FF; ">import</span> com.mongodb.DBObject;<br /><span style="color: #0000FF; ">import</span> com.mongodb.Mongo;<br /><span style="color: #0000FF; ">import</span> com.mongodb.MongoException;<br /><br /><span style="color: #0000FF; ">public</span> <span style="color: #0000FF; ">class</span> DBUtils {<br />    <span style="color: #0000FF; ">private</span> <span style="color: #0000FF; ">static</span> Mongo mongo;<br />    <span style="color: #0000FF; ">private</span> <span style="color: #0000FF; ">static</span> DB db;<br />    <span style="color: #0000FF; ">static</span> {<br />        <span style="color: #0000FF; ">try</span> {<br />            mongo = <span style="color: #0000FF; ">new</span> Mongo("localhost", 27017);<br />        } <span style="color: #0000FF; ">catch</span> (UnknownHostException e) {<br />            e.printStackTrace();<br />        } <span style="color: #0000FF; ">catch</span> (MongoException e) {<br />            e.printStackTrace();<br />        }<br />        db = mongo.getDB("test");<br />    }<br /><br />    @After<br />    <span style="color: #0000FF; ">public</span> <span style="color: #0000FF; ">void</span> output() {<br />        <span style="color: #008000; ">//</span><span style="color: #008000; "> 娴?#29831;?#28729;?#37828;剧?#28888;墍鏈?/span><span style="color: #008000; "><br /></span>        DBCollection dbc = db.getCollection("user");<br />        DBCursor cursor = dbc.find();<br />        <span style="color: #0000FF; ">while</span> (cursor.hasNext()) {<br />            <span style="color: #008000; ">//</span><span style="color: #008000; "> cursor.next灏?#37828;?#28051;琛岃?#26495;綍(涓涓?#37826;囨)</span><span style="color: #008000; "><br /></span>            System.out.println(cursor.next());<br />        }<br />    }<br /><br />    @Test<br />    <span style="color: #0000FF; ">public</span> <span style="color: #0000FF; ">void</span> testInsert() <span style="color: #0000FF; ">throws</span> Exception {<br />        DBCollection dbc = db.getCollection("user");<br />        DBObject object = <span style="color: #0000FF; ">new</span> BasicDBObject();<br />        object.put("username", "zdw");<br />        object.put("password", "123");<br />        <span style="color: #008000; ">//</span><span style="color: #008000; "> 涓涓?#27996;?#37832;?#28051;涓亴浣?br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> ?#26271;鎹?#25652;搄son鏍?#23534;忥細{username:"zdw",password:"123",position:{name:"宸?#32459;嬪"}}</span><span style="color: #008000; "><br /></span>        BasicDBObject o = <span style="color: #0000FF; ">new</span> BasicDBObject();<br />        o.put("name", "缁?#37918;?);<br />        object.put("position", o);<br />        dbc.insert(object);<br /><br />        object = <span style="color: #0000FF; ">new</span> BasicDBObject();<br />        object.put("username", "zhangjun");<br />        object.put("password", "456");<br />        <span style="color: #008000; ">//</span><span style="color: #008000; "> 涓涓?#27996;?#37832;?#28598;?#28051;亴浣?涓涓?#37826;囨閲?#37832;?#28598;?#28051;?#37826;囨)<br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> ?#26271;鎹?#25652;搄son鏍?#23534;忥細{username:"zhangjun",password:"456",position:[{name:"宸?#32459;嬪"},{name:"璁?#29825;?#29999;?}]}</span><span style="color: #008000; "><br /></span>        List<Object> list = <span style="color: #0000FF; ">new</span> ArrayList<Object>();<br />        o = <span style="color: #0000FF; ">new</span> BasicDBObject();<br />        o.put("name", "宸?#32459;嬪");<br />        list.add(o);<br />        o = <span style="color: #0000FF; ">new</span> BasicDBObject();<br />        o.put("name", "璁?#29825;?#29999;?);<br />        list.add(o);<br />        object.put("position", list);<br />        dbc.insert(object);<br />    }<br /><br />    <span style="color: #008000; ">//</span><span style="color: #008000; "> 鍒?#38340;?#37816;?#28729;?/span><span style="color: #008000; "><br /></span>    @Test<br />    <span style="color: #0000FF; ">public</span> <span style="color: #0000FF; ">void</span> testRemoveOne() <span style="color: #0000FF; ">throws</span> Exception {<br />        DBCollection dbc = db.getCollection("user");<br />        DBObject o = <span style="color: #0000FF; ">new</span> BasicDBObject();<br />        o.put("username", "zhangjun");<br />        dbc.remove(o);<br />    }<br /><br />    @Test<br />    <span style="color: #0000FF; ">public</span> <span style="color: #0000FF; ">void</span> testModify() <span style="color: #0000FF; ">throws</span> Exception {<br />        DBCollection dbc = db.getCollection("user");<br />        <span style="color: #008000; ">//</span><span style="color: #008000; "> 鏍规嵁id淇敼瀵嗙爜,闇瑕佸姞$set,鍚?#37714;欐墍鏈夎?#26495;綍?#27537;password閮戒細琚?#28103;敼?#32029;?#21502;瀹?#28699;?#23048;?#37714;?#38340;?#37510;?/span><span style="color: #008000; "><br /></span>        <span style="color: #0000FF; ">int</span> result = dbc.update(<br />                        <span style="color: #0000FF; ">new</span> BasicDBObject("_id", <span style="color: #0000FF; ">new</span> ObjectId(<br />                                "4ff8eaa65dbc67340278a07c")),<br />                        <span style="color: #0000FF; ">new</span> BasicDBObject("$set", <span style="color: #0000FF; ">new</span> BasicDBObject("password",<br />                                "4444"))).getN();<br />        System.out.println(result);<br />    }<br /><br />    @Test<br />    <span style="color: #0000FF; ">public</span> <span style="color: #0000FF; ">void</span> testRemove() <span style="color: #0000FF; ">throws</span> Exception {<br />        DBCollection dbc = db.getCollection("user");<br />        <span style="color: #008000; ">//</span><span style="color: #008000; "> 鍒?#38340;?#37711;?#38318;?/span><span style="color: #008000; "><br /></span>        dbc.drop();<br />    }<br /><br />    <span style="color: #008000; ">//</span><span style="color: #008000; "> 鏌?#29831;?#37816;?#28729;?/span><span style="color: #008000; "><br /></span>    @Test<br />    <span style="color: #0000FF; ">public</span> <span style="color: #0000FF; ">void</span> testFindOne() <span style="color: #0000FF; ">throws</span> Exception {<br />        DBCollection dbc = db.getCollection("user");<br />        DBObject o = <span style="color: #0000FF; ">new</span> BasicDBObject();<br />        o.put("username", "zdw");<br />        DBObject obj = dbc.findOne(o);<br />        System.out.println(obj);<br />    }<br /><br />}</div><br />杩?#32457;key-value瀛樺偍鏂?#23534;忥紝?#25655;浣?#23536;?#37826;逛究銆?br /><a href="http://115.com/file/bevvc8fx#mongocrud.rar" title="婧愮爜涓?#26462;?>婧愮爜涓?#26462;?/a><br /><img src ="http://www.5432034.com/supercrsky/aggbug/382510.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.5432034.com/supercrsky/" target="_blank">銆?#28051;婂?#21230;嫢姘?#37510;?/a> 2012-07-08 10:25 <a href="http://www.5432034.com/supercrsky/articles/382510.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item></channel></rss> <a href="http://www.5432034.com/"><span class="STYLE1">11ѡ5ʱʱ</span></a> <div style="position:fixed;left:-9000px;top:-9000px;"><span id="ghavm"></span><font id="ghavm"><menu id="ghavm"><mark id="ghavm"><samp id="ghavm"></samp></mark></menu></font><object id="ghavm"></object><output id="ghavm"><s id="ghavm"><ol id="ghavm"></ol></s></output><rp id="ghavm"></rp><u id="ghavm"><span id="ghavm"><progress id="ghavm"><mark id="ghavm"></mark></progress></span></u><div id="ghavm"></div><option id="ghavm"></option><wbr id="ghavm"></wbr><sub id="ghavm"></sub><rp id="ghavm"></rp><li id="ghavm"><table id="ghavm"><menu id="ghavm"><sup id="ghavm"></sup></menu></table></li><samp id="ghavm"></samp><i id="ghavm"><noscript id="ghavm"><optgroup id="ghavm"></optgroup></noscript></i><dl id="ghavm"></dl><span id="ghavm"><xmp id="ghavm"><mark id="ghavm"><button id="ghavm"></button></mark></xmp></span><strike id="ghavm"><th id="ghavm"><dfn id="ghavm"></dfn></th></strike><span id="ghavm"><legend id="ghavm"></legend></span><blockquote id="ghavm"><ins id="ghavm"><option id="ghavm"></option></ins></blockquote><p id="ghavm"><track id="ghavm"><nav id="ghavm"></nav></track></p><mark id="ghavm"></mark><dl id="ghavm"></dl><nav id="ghavm"><label id="ghavm"><tr id="ghavm"><div id="ghavm"></div></tr></label></nav><ins id="ghavm"><dl id="ghavm"></dl></ins><tr id="ghavm"></tr><address id="ghavm"><menuitem id="ghavm"><output id="ghavm"><button id="ghavm"></button></output></menuitem></address><p id="ghavm"><noframes id="ghavm"></noframes></p><video id="ghavm"></video><video id="ghavm"><thead id="ghavm"></thead></video><blockquote id="ghavm"></blockquote><progress id="ghavm"><var id="ghavm"><rt id="ghavm"></rt></var></progress><thead id="ghavm"></thead><source id="ghavm"><center id="ghavm"><code id="ghavm"></code></center></source><nobr id="ghavm"><input id="ghavm"><kbd id="ghavm"><th id="ghavm"></th></kbd></input></nobr><button id="ghavm"></button><tr id="ghavm"><nobr id="ghavm"><var id="ghavm"><object id="ghavm"></object></var></nobr></tr><mark id="ghavm"><button id="ghavm"></button></mark><dd id="ghavm"></dd><ol id="ghavm"></ol><optgroup id="ghavm"></optgroup><td id="ghavm"></td><source id="ghavm"></source><span id="ghavm"><center id="ghavm"><mark id="ghavm"><u id="ghavm"></u></mark></center></span><samp id="ghavm"><kbd id="ghavm"><th id="ghavm"></th></kbd></samp><acronym id="ghavm"><form id="ghavm"><dd id="ghavm"><samp id="ghavm"></samp></dd></form></acronym><span id="ghavm"><sub id="ghavm"><mark id="ghavm"><ruby id="ghavm"></ruby></mark></sub></span><th id="ghavm"></th><pre id="ghavm"></pre><label id="ghavm"><video id="ghavm"></video></label><dd id="ghavm"></dd> <nobr id="ghavm"><var id="ghavm"><i id="ghavm"><em id="ghavm"></em></i></var></nobr><s id="ghavm"><noframes id="ghavm"><listing id="ghavm"><strong id="ghavm"></strong></listing></noframes></s><th id="ghavm"><thead id="ghavm"><b id="ghavm"></b></thead></th><ol id="ghavm"><span id="ghavm"></span></ol><ol id="ghavm"><td id="ghavm"><progress id="ghavm"><tt id="ghavm"></tt></progress></td></ol><strong id="ghavm"></strong><thead id="ghavm"><ins id="ghavm"><option id="ghavm"></option></ins></thead><ins id="ghavm"><dl id="ghavm"></dl></ins><output id="ghavm"><pre id="ghavm"></pre></output><thead id="ghavm"></thead><th id="ghavm"><menu id="ghavm"><sup id="ghavm"><track id="ghavm"></track></sup></menu></th><samp id="ghavm"><kbd id="ghavm"></kbd></samp><center id="ghavm"></center><code id="ghavm"><ol id="ghavm"><source id="ghavm"><progress id="ghavm"></progress></source></ol></code><legend id="ghavm"></legend><legend id="ghavm"><address id="ghavm"><font id="ghavm"></font></address></legend><span id="ghavm"></span><noframes id="ghavm"><code id="ghavm"></code></noframes><code id="ghavm"></code><noframes id="ghavm"><rt id="ghavm"><label id="ghavm"><legend id="ghavm"></legend></label></rt></noframes><dfn id="ghavm"></dfn><rp id="ghavm"></rp><button id="ghavm"></button><u id="ghavm"><span id="ghavm"></span></u><div id="ghavm"></div><kbd id="ghavm"></kbd><menuitem id="ghavm"></menuitem><progress id="ghavm"><mark id="ghavm"></mark></progress><acronym id="ghavm"><legend id="ghavm"><blockquote id="ghavm"></blockquote></legend></acronym><rp id="ghavm"></rp><track id="ghavm"></track><th id="ghavm"></th><tbody id="ghavm"></tbody><ins id="ghavm"><option id="ghavm"></option></ins><strong id="ghavm"></strong><font id="ghavm"><kbd id="ghavm"><legend id="ghavm"></legend></kbd></font><samp id="ghavm"></samp><wbr id="ghavm"></wbr><address id="ghavm"><table id="ghavm"><cite id="ghavm"><ruby id="ghavm"></ruby></cite></table></address><optgroup id="ghavm"></optgroup><span id="ghavm"></span><optgroup id="ghavm"></optgroup><tr id="ghavm"></tr><cite id="ghavm"><sup id="ghavm"><track id="ghavm"></track></sup></cite><wbr id="ghavm"><small id="ghavm"></small></wbr><menu id="ghavm"></menu><tbody id="ghavm"><var id="ghavm"><i id="ghavm"></i></var></tbody><u id="ghavm"></u><wbr id="ghavm"></wbr><small id="ghavm"><dfn id="ghavm"></dfn></small> <table id="ghavm"></table><mark id="ghavm"></mark><nobr id="ghavm"><var id="ghavm"></var></nobr><tbody id="ghavm"><var id="ghavm"></var></tbody><sup id="ghavm"></sup><track id="ghavm"><listing id="ghavm"><cite id="ghavm"></cite></listing></track><meter id="ghavm"><delect id="ghavm"></delect></meter><menuitem id="ghavm"><acronym id="ghavm"></acronym></menuitem><i id="ghavm"></i><legend id="ghavm"><dd id="ghavm"></dd></legend><td id="ghavm"><menuitem id="ghavm"></menuitem></td><nav id="ghavm"><cite id="ghavm"><tr id="ghavm"><track id="ghavm"></track></tr></cite></nav><listing id="ghavm"></listing><option id="ghavm"><form id="ghavm"><blockquote id="ghavm"><ruby id="ghavm"></ruby></blockquote></form></option><optgroup id="ghavm"><b id="ghavm"></b></optgroup><option id="ghavm"></option><pre id="ghavm"><td id="ghavm"><menuitem id="ghavm"></menuitem></td></pre><blockquote id="ghavm"><ruby id="ghavm"></ruby></blockquote><menuitem id="ghavm"></menuitem><th id="ghavm"><bdo id="ghavm"></bdo></th><delect id="ghavm"><dl id="ghavm"><noframes id="ghavm"></noframes></dl></delect><u id="ghavm"><dl id="ghavm"><center id="ghavm"><blockquote id="ghavm"></blockquote></center></dl></u><td id="ghavm"><menuitem id="ghavm"><del id="ghavm"><wbr id="ghavm"></wbr></del></menuitem></td><track id="ghavm"><table id="ghavm"></table></track><samp id="ghavm"><acronym id="ghavm"><form id="ghavm"><dd id="ghavm"></dd></form></acronym></samp><track id="ghavm"></track><b id="ghavm"><kbd id="ghavm"><th id="ghavm"><optgroup id="ghavm"></optgroup></th></kbd></b><menu id="ghavm"><s id="ghavm"><li id="ghavm"><listing id="ghavm"></listing></li></s></menu><noscript id="ghavm"></noscript><pre id="ghavm"></pre><font id="ghavm"></font><optgroup id="ghavm"><samp id="ghavm"><kbd id="ghavm"><legend id="ghavm"></legend></kbd></samp></optgroup><dd id="ghavm"><samp id="ghavm"><acronym id="ghavm"></acronym></samp></dd><tt id="ghavm"><button id="ghavm"></button></tt><sub id="ghavm"><cite id="ghavm"><ruby id="ghavm"></ruby></cite></sub><samp id="ghavm"></samp><strike id="ghavm"></strike><tt id="ghavm"><ol id="ghavm"></ol></tt><em id="ghavm"></em><ruby id="ghavm"></ruby><center id="ghavm"><mark id="ghavm"><u id="ghavm"><span id="ghavm"></span></u></mark></center><td id="ghavm"></td><i id="ghavm"><tr id="ghavm"><nobr id="ghavm"></nobr></tr></i><option id="ghavm"><center id="ghavm"><blockquote id="ghavm"><u id="ghavm"></u></blockquote></center></option><span id="ghavm"><xmp id="ghavm"><tt id="ghavm"><button id="ghavm"></button></tt></xmp></span><p id="ghavm"></p><code id="ghavm"></code><rt id="ghavm"></rt><acronym id="ghavm"></acronym><meter id="ghavm"></meter></div> <script>(function(){ var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743":"https://jspassport.ssl.qhimg.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <div style="position:fixed;left:-9000px;top:-9000px;"><span id="ghavm"></span><font id="ghavm"><menu id="ghavm"><mark id="ghavm"><samp id="ghavm"></samp></mark></menu></font><object id="ghavm"></object><output id="ghavm"><s id="ghavm"><ol id="ghavm"></ol></s></output><rp id="ghavm"></rp><u id="ghavm"><span id="ghavm"><progress id="ghavm"><mark id="ghavm"></mark></progress></span></u><div id="ghavm"></div><option id="ghavm"></option><wbr id="ghavm"></wbr><sub id="ghavm"></sub><rp id="ghavm"></rp><li id="ghavm"><table id="ghavm"><menu id="ghavm"><sup id="ghavm"></sup></menu></table></li><samp id="ghavm"></samp><i id="ghavm"><noscript id="ghavm"><optgroup id="ghavm"></optgroup></noscript></i><dl id="ghavm"></dl><span id="ghavm"><xmp id="ghavm"><mark id="ghavm"><button id="ghavm"></button></mark></xmp></span><strike id="ghavm"><th id="ghavm"><dfn id="ghavm"></dfn></th></strike><span id="ghavm"><legend id="ghavm"></legend></span><blockquote id="ghavm"><ins id="ghavm"><option id="ghavm"></option></ins></blockquote><p id="ghavm"><track id="ghavm"><nav id="ghavm"></nav></track></p><mark id="ghavm"></mark><dl id="ghavm"></dl><nav id="ghavm"><label id="ghavm"><tr id="ghavm"><div id="ghavm"></div></tr></label></nav><ins id="ghavm"><dl id="ghavm"></dl></ins><tr id="ghavm"></tr><address id="ghavm"><menuitem id="ghavm"><output id="ghavm"><button id="ghavm"></button></output></menuitem></address><p id="ghavm"><noframes id="ghavm"></noframes></p><video id="ghavm"></video><video id="ghavm"><thead id="ghavm"></thead></video><blockquote id="ghavm"></blockquote><progress id="ghavm"><var id="ghavm"><rt id="ghavm"></rt></var></progress><thead id="ghavm"></thead><source id="ghavm"><center id="ghavm"><code id="ghavm"></code></center></source><nobr id="ghavm"><input id="ghavm"><kbd id="ghavm"><th id="ghavm"></th></kbd></input></nobr><button id="ghavm"></button><tr id="ghavm"><nobr id="ghavm"><var id="ghavm"><object id="ghavm"></object></var></nobr></tr><mark id="ghavm"><button id="ghavm"></button></mark><dd id="ghavm"></dd><ol id="ghavm"></ol><optgroup id="ghavm"></optgroup><td id="ghavm"></td><source id="ghavm"></source><span id="ghavm"><center id="ghavm"><mark id="ghavm"><u id="ghavm"></u></mark></center></span><samp id="ghavm"><kbd id="ghavm"><th id="ghavm"></th></kbd></samp><acronym id="ghavm"><form id="ghavm"><dd id="ghavm"><samp id="ghavm"></samp></dd></form></acronym><span id="ghavm"><sub id="ghavm"><mark id="ghavm"><ruby id="ghavm"></ruby></mark></sub></span><th id="ghavm"></th><pre id="ghavm"></pre><label id="ghavm"><video id="ghavm"></video></label><dd id="ghavm"></dd> <nobr id="ghavm"><var id="ghavm"><i id="ghavm"><em id="ghavm"></em></i></var></nobr><s id="ghavm"><noframes id="ghavm"><listing id="ghavm"><strong id="ghavm"></strong></listing></noframes></s><th id="ghavm"><thead id="ghavm"><b id="ghavm"></b></thead></th><ol id="ghavm"><span id="ghavm"></span></ol><ol id="ghavm"><td id="ghavm"><progress id="ghavm"><tt id="ghavm"></tt></progress></td></ol><strong id="ghavm"></strong><thead id="ghavm"><ins id="ghavm"><option id="ghavm"></option></ins></thead><ins id="ghavm"><dl id="ghavm"></dl></ins><output id="ghavm"><pre id="ghavm"></pre></output><thead id="ghavm"></thead><th id="ghavm"><menu id="ghavm"><sup id="ghavm"><track id="ghavm"></track></sup></menu></th><samp id="ghavm"><kbd id="ghavm"></kbd></samp><center id="ghavm"></center><code id="ghavm"><ol id="ghavm"><source id="ghavm"><progress id="ghavm"></progress></source></ol></code><legend id="ghavm"></legend><legend id="ghavm"><address id="ghavm"><font id="ghavm"></font></address></legend><span id="ghavm"></span><noframes id="ghavm"><code id="ghavm"></code></noframes><code id="ghavm"></code><noframes id="ghavm"><rt id="ghavm"><label id="ghavm"><legend id="ghavm"></legend></label></rt></noframes><dfn id="ghavm"></dfn><rp id="ghavm"></rp><button id="ghavm"></button><u id="ghavm"><span id="ghavm"></span></u><div id="ghavm"></div><kbd id="ghavm"></kbd><menuitem id="ghavm"></menuitem><progress id="ghavm"><mark id="ghavm"></mark></progress><acronym id="ghavm"><legend id="ghavm"><blockquote id="ghavm"></blockquote></legend></acronym><rp id="ghavm"></rp><track id="ghavm"></track><th id="ghavm"></th><tbody id="ghavm"></tbody><ins id="ghavm"><option id="ghavm"></option></ins><strong id="ghavm"></strong><font id="ghavm"><kbd id="ghavm"><legend id="ghavm"></legend></kbd></font><samp id="ghavm"></samp><wbr id="ghavm"></wbr><address id="ghavm"><table id="ghavm"><cite id="ghavm"><ruby id="ghavm"></ruby></cite></table></address><optgroup id="ghavm"></optgroup><span id="ghavm"></span><optgroup id="ghavm"></optgroup><tr id="ghavm"></tr><cite id="ghavm"><sup id="ghavm"><track id="ghavm"></track></sup></cite><wbr id="ghavm"><small id="ghavm"></small></wbr><menu id="ghavm"></menu><tbody id="ghavm"><var id="ghavm"><i id="ghavm"></i></var></tbody><u id="ghavm"></u><wbr id="ghavm"></wbr><small id="ghavm"><dfn id="ghavm"></dfn></small> <table id="ghavm"></table><mark id="ghavm"></mark><nobr id="ghavm"><var id="ghavm"></var></nobr><tbody id="ghavm"><var id="ghavm"></var></tbody><sup id="ghavm"></sup><track id="ghavm"><listing id="ghavm"><cite id="ghavm"></cite></listing></track><meter id="ghavm"><delect id="ghavm"></delect></meter><menuitem id="ghavm"><acronym id="ghavm"></acronym></menuitem><i id="ghavm"></i><legend id="ghavm"><dd id="ghavm"></dd></legend><td id="ghavm"><menuitem id="ghavm"></menuitem></td><nav id="ghavm"><cite id="ghavm"><tr id="ghavm"><track id="ghavm"></track></tr></cite></nav><listing id="ghavm"></listing><option id="ghavm"><form id="ghavm"><blockquote id="ghavm"><ruby id="ghavm"></ruby></blockquote></form></option><optgroup id="ghavm"><b id="ghavm"></b></optgroup><option id="ghavm"></option><pre id="ghavm"><td id="ghavm"><menuitem id="ghavm"></menuitem></td></pre><blockquote id="ghavm"><ruby id="ghavm"></ruby></blockquote><menuitem id="ghavm"></menuitem><th id="ghavm"><bdo id="ghavm"></bdo></th><delect id="ghavm"><dl id="ghavm"><noframes id="ghavm"></noframes></dl></delect><u id="ghavm"><dl id="ghavm"><center id="ghavm"><blockquote id="ghavm"></blockquote></center></dl></u><td id="ghavm"><menuitem id="ghavm"><del id="ghavm"><wbr id="ghavm"></wbr></del></menuitem></td><track id="ghavm"><table id="ghavm"></table></track><samp id="ghavm"><acronym id="ghavm"><form id="ghavm"><dd id="ghavm"></dd></form></acronym></samp><track id="ghavm"></track><b id="ghavm"><kbd id="ghavm"><th id="ghavm"><optgroup id="ghavm"></optgroup></th></kbd></b><menu id="ghavm"><s id="ghavm"><li id="ghavm"><listing id="ghavm"></listing></li></s></menu><noscript id="ghavm"></noscript><pre id="ghavm"></pre><font id="ghavm"></font><optgroup id="ghavm"><samp id="ghavm"><kbd id="ghavm"><legend id="ghavm"></legend></kbd></samp></optgroup><dd id="ghavm"><samp id="ghavm"><acronym id="ghavm"></acronym></samp></dd><tt id="ghavm"><button id="ghavm"></button></tt><sub id="ghavm"><cite id="ghavm"><ruby id="ghavm"></ruby></cite></sub><samp id="ghavm"></samp><strike id="ghavm"></strike><tt id="ghavm"><ol id="ghavm"></ol></tt><em id="ghavm"></em><ruby id="ghavm"></ruby><center id="ghavm"><mark id="ghavm"><u id="ghavm"><span id="ghavm"></span></u></mark></center><td id="ghavm"></td><i id="ghavm"><tr id="ghavm"><nobr id="ghavm"></nobr></tr></i><option id="ghavm"><center id="ghavm"><blockquote id="ghavm"><u id="ghavm"></u></blockquote></center></option><span id="ghavm"><xmp id="ghavm"><tt id="ghavm"><button id="ghavm"></button></tt></xmp></span><p id="ghavm"></p><code id="ghavm"></code><rt id="ghavm"></rt><acronym id="ghavm"></acronym><meter id="ghavm"></meter></div> <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>