锘??xml version="1.0" encoding="utf-8" standalone="yes"?>精品国产亚洲一区二区在线观看 ,亚洲成a人无码av波多野按摩,亚洲一区二区三区无码影院http://www.tkk7.com/kuuyee/category/47972.htmlwhile (浜у搧+闇姹?璁捐+寮鍙?嫻嬭瘯+閮ㄧ講+鍙戝竷 == doing) { CI }zh-cnWed, 22 May 2013 14:27:57 GMTWed, 22 May 2013 14:27:57 GMT60Jenkins鏂囨。緲昏瘧(2)-鏋勫緩涓涓狹aven2欏圭洰http://www.tkk7.com/kuuyee/archive/2013/05/06/398854.htmlkuuyeekuuyeeMon, 06 May 2013 05:15:00 GMThttp://www.tkk7.com/kuuyee/archive/2013/05/06/398854.htmlhttp://www.tkk7.com/kuuyee/comments/398854.htmlhttp://www.tkk7.com/kuuyee/archive/2013/05/06/398854.html#Feedback3http://www.tkk7.com/kuuyee/comments/commentRss/398854.htmlhttp://www.tkk7.com/kuuyee/services/trackbacks/398854.html

鍘熸枃閾炬帴: https://wiki.jenkins-ci.org/display/JENKINS/Building+a+maven2+project

Jenkins鎻愪緵涓涓笓娉ㄤ簬Maven2欏圭洰鐨凧ob綾誨瀷銆傝繖縐岼ob綾誨瀷娣卞害闆嗘垚Maven2騫舵彁渚涘涓嬩紭浜巉ree-style software project Job綾誨瀷鐨勭壒鎬э細

  • Jenkins浠嶮aven POM涓幏鍙栨洿澶氫俊鎭潵杈呭姪鏋勫緩宸ヤ綔錛岃繖鏍峰氨澶уぇ鍑忓皯浜咼ob鐨勯厤緗伐浣溿?/p>

  • Jenkins鐩戝惉Maven鎵ц榪囩▼鏉ュ喅瀹氬浣曞鐞咼ob銆備緥濡傦紝Jenkins浼氬湪Maven嫻嬭瘯闃舵鑷姩璁板綍JUnit鎶ュ憡銆傚鏋滀綘姝e湪榪愯javadoc鐩爣錛孞enkins浼氳嚜鍔ㄨ褰昷avadoc銆?/p>

鍥犳浣犲彧闇瑕佷負Job閰嶇疆SCM淇℃伅鍜屾寚瀹氳繍琛孧aven欏圭洰鐨勫摢涓洰鏍囧氨鍙互浜嗭紝鍏跺畠鐨凧enkins浼氬府浣犲喅瀹氬浣曞幓鍋氥?/p>

 TODO 璋堣Maven modules鍦ㄥ瓙欏圭洰涓殑琛ㄧ幇錛岃繕鏈夋瀯寤虹紪鍙峰湪瀛愰」鐩腑鏄浣曟帶鍒剁殑銆傚甫鏈夋埅灞忋?/blockquote>

鐢ㄦā鍧椾緷璧栭摼鎺ヨ嚜鍔ㄦ瀯寤?/h4>

Jenkins浠庝綘鐨凱OM妯″瀷涓鍙栭」鐩緷璧栵紝濡傛灉榪欎釜渚濊禆宸茬粡鏄疛enkins鍐呯殑涓涓瀯寤猴紝閭d箞Jenkins浼氳嚜鍔ㄧ殑瑙﹀彂榪欎釜鏋勫緩銆侸enkins鑳藉璇嗗埆POM鍐呮墍鐢ㄧ被鍨嬬殑渚濊禆錛?/p>

  • 鐖剁駭POM

  • <dependencies>閮ㄥ垎

  • <extensions>閮ㄥ垎

  • <reporting>閮ㄥ垎

榪欎釜澶勭悊榪囩▼鍙栧喅浜庣増鏈拰璐︽埛錛屽洜涓哄湪浣犵殑欏圭洰涓湁寰堝鐗堟湰/鍒嗘敮錛孞enkins瑕佹紜殑鍐沖畾濡備綍澶勭悊渚濊禆銆?/p>

Maven闆嗘垚鎻掍歡

Jenkins鐨凪aevn2欏圭洰綾誨瀷鍖呭惈涓涓狹aven闆嗘垚鎻掍歡錛屽畠宸茬粡緇戝畾鍦↗enkins鍙戣鐗堟湰涓傚畠浼氬垪鍦ㄥ彲鐢ㄦ彃浠跺垪琛ㄤ腑錛屽綋鎻掍歡鐗堟湰浣庝簬Jenkins褰撳墠鐗堟湰鏃訛紝鎺ㄨ崘浣犲崌綰aven闆嗘垚鎻掍歡銆傝櫧鐒跺畠鏄竴涓彃浠訛紝浣嗘槸瀹冧細浣滀負Jenkins鏍稿績鐨勪竴閮ㄥ垎榪涜寮鍙戙佹祴璇曞拰鍙戝竷銆?/p>

2013-05-06


kuuyee 2013-05-06 13:15 鍙戣〃璇勮
]]>
GitLab5.0瀹夎鍏ㄨ繃紼?/title><link>http://www.tkk7.com/kuuyee/archive/2013/04/19/398092.html</link><dc:creator>kuuyee</dc:creator><author>kuuyee</author><pubDate>Fri, 19 Apr 2013 07:43:00 GMT</pubDate><guid>http://www.tkk7.com/kuuyee/archive/2013/04/19/398092.html</guid><wfw:comment>http://www.tkk7.com/kuuyee/comments/398092.html</wfw:comment><comments>http://www.tkk7.com/kuuyee/archive/2013/04/19/398092.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/kuuyee/comments/commentRss/398092.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/kuuyee/services/trackbacks/398092.html</trackback:ping><description><![CDATA[<div style="width: 1170px; margin-right: auto; margin-left: auto; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;"> <div style="margin-left: -30px;"> <div style="float: left; min-height: 1px; margin-left: 30px; width: 870px;"> <div style="background-color: #fcfcfa; border: 1px solid #e2e0d8; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; padding: 22px; margin-bottom: 35px;"> <h2><span style="font-size: 14px;">GitLab5鍙戝竷蹇竴涓湀浜嗭紝鍐沖畾璇曠敤涓嬶紝5.0鏈澶х殑鐗規у氨鏄敤GitLab-Shell鍙栦唬浜咷itolite錛岃繖澶уぇ闄嶄綆浜嗗畨瑁呴毦搴︼紝涓嶅鏈漢鍦ㄥ畨瑁呰繃紼嬩腑榪樻槸瓚婂埌浜嗕竴浜涢棶棰橈紝鎵浠ヨ褰曚笅鏉ヤ緵瑕佸畨瑁匞itLab5鐨勬湅鍙嬪弬鑰冿紒</span></h2> <p style="margin: 0px 0px 10px;">涓昏鍙傝冩枃妗? <a style="color: #0088cc; text-decoration: none;">https://github.com/gitlabhq/gitlabhq/blob/5-0-stable/doc/install/installation.md</a></p> <h4>瀹夎姝ラ鎬昏</h4> <ol style="padding: 0px; margin: 0px 0px 10px 25px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;"> <li>瀹夎渚濊禆鍖?/li> <li>瀹夎Ruby/RVM</li> <li>鍒涘緩Git鐢ㄦ埛</li> <li>瀹夎GitLab-Shell</li> <li>閰嶇疆鏁版嵁搴?/li> <li>瀹夎GitLab</li> <li>鍚姩</li> </ol> <h4>瀹夎渚濊禆搴?/h4> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">yum install libicu-devel mysql-devel pcre-devel</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">瀹夎python,瀹樻柟瑕佹眰鐗堟湰蹇呴』鍦?.5浠ヤ笂錛岃屼笖涓嶆敮鎸?.0,Fedora涓鑸殑鐗堟湰閮藉湪2.7浠ヤ笂錛屽洜姝ょ洿鎺ュ畨瑁呮簮鑷甫鐨勫嵆鍙?/p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">yum install python</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">瀹夎瀹屾煡鐪嬩笅鐗堟湰</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">python --version</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">榪樿紜繚python2鍛戒護鏈夋晥</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">python2 --version</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">濡傛灉鎻愮ず <code style="padding: 2px 4px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: #dd1144; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; white-space: nowrap; background-color: #f7f7f9; border: 1px solid #e1e1e8;">bash: python2: 鏈壘鍒板懡浠?/code> ,閭d綘闇瑕乴ink涓涓?/p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">sudo ln -s /usr/bin/python /usr/bin/python2</code></pre> <h4>瀹夎Ruby</h4> <ul style="padding: 0px; margin: 0px 0px 10px 25px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;"> <li>婧愮爜鏂瑰紡瀹夎</li> </ul> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">mkdir /tmp/ruby && cd /tmp/ruby <br />curl --progress http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz | tar xz <br />cd ruby-1.9.3-p392 <br />./configure <br />make <br />sudo make install</code></pre> <ul style="padding: 0px; margin: 0px 0px 10px 25px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;"> <li>RVM鏂瑰紡</li> </ul> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">curl -#L https://get.rvm.io | bash -s stable --ruby</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">榛樼劧瀹夎ruby2.0, GitLab鎺ㄨ崘鐢?.9.3</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">rvm install ruby-1.9.3-p392</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">榪樿瀹夎Bundler</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">sudo gem install bundler</code></pre> <h4>娣誨姞緋葷粺Git鐢ㄦ埛</h4> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍒涘緩涓涓?nbsp;<code style="padding: 2px 4px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: #dd1144; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; white-space: nowrap; background-color: #f7f7f9; border: 1px solid #e1e1e8;">git</code> 鐢ㄦ埛渚汫itLab浣跨敤</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">adduser --comment 'GitLab' git</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">璁ゞit鐢ㄦ埛鏃犲瘑鐮佺櫥闄?/p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">sudo chmod 644 /etc/shadow vim /etc/shadow</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍘繪帀鐢ㄦ埛鐨勫徆鍙?/p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">git:!!:15814:0:99999:7::: 淇敼涓?git::15814:0:99999:7:::</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍔犲叆sudo緇?/p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">chmod u+w /etc/sudoers <br />vim /etc/sudoers <br /><br />## Allow root to run any commands anywhere <br />root ALL=(ALL) ALL <br />git ALL=(ALL) ALL #鍔犲叆榪欒</code></pre> <h4>瀹夎GitLab Shell</h4> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍒囨崲鍒癵it鐢ㄦ埛</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">su - git cd ~/</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍏嬮殕GitLab Shell</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">git clone https://github.com/gitlabhq/gitlab-shell.git <br />cd gitlab-shell</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍒囨崲鍒版渶鏂扮殑鍒嗘敮<br /> </p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><div>git checkout v1.2.0 </div></pre> <h4></h4> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鐢熶駭閰嶇疆鏂囦歡</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">cp config.yml.example config.yml</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鏇存敼閰嶇疆淇℃伅錛屼竴鑸氨鏀逛笅浣犻儴緗茬殑鍩熷悕鍦板潃gitlab_url</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">vim config.yml <br /> # Url to gitlab instance. Used for api calls. Should be ends with slash. gitlab_url: "http://localhost/" #鏀規垚浣犵殑鍩熷悕鎴栬匢P</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">瀹夎</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">./bin/install</code></pre> <h4>瀹夎鏁版嵁搴?/h4> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">gitlab鏀寔mysql鍜宲ostgresql錛岃繖閲屼互mysql涓轟緥錛宲ostgresql浼氭瘮杈冮夯鐑︼紒</p> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍒囨崲鍥瀝oot鐢ㄦ埛</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">su - root</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">瀹夎mysql鍙婂紑鍙戝寘</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">yum install -y mysql-server mysql mysql-devel</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍚姩鏁版嵁搴?/p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">service mysqld start</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍒濆鍖朑itLab鏁版嵁搴?/p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.5.30 MySQL Community Server (GPL)</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">mysql> CREATE USER 'gitlab'@'localhost' IDENTIFIED BY 'gitlab'; Query OK, 0 rows affected (0.01 sec)</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">mysql> CREATE DATABASE IF NOT EXISTS `gitlabhq_production` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`; Query OK, 1 row affected (0.00 sec)</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">mysql> GRANT SELECT, LOCK TABLES, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `gitlabhq_production`.* TO 'gitlab'@'localhost'; Query OK, 0 rows affected (0.00 sec)</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">mysql> \q Bye</code></pre> <h4></h4> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">嫻嬭瘯gitlab鐢ㄦ埛榪炴帴mysql</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">sudo -u git -H mysql -u gitlab -p -D gitlabhq_production</code></pre> <h4>瀹夎GitLab</h4> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">緇堜簬鍒癎itLab鐨勫畨瑁呬簡錛岃繘鍏it鐢ㄦ埛</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">su - git cd ~/</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍏嬮殕GitLab</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">sudo -u git -H git clone https://github.com/gitlabhq/gitlabhq.git gitlab <br />cd gitlab</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍒囨崲鍒?.0紼沖畾鍒嗘敮</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">sudo -u git -H git checkout 5-0-stable</code></pre> <h4>閰嶇疆</h4> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">cd /home/git/gitlab</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"># 鐢ㄦ牱渚嬮厤緗敓鎴恎itlab閰嶇疆 sudo -u git -H cp config/gitlab.yml.example config/gitlab.yml</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"># 鏇存敼鍩熷悕 sudo -u git -H vim config/gitlab.yml</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"># 紜繚gitlab瀵?log/ 鍜?tmp/ 鐩綍鏈夊啓鏉冮檺 sudo chown -R git log/ sudo chown -R git tmp/ sudo chmod -R u+rwX log/ sudo chmod -R u+rwX tmp/</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"># 鍒涘緩闄勫睘鐩綍 sudo -u git -H mkdir /home/git/gitlab-satellites</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"># 鍒涘緩pids鐩綍騫剁‘淇濆gitlab鍙啓 sudo -u git -H mkdir tmp/pids/ sudo chmod -R u+rwX tmp/pids/</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"># 鐢熸垚Unicorn閰嶇疆 sudo -u git -H cp config/unicorn.rb.example config/unicorn.rb</code></pre> <h4>閰嶇疆GitLab DB璁劇疆</h4> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"># Mysql sudo -u git cp config/database.yml.mysql config/database.yml</code></pre> <h4>瀹夎Gems</h4> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">cd /home/git/gitlab</code> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">sudo gem install charlock_holmes --version '0.6.9'</code> <br /> <code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"># For MySQL (note, the option says "without") bundle install --deployment --without development test postgres</code></pre> <h4></h4> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;"><span style="font-family: verdana, 'courier new'; line-height: 21px;"><br /> </span></p> <h4 style="margin: 10px 0px; text-rendering: optimizelegibility; font-size: 17.5px;">鍒濆鍖栨暟鎹茍嬋媧婚珮綰х壒鎬?/h4> <p> </p> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">棣栧厛緙栬緫/home/git/gitlab/config/database.yml</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"># # PRODUCTION # production: adapter: mysql2 encoding: utf8 reconnect: false database: gitlabhq_production pool: 5 username: root password: "secure password" #鏇存敼涓轟綘mysql鐨剅oot鐢ㄦ埛瀵嗙爜 # host: localhost # socket: /tmp/mysql.sock #</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鎵цrake</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">bundle exec rake gitlab:setup RAILS_ENV=production</code></pre> <div alert-danger"="" style="padding: 8px 35px 8px 14px; margin-bottom: 20px; text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px; background-color: #f2dede; border: 1px solid #eed3d7; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; color: #b94a48; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鎶ラ敊浜嗭紝鎻愮ず Error connecting to Redis on localhost:6379 (ECONNREFUSED)<br /> 瑙e喅鍔炴硶錛?br /> 鍒囧埌root,瀹夎Redis<br /> bc(command). yum install redis*<br /> service redis start #鍚姩redis</div> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">閲嶆柊鎵цrake</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">bundle exec rake gitlab:setup RAILS_ENV=production</code></pre> <div alert-info"="" style="padding: 8px 35px 8px 14px; margin-bottom: 20px; text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px; background-color: #d9edf7; border: 1px solid #bce8f1; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; color: #3a87ad; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">濡傛灉浣犲畨瑁呮渶鏂扮増鍙兘浼氭姤 <code style="padding: 2px 4px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: #dd1144; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; white-space: nowrap; background-color: #f7f7f9; border: 1px solid #e1e1e8;">/home/git/repositories/root</code> 鐩綍鎵句笉鍒幫紝鎵嬪伐寤轟笂鍗沖彲錛?/div> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">濡傛灉浣犵湅鍒板涓嬩俊鎭?</p> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">... Administrator account created:</code> <br /><br /><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">login.........admin@local.host password......5iveL!fe</code></pre> <h4></h4> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;"><strong>鎭枩浣狅紒浣犲凡緇忔垚鍔熷畨瑁匞itLab浜嗭紒鍒繕浜嗚褰曡緭鍑虹殑綆$悊鐢ㄦ埛鍚嶅拰瀵嗙爜錛?/strong></p> <h4>鍚姩GitLab</h4> <pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 10px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">bundle exec rails s -e production => Booting WEBrick => Rails 3.2.13 application starting in production on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2013-04-19 15:04:41] INFO WEBrick 1.3.1 [2013-04-19 15:04:41] INFO ruby 1.9.3 (2013-02-22) [x86_64-linux] [2013-04-19 15:04:41] INFO WEBrick::HTTPServer#start: pid=11488 port=3000</code></pre> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">Ok,浣犵幇鍦ㄥ彲浠ヨ闂瓽itLab浜嗭紝榛樿绔彛鏄?@3000@錛?璁塊棶 http://浣犵殑鍩熷悕鎴朓P:3000<br /> 絎竴璁塊棶浼氭瘮杈冩參錛屽洜涓鴻緙栬瘧寰堝js鍜宑ss.</p> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">鍝堝搱錛佺湅鍒扮櫥闄嗛〉闈簡鍚э紒</p> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;"><img src="http://www.kuuyee.org/images/gitlab/gitlab_01.png" title="GitLab鐧婚檰" alt="GitLab鐧婚檰" style="max-width: 100%; vertical-align: middle; border-width: 0px;" /></p> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">杈撳叆綆$悊鐢ㄦ埛鍚嶅拰瀵嗙爜錛佸紑濮嬩韓鍙桮itLab鍚э紒</p> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;"><img src="http://www.kuuyee.org/images/gitlab/gitlab_02.png" title="GitLab棣栭〉" alt="GitLab棣栭〉" style="max-width: 100%; vertical-align: middle; border-width: 0px;" /></p> <p style="margin: 0px 0px 10px;"></p> <div>2013-04-19</div> </div> </div> </div> </div> <footer style="text-align: center; padding: 20px 0px; margin-top: 20px; border-top-width: 1px; border-top-style: solid; border-top-color: #e5e5e5; background-color: #f5f5f5; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;"> <div style="width: 1170px; margin-right: auto; margin-left: auto;"></div> </footer><img src ="http://www.tkk7.com/kuuyee/aggbug/398092.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/kuuyee/" target="_blank">kuuyee</a> 2013-04-19 15:43 <a href="http://www.tkk7.com/kuuyee/archive/2013/04/19/398092.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>涓嬩竴浠i潤鎬佺綉绔欑敓鎴愭鏋禔westruct鍦‵edora18瀹夎鍏ㄨ繃紼?/title><link>http://www.tkk7.com/kuuyee/archive/2013/01/24/394698.html</link><dc:creator>kuuyee</dc:creator><author>kuuyee</author><pubDate>Thu, 24 Jan 2013 05:39:00 GMT</pubDate><guid>http://www.tkk7.com/kuuyee/archive/2013/01/24/394698.html</guid><wfw:comment>http://www.tkk7.com/kuuyee/comments/394698.html</wfw:comment><comments>http://www.tkk7.com/kuuyee/archive/2013/01/24/394698.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/kuuyee/comments/commentRss/394698.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/kuuyee/services/trackbacks/394698.html</trackback:ping><description><![CDATA[<h2></h2><h2><strong style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;">Awestruct鏄潪甯告鐨勯潤鎬佺綉绔欑敓鎴愭鏋訛紝浠栧熀浜嶫ekyll錛屼嬌鐢≧uby璇█寮鍙戙侫westruct鍙互鏍規嵁妯℃澘鐢熸垚闈炲父婕備寒鐨勭綉绔欙紝渚嬪鍙互鐢˙ootStrap鎴栬匓luePrint錛岃繖涓や釜澶у悕榧庨紟鐨勪笢涓滀笉鐢ㄥ璇翠簡鍚э紝鍦扮悆浜洪兘鐭ラ亾銆傚簾璇濅笉澶氳錛岃繘鍏ヤ富棰樸?/strong></h2><h3>瀹夎Ruby鐜</h3><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">棣栧厛瀹夎涓浜涗緷璧栧簱錛屽惁鍒欏畨瑁匒westruct浼氭姤濡備笅鐨勯敊璇細</p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">Building native extensions. This could take a while... <br />......... <br />ERROR: Error installing <a title="涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏? >涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏?/a>: <br />        ERROR: Failed to build gem native extension. . <br />        /usr/bin/ruby extconf.rb <br />checking for stdio.h... *** extconf.rb failed *** <br />Could not create Makefile due to some reason, probably lack of <br />necessary libraries and/or headers. Check the mkmf.log file for more <br />details. You may need configuration options. <br />. <br />Provided configuration options: <br />        --with-opt-dir <br />        --without-opt-dir <br />        --with-opt-include <br />        --without-opt-include=${opt-dir}/include <br />        --with-opt-lib <br />        --without-opt-lib=${opt-dir}/lib <br />        --with-make-prog <br />        --without-make-prog <br />        --srcdir=. <br />        --curdir <br />        --ruby=/usr/bin/ruby <br />/usr/share/ruby/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError) <br />You have to install development tools first. <br />        from /usr/share/ruby/mkmf.rb:506:in `try_cpp' <br />        from /usr/share/ruby/mkmf.rb:931:in `block in have_header' <br />        from /usr/share/ruby/mkmf.rb:790:in `block in checking_for' <br />        from /usr/share/ruby/mkmf.rb:284:in `block (2 levels) in postpone' <br />        from /usr/share/ruby/mkmf.rb:254:in `open' <br />        from /usr/share/ruby/mkmf.rb:284:in `block in postpone' <br />        from /usr/share/ruby/mkmf.rb:254:in `open' <br />        from /usr/share/ruby/mkmf.rb:280:in `postpone' <br />        from /usr/share/ruby/mkmf.rb:789:in `checking_for' <br />        from /usr/share/ruby/mkmf.rb:930:in `have_header' <br />        from extconf.rb:2:in `<main>'</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">寮濮嬪畨瑁呬緷璧栧簱錛岀敤 <strong>root</strong> 鐢ㄦ埛鎴栬?nbsp;<strong>su</strong> 鎵ц濡備笅鍛戒護錛?/p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel</code></pre><div alert-success"="" style="padding: 8px 35px 8px 14px; margin-bottom: 18px; text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px; background-color: #dff0d8; border: 1px solid #d6e9c6; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; color: #468847; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px;">鎴戞槸Fedora鐨勭矇涓濓紝瀵逛笉浣忕敤鍏跺畠鍙戣鐗堢殑绔ラ瀷浜嗭紝璇瘋嚜琛屾牴鎹垜鍒楀嚭鐨勫畨瑁呭寘鎵懼埌瀵瑰簲鐨勭郴緇熷畨瑁呮柟娉曘?/div><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">瀹夎Ruby鍜孯ubyGems,鐢?nbsp;<strong>root</strong> 鐢ㄦ埛鎴栬?nbsp;<strong>su</strong> 鎵ц濡備笅鍛戒護錛?/p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">yum install ruby ruby-devel ruby-irb rubygems</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">Fedora18 Yum婧愮殑Ruby闈炲父鏂幫紝閮芥槸鐩墠(2012-12-14)鐨勬渶鏂扮増鏈紝鐪嬬湅瀹夎鐨凴uby鐗堟湰錛?/p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">姝e湪瀹夎 : libyaml-0.1.4-3.fc18.x86_64 1/10 <br />姝e湪瀹夎 : ruby-libs-1.9.3.327-22.fc18.x86_64 2/10 <br />姝e湪瀹夎 : ruby-irb-1.9.3.327-22.fc18.noarch 3/10 <br />姝e湪瀹夎 : rubygem-json-1.6.5-2.fc18.x86_64 4/10 <br />姝e湪瀹夎 : rubygem-io-console-0.3-22.fc18.x86_64 5/10 <br />姝e湪瀹夎 : rubygem-bigdecimal-1.1.0-22.fc18.x86_64 6/10 <br />姝e湪瀹夎 : rubygem-rdoc-3.12-5.fc18.noarch 7/10 <br />姝e湪瀹夎 : rubygems-1.8.24-3.fc18.noarch 8/10 <br />姝e湪瀹夎 : ruby-1.9.3.327-22.fc18.x86_64 9/10 <br />姝e湪瀹夎 : ruby-devel-1.9.3.327-22.fc18.x86_64 </code></pre><h3>瀹夎Awestruct</h3><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">Awestruct浣跨敤RubyGems綆$悊瀹夎錛岀敤 <strong>root</strong> 鐢ㄦ埛鎴栬?nbsp;<strong>su</strong> 鎵ц濡備笅鍛戒護錛?/p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">gem install <a title="涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏? >涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏?/a> --no-ri --no-rdoc</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">緇撴灉鎶ュ涓嬮敊璇?</p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">Fetching: nokogiri-1.5.5.gem (100%) <br />ERROR: Error installing <a title="涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏? >涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏?/a>: <br />        invalid gem format for /usr/local/share/gems/cache/nokogiri-1.5.5.gem</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">榪欎釜闂璁╂垜閮侀椃浜哊涔呮椂闂達紝Google浜嗗ぇ鍗婂ぉ錛岃繕鐗規剰鎼炰簡FANQIANG錛岀粨鏋滄媧昏涓嶄笂nokogiri銆傛渶鍚庨氳繃Yum鏉ヨВ鍐?鎴戝彧鑳借RubyGems瀹夎寰堟棤鑰伙紒榪樻槸YUM濂斤紒錛屽懡浠ゅ涓嬶細</p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">yum install -y rubygem-nokogiri</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">鍐嶆瀹夎Awestruct錛?/p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">yum install -y rubygem-nokogiri</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">鐩兼湜宸蹭箙鐨勬椂鍒繪潵涓達紝濡傛灉鍝綅绔ラ瀷鐪嬪埌濡備笅鐨勮緭鍑猴紝Congratulations錛?/p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">Successfully installed <a title="涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏? >涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏?/a>-0.4.7 17 gems installed</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">涓嶈繃鍒珮鍏村お鏃╋紝鍏堥傜敤涓嬫槸鍚K錛佺敤BootStrap妯℃澘鐢熶駭涓涓柊鐨勯潤鎬佺綉绔欙紝鍛戒護濡備笅錛?/p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"><a title="涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏? >涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏?/a> -i -f bootstrap //鎴栬呯敤awestruct --init --framework bootstrap</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">鍌葷溂浜嗭紝榪樻槸鎶ラ敊錛?/p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">[root@localhost kuuyee]# <a title="涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏? >涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏?/a> -i -f bootstrap <br />/usr/local/share/gems/gems/execjs-1.4.0/lib/execjs/runtimes.rb:51:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) <br />        from /usr/local/share/gems/gems/execjs-1.4.0/lib/execjs.rb:5:in `<module:ExecJS>' <br />        from /usr/local/share/gems/gems/execjs-1.4.0/lib/execjs.rb:4:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'      <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'     <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/lib/awestruct/handlers/coffeescript_handler.rb:8:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/lib/awestruct/handler_chains.rb:14:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/lib/awestruct/pipeline.rb:2:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/lib/awestruct/engine.rb:6:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/lib/awestruct/cli/generate.rb:1:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/lib/awestruct/cli/invoker.rb:4:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/bin/awestruct:6:in `<top (required)>' <br />        from /usr/local/bin/awestruct:23:in `load' <br />        from /usr/local/bin/awestruct:23:in `<main>'</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">欏懼悕鎬濅箟錛屾彁紺烘病鏈塉avaScript Runtime銆傜戶緇璆oogle錛屾渶鍚庝竴浣嶉珮浜烘寚鐐硅瑁呬釜JavaScript寮曟搸灝監K錛屾垜閫夋嫨NodeJS銆傚彧鍙儨NodeJSF娌℃湁YUM婧愶紝鍙兘婧愮爜緙栬瘧瀹夎錛屾棤鎵璋擄紝緇х畫:</p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">wget -c 'http://nodejs.org/dist/v0.8.16/node-v0.8.16.tar.gz' <br />tar zxvf node-v0.8.16.tar.gz <br />cd node-v0.8.16 <br />./configure <br />make && make install</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">鍙堟槸涓闃墊極闀跨殑絳夊緟錛屾悶涓嶆槑鐧戒竴涓狫S妗嗘灦鎬庝箞瑕佺紪璇戣繖涔堜箙錛屾棤璇紒鏈鍚庣紪璇戝畬鎴愭祴璇曚竴涓嬶細</p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">[root@localhost node-v0.8.16]# node -v v0.8.16</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">OK,緇х畫Awestruct嫻嬭瘯錛?/p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">[root@localhost kuuyee]# <a title="涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏? >涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏?/a> -i -f bootstrap <br />/usr/local/share/gems/gems/git-1.2.5/lib/git/lib.rb:700:in `command': git version 2>&1:sh: git: 鏈壘鍒板懡浠?(Git::GitExecuteError) <br />        from /usr/local/share/gems/gems/git-1.2.5/lib/git/lib.rb:649:in `current_command_version' <br />        from /usr/local/share/gems/gems/git-1.2.5/lib/git/lib.rb:659:in `meets_required_version?' <br />        from /usr/local/share/gems/gems/git-1.2.5/lib/git.rb:30:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/lib/awestruct/deploy/base_deploy.rb:2:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/lib/awestruct/deploy/s3_deploy.rb:1:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/lib/awestruct/cli/deploy.rb:1:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/lib/awestruct/cli/invoker.rb:7:in `<top (required)>' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require' <br />        from /usr/local/share/gems/gems/awestruct-0.4.7/bin/awestruct:6:in `<top (required)>' <br />        from /usr/local/bin/awestruct:23:in `load' <br />        from /usr/local/bin/awestruct:23:in `<main>'</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">绔熺劧榪楾MD鎶ラ敊錛屼笉榪囪繖鍥炰笉鐢ㄦワ紝鍙槸鎻愮ず娌¤Git錛屽ソ鍔烇紒閭e氨瑁呭憲錛?/p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">yum install git</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">鍐嶇戶緇瑼westruct錛?/p><pre style="padding: 8.5px; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; word-break: break-all; word-wrap: break-word; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><code style="padding: 0px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"><div style="display: inline-block;"><font color="#333333" face="Menlo, Monaco, Consolas, Courier New, monospace"><span style="font-size: 12px; line-height: 18px; white-space: pre-wrap;">[root@localhost kuuyee.org]# <a title="涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏? >涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏?/a> -i -f bootstrap Create directory: /root/git_project/kuuyee.org/_config Create directory: /root/git_project/kuuyee.org/_layouts Create directory: /root/git_project/kuuyee.org/_ext Create file: /root/git_project/kuuyee.org/_ext/pipeline.rb Create directory: /root/git_project/kuuyee.org/stylesheets directory _site/stylesheets/ directory images/ directory javascripts/ create stylesheets/styles.scss create images/glyphicons-halflings.png create images/glyphicons-halflings-white.png create javascripts/bootstrap-alert.js create javascripts/bootstrap-button.js create javascripts/bootstrap-carousel.js create javascripts/bootstrap-collapse.js create javascripts/bootstrap-dropdown.js create javascripts/bootstrap-modal.js create javascripts/bootstrap-popover.js create javascripts/bootstrap-scrollspy.js create javascripts/bootstrap-tab.js create javascripts/bootstrap-tooltip.js create javascripts/bootstrap-transition.js create javascripts/bootstrap-typeahead.js create _site/stylesheets/styles.css Now you're <a title="涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏? >涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏?/a>! To generate your site continuous during development, simply run: <a title="涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏? >涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏?/a> -d and visit your site at http://localhost:4242/ Create file: /root/git_project/kuuyee.org/_layouts/base.html.haml Create file: /root/git_project/kuuyee.org/index.html.haml</span></font><font color="rgba(0, 0, 0, 0)" face="Menlo, Monaco, Consolas, Courier New, monospace"><span style="font-size: 12.025px; line-height: 18px; white-space: pre-wrap;"> </span></font></div></code></pre><div><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;"><div style="display: inline-block;"></div></code></div><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;"><strong>Congratulations!</strong> 榪欏洖鐪熺殑鎭枩浣犱簡錛佽刀绱ч儴緗蹭竴涓嬶細</p><pre style="padding: 8.5px; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; word-break: break-all; word-wrap: break-word; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902);"><div style="display: inline-block; font-size: 12px; line-height: 18px; white-space: pre-wrap;"><font color="#333333" face="Menlo, Monaco, Consolas, Courier New, monospace">[root@localhost kuuyee]# <a title="涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏? >涓嬩竴浠i潤鎬佺綉绔欑敓鎴愬伐鍏?/a> -d Unable to locate profile: development Using profile: NONE Generating site: http://localhost:4242 Generating: /1003/awestruct-sample/_site/images/glyphicons-halflings-white.png Generating: /1003/awestruct-sample/_site/images/glyphicons-halflings.png Generating: /1003/awestruct-sample/_site/index.html Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-alert.js /usr/local/share/gems/gems/awestruct-0.4.7/lib/awestruct/handlers/interpolation_handler.rb:35: Use RbConfig instead of obsolete and deprecated Config. Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-button.js Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-carousel.js Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-collapse.js Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-dropdown.js Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-modal.js Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-popover.js Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-scrollspy.js Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-tab.js Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-tooltip.js Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-transition.js Generating: /1003/awestruct-sample/_site/javascripts/bootstrap-typeahead.js Analyzing: /1003/awestruct-sample/_site/stylesheets/styles.css [Listen warning]: Missing dependency 'rb-inotify' (version '~> 0.8.8')! Please run the following to satisfy the dependency: gem install --version '~> 0.8.8' rb-inotify . For a better performance, it's recommended that you satisfy the missing dependency. Listen will be polling changes. Learn more at https://github.com/guard/listen#polling-fallback. . >> Thin web server (v1.4.1 codename Chromeo) >> Maximum connections set to 1024 >> Listening on 0.0.0.0:4242, CTRL+C to stop </font></div><font color="#333333" face="Menlo, Monaco, Consolas, Courier New, monospace"><span style="font-size: 12.025px; line-height: 18px; white-space: pre-wrap;"><br /></span></font></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">鎵撳紑 <a href="http://localhost:4242/" style="color: #0088cc; text-decoration: initial;">http://localhost:4242/</a> 鐪嬬湅鍚э紒</p><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;"><img src="http://docs.1003.com/images/bootstrap.png" title="BootStrap緗戠珯妯℃澘" alt="BootStrap緗戠珯妯℃澘" style="max-width: 100%; vertical-align: middle; border: 0px;" /></p><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">緇嗗績鐨勭闉嬩竴瀹氫細娉ㄦ剰鍒伴儴緗茶緭鍑烘湁璀﹀憡錛屾垜鏄睘浜庝笉鎯崇湅鍒頒換浣曡鍛婄殑浜猴紝鎵浠ヨ繕寰楃戶緇紝娓呮璀﹀憡錛?/p><pre style="padding: 8.5px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12.025px; color: #333333; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0px; margin-bottom: 9px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; background-color: #f5f5f5; border: 1px solid rgba(0, 0, 0, 0.14902); font-weight: normal;"><code style="padding: 0px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: transparent; border: 0px;">gem install --version '~> 0.8.8' rb-inotify</code></pre><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;">鍐嶆閮ㄧ講璁塊棶灝變笉浼氭湁璀﹀憡浜嗭紒</p><p style="margin: 0px 0px 9px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; background-color: #ffffff;"><strong>澶у姛鍛婃垚錛佺鎰垮悇浣嶇闉嬪畨瑁呮垚鍔燂紒</strong></p><img src ="http://www.tkk7.com/kuuyee/aggbug/394698.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/kuuyee/" target="_blank">kuuyee</a> 2013-01-24 13:39 <a href="http://www.tkk7.com/kuuyee/archive/2013/01/24/394698.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>GitHub琚浜?/title><link>http://www.tkk7.com/kuuyee/archive/2013/01/22/394522.html</link><dc:creator>kuuyee</dc:creator><author>kuuyee</author><pubDate>Tue, 22 Jan 2013 00:17:00 GMT</pubDate><guid>http://www.tkk7.com/kuuyee/archive/2013/01/22/394522.html</guid><wfw:comment>http://www.tkk7.com/kuuyee/comments/394522.html</wfw:comment><comments>http://www.tkk7.com/kuuyee/archive/2013/01/22/394522.html#Feedback</comments><slash:comments>9</slash:comments><wfw:commentRss>http://www.tkk7.com/kuuyee/comments/commentRss/394522.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/kuuyee/services/trackbacks/394522.html</trackback:ping><description><![CDATA[     鎽樿: 緇忚繃鍑犲ぉ鐨勫皾璇曞彲浠ョ‘瀹欸itHub琚浜嗭紝鎴戝彧鑳借涓浗娌℃晳浜嗭紒  <a href='http://www.tkk7.com/kuuyee/archive/2013/01/22/394522.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/kuuyee/aggbug/394522.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/kuuyee/" target="_blank">kuuyee</a> 2013-01-22 08:17 <a href="http://www.tkk7.com/kuuyee/archive/2013/01/22/394522.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Maven欏圭洰甯歌闂瀹炴垬(涓) 瑙e喅鐩鎬簰渚濊禆http://www.tkk7.com/kuuyee/archive/2011/06/28/353158.htmlkuuyeekuuyeeTue, 28 Jun 2011 04:40:00 GMThttp://www.tkk7.com/kuuyee/archive/2011/06/28/353158.htmlhttp://www.tkk7.com/kuuyee/comments/353158.htmlhttp://www.tkk7.com/kuuyee/archive/2011/06/28/353158.html#Feedback1http://www.tkk7.com/kuuyee/comments/commentRss/353158.htmlhttp://www.tkk7.com/kuuyee/services/trackbacks/353158.html闃呰鍏ㄦ枃

kuuyee 2011-06-28 12:40 鍙戣〃璇勮
]]>
Git璇曠敤http://www.tkk7.com/kuuyee/archive/2011/03/03/345587.htmlkuuyeekuuyeeThu, 03 Mar 2011 05:22:00 GMThttp://www.tkk7.com/kuuyee/archive/2011/03/03/345587.htmlhttp://www.tkk7.com/kuuyee/comments/345587.htmlhttp://www.tkk7.com/kuuyee/archive/2011/03/03/345587.html#Feedback0http://www.tkk7.com/kuuyee/comments/commentRss/345587.htmlhttp://www.tkk7.com/kuuyee/services/trackbacks/345587.html涔嬧嬪墠鈥嬩竴鈥嬬洿鈥嬬敤鈥婼ubversion浣溾嬩負鈥嬬増鈥嬫湰鈥嬬鈥嬬悊鈥?浠娾嬪ぉ鈥嬪氨鈥嬫嬁鈥婮enkins欏光嬬洰鈥嬭瘯鈥嬬敤鈥嬩竴鈥嬩笅鈥婫it榪欌嬩釜鈥嬪垎鈥嬪竷鈥嬪紡鈥嬬殑鈥嬬増鈥嬫湰鈥嬬鈥嬬悊鈥嬪伐鈥嬪叿鈥?  闃呰鍏ㄦ枃

kuuyee 2011-03-03 13:22 鍙戣〃璇勮
]]>
鐢╩aven-jdocbook-plugin綆鍗曢厤緗甦ocbook5.0鐜http://www.tkk7.com/kuuyee/archive/2009/07/27/288613.htmlkuuyeekuuyeeMon, 27 Jul 2009 09:24:00 GMThttp://www.tkk7.com/kuuyee/archive/2009/07/27/288613.htmlhttp://www.tkk7.com/kuuyee/comments/288613.htmlhttp://www.tkk7.com/kuuyee/archive/2009/07/27/288613.html#Feedback2http://www.tkk7.com/kuuyee/comments/commentRss/288613.htmlhttp://www.tkk7.com/kuuyee/services/trackbacks/288613.html鏂囩珷浠嬬粛5.0鐨勭紪璇戠幆澧?鐪熺殑姣旇緝綆鍗?涓嶈繃鎴戜粖澶╃湅浜嗙湅jboss seam鐨勬枃妗f瀯寤鴻繃紼?鏋勫緩鐜鎼緩鐪熸槸綆鍗曠殑涓嶈兘鍐嶇畝鍗曚簡,jboss seam浣跨敤maven鏉ュ彂甯僤ocbook鏂囨。,鐢ㄥ埌浜唌aven-jdocbook-plugin,鎴戞妸jboss seam鐨勬瀯寤烘彁鍙栧嚭鏉?澶у鍙互鍙傝冩潵鏂逛究鏋勫緩鑷繁鐨刣ocbook.

鍒涘緩涓涓渶鏈綆鍗曠殑maven絀洪」鐩?pom.xml鍐呭濡備笅:
<?xml version="1.0"?>
<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>org.kuuyee</groupId>
    
<artifactId>first-docbook</artifactId>
    
<packaging>jar</packaging>
    
<version>1.0-SNAPSHOT</version>
    
<name>first-docbook</name>

            
<build>
                
<plugins>
               
<!-- the docbook generation plugin for the user guide -->
                    
<plugin>
                        
<groupId>org.jboss.maven.plugins</groupId>
                        
<artifactId>maven-jdocbook-plugin</artifactId>
                        
<version>2.1.1</version>
                        
<extensions>true</extensions>
                        
<dependencies>
                            
<dependency>
                                
<groupId>org.jboss</groupId>
                                
<artifactId>jbossorg-docbook-xslt</artifactId>
                                
<version>1.1.0</version>
                            
</dependency>
                            
<dependency>
                                
<groupId>org.jboss</groupId>
                                
<artifactId>jbossorg-jdocbook-style</artifactId>
                                
<version>1.1.0</version>
                                
<type>jdocbook-style</type>
                            
</dependency>
                        
</dependencies>
                        
<executions>
                            
<execution>
                                
<id>tutorial_zh_CN</id>
                                
<phase>package</phase>
                                
<goals>
                                    
<goal>resources</goal>
                                    
<goal>generate</goal>
                                
</goals>
                                
<configuration>
                                    
<sourceDocumentName>master.xml</sourceDocumentName>
                                    
<sourceDirectory>${basedir}/src/main/docbook/zh_CN</sourceDirectory>
                                    
<imageResource>
                                        
<directory>${basedir}/src/main/docbook/images</directory>
                                    
</imageResource>
                                    
<cssResource>
                                        
<directory>${basedir}/src/main/docbook/css</directory>
                                    
</cssResource>
                                    
<targetDirectory>${basedir}/target/docbook/zh_CN</targetDirectory>

                                    
<formats>
                                        
<format>
                                            
<formatName>pdf</formatName>
                                            
<stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
                                            
<finalName>zh_CN.pdf</finalName>
                                        
</format>
                                        
<format>
                                            
<formatName>html</formatName>
                                            
<stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
                                            
<finalName>index.html</finalName>
                                        
</format>
                                        
<format>
                                            
<formatName>html_single</formatName>
                                            
<stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
                                            
<finalName>index.html</finalName>
                                        
</format>
                                    
</formats>
                                    
<options>
                                        
<xincludeSupported>true</xincludeSupported>
                                    
</options>
                                
</configuration>
                            
</execution>
                        
</executions>
                    
</plugin>
                
</plugins>
            
</build>
    
    
<!-- basic JBoss repository so that the common parent POM in jbosscache-support can be found -->
    
<repositories>
        
<repository>
            
<id>snapshots.jboss.org</id>
            
<url>http://snapshots.jboss.org/maven2</url>
        
</repository>
        
<repository>
            
<id>repository.jboss.org</id>
            
<url>http://repository.jboss.org/maven2</url>
        
</repository>
    
</repositories>
</project>

鍦╯rc/main/docbook/zh_CN涓嬫柊寤轟袱涓獂ml鏂囦歡master.xml,chap1.xml.榪欓噷鐢ㄥ埌浜哾ocbook鐨勭墿鐞嗗垎鍓叉蹇?灝辨槸鎶婂崟涓枃妗f媶鍒嗘枃妗d負澶氫釜鏂囦歡,榪欏湪鏂囨。姣旇緝宸ㄥぇ鐨勬椂鍊欏緢瀹炵敤.
master.xml鏄枃妗d富鏂囦歡,鍐呭濡備笅:
<?xml version='1.0' encoding="utf-8"?>
<book xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="zh-CN" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>鍏夊瓙鐨勭涓鏈珼ocbook涔?/span></title>
<xi:include href="chap1.xml"/>
</book>

chap1.xml鏄枃妗g殑絎竴绔?鍐呭濡備笅:
<?xml version='1.0' encoding="utf-8"?>
<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="zh-CN"
  xmlns:xlink
="http://www.w3.org/1999/xlink" id="ch1" xmlns:xi="http://www.w3.org/2001/XInclude">

    
<title>鍏夊瓙鐨勭涓綃嘍ocbook 5.0鏂囨。</title>
                  
  
<section>   
    
<title>絎竴绔犳爣棰?/span></title>
    
<para>
      榪欐槸鍏夊瓙鐨勭涓綃嘍ocbook 5.0鏂囨。錛屾垜鐨凚LOG
<link xlink:href='http://www.tkk7.com/kuuyee/'>鍏夊瓙CI涔嬫梾</link>銆?br />     </para>
  
</section>
</chapter>

ok,鎴戜滑鍙互鍙戝竷鏂囨。浜?娌¢敊!灝辨槸榪欎箞綆鍗?鍦ㄩ」鐩牴鐩綍榪愯鍛戒護
mvn clean package

濡傛灉澶у涓嶆槑鐧藉彲浠ヤ笅杞介檮浠舵簮鐮佺湅鐪?鏍峰紡榪樻槸浣跨敤jboss鐨?涓嶈繃鍙互鑷繁淇敼xsl!
鏍蜂緥浠g爜

璐村紶鍥劇湅鐪嬬敓鎴愮殑鏂囨。,鍛靛懙!








kuuyee 2009-07-27 17:24 鍙戣〃璇勮
]]>
Sonar瀹夎絎旇http://www.tkk7.com/kuuyee/archive/2009/07/23/288062.htmlkuuyeekuuyeeThu, 23 Jul 2009 09:21:00 GMThttp://www.tkk7.com/kuuyee/archive/2009/07/23/288062.htmlhttp://www.tkk7.com/kuuyee/comments/288062.htmlhttp://www.tkk7.com/kuuyee/archive/2009/07/23/288062.html#Feedback3http://www.tkk7.com/kuuyee/comments/commentRss/288062.htmlhttp://www.tkk7.com/kuuyee/services/trackbacks/288062.html
CPD
Checkstyle
Clover
Cobertura
Findbugs
General
Google analytics
PMD
Squid
Surefire

鎴戞妸瀹夎榪囩▼璁板綍涓嬫潵.
1.鐜鍑嗗濡備笅
ubuntu8.04
jdk1
.5
maven2
.2(瀹樻柟瑕佹眰2.0.7浠ヤ笂)
mysql5
.0

2.涓嬭澆Sonar,鍒癶ttp://sonar.codehaus.org/涓嬭澆鏈鏂扮増鏈?鐩墠鏄?.9.2,涓嬭澆鍚庤В鍘嬪嵆鍙?br />
3.鏁版嵁搴撻厤緗?br />
CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
grant all on sonar.* to sonar@'%' identified by 'sonar';
grant all on sonar.* to sonar@localhost identified by 'sonar';
flush 
privileges;
瀹樻柟娌℃湁grant all on sonar.* to sonar@'%' identified by 'sonar'; 濡傛灉浣犳兂榪滅▼鍙戝竷欏圭洰鍒皊onar,閭e氨闇瑕佸姞涓婅繖鏉?/span>
鐒跺悗榪樿鏇存敼sonar鐨勯厤緗?鍦╯onar鐨勮В鍘嬬洰褰曚笅鎵撳紑conf/sonar.properties,娉ㄦ帀濡備笅鍐呭(濡傛灉浣犳病鏈塵ysql灝卞彲浠ヤ笉鏀瑰姩榪欎釜鏂囦歡,sonar榛樿浣跨敤鍐呭祵鏁版嵁搴揹erby)
#sonar.jdbc.url:                            jdbc:derby://localhost:1527/sonar;create=true
#sonar.jdbc.driverClassName:                org.apache.derby.jdbc.ClientDriver
#sonar.jdbc.validationQuery:                values(
1)
鍘繪帀涓嬮潰鐨勬敞閲?br />
sonar.jdbc.url:                            jdbc:mysql://192.168.1.151:3306/sonar?useUnicode=true&characterEncoding=utf8
sonar.jdbc.driverClassName:                com.mysql.jdbc.Driver
sonar.jdbc.validationQuery:                select 
1

Ok,閰嶇疆宸茬粡瀹屾垚浣犲彲浠ュ湪bin鐩綍欏逛笅榪涘叆鐩稿簲騫沖彴鐨勫瓙鐩綍,姣斿鎴戠殑灝辨槸${sonar_home}bin/linux-x86-32,sonar鏄騫沖彴鐨?浣犲彲浠ュ湪bin鐩綍涓嬫煡鎵句綘瀵瑰簲鐨勫鉤鍙?鐒跺悗鎵ц
${sonar_home}bin/linux-x86-32/sonar.sh start

鍚姩鍚庤闂?a href="http://localhost:9000/" rel="nofollow">http://localhost:9000灝卞彲浠ヨ繘鍏onar浜? 榛樿綆$悊鍛樼敤鎴峰拰瀵嗙爜鏄痑dmin/admin

澶у姛鍛婃垚!

浠婂ぉ鍏堝啓鍒拌繖,鍚庨潰鎴戜細鍔犱笂濡備綍鐢╩aven鍙戝竷涓涓」鐩埌sonar涓?

縐鍑犲紶鍥炬潵鐪嬬湅








kuuyee 2009-07-23 17:21 鍙戣〃璇勮
]]>
maven-tomcat-plugin璇曠敤http://www.tkk7.com/kuuyee/archive/2009/07/21/287639.htmlkuuyeekuuyeeTue, 21 Jul 2009 06:13:00 GMThttp://www.tkk7.com/kuuyee/archive/2009/07/21/287639.htmlhttp://www.tkk7.com/kuuyee/comments/287639.htmlhttp://www.tkk7.com/kuuyee/archive/2009/07/21/287639.html#Feedback0http://www.tkk7.com/kuuyee/comments/commentRss/287639.htmlhttp://www.tkk7.com/kuuyee/services/trackbacks/287639.html
<properties>
    
<!-- Cargo settings -->
    
<cargo.container.manager.url>http://192.168.1.107/manager</cargo.container.manager.url>
    
<cargo.container.username>admin</cargo.container.username>
    
<cargo.container.password>123456</cargo.container.password>
    
<cargo.wait>false</cargo.wait>
</properties>
<build>
    
<plugins>
        
<plugin>
            
<groupId>org.codehaus.mojo</groupId>
            
<artifactId>tomcat-maven-plugin</artifactId>
            
<version>1.0-beta-1</version>
            
<configuration>
                
<path>/runes</path>
                
<url>${cargo.container.manager.url}</url>
                
<username>${cargo.container.username}</username>
                
<password>${cargo.container.password}</password>
                
<warDirectory>${basedir}/src/main/webapp</warDirectory>
            
</configuration>
            
<executions>
                
<execution>
                    
<id>tomcat-deploy</id>
                    
<phase>deploy</phase>
                    
<goals>
                        
<goal>deploy</goal>
                    
</goals>
                
</execution>
                
<!--execution>
                                <id>undeploy</id>
                                <phase>deploy</phase>
                                <goals>
                                    <goal>start</goal>
                                </goals>
                            </execution
-->
            
</executions>
        
</plugin>
    
</plugins>
</build>
maven-tomcat-plugin閫氳繃tomcat鐨刴anager鎺у埗鍙版潵deploy鎴杣ndeploy搴旂敤,鎵浠ヨ鎶婁綘鐨則omcat鐨勭浉鍏充俊鎭厤緗笂,鍖呮嫭manager url,鐢ㄦ埛鍚嶅強瀵嗙爜絳?

kuuyee 2009-07-21 14:13 鍙戣〃璇勮
]]>
主站蜘蛛池模板: a级毛片免费全部播放无码| 亚洲综合在线成人一区| 国产精品亚洲综合网站| 久久99九九国产免费看小说| 亚洲国产精品自在在线观看| 花蝴蝶免费视频在线观看高清版| 国产亚洲情侣一区二区无| 精精国产www视频在线观看免费| 国产三级免费电影| 免费夜色污私人影院网站| 亚洲国产精品成人| a级成人免费毛片完整版| 亚洲AV无码日韩AV无码导航| 99在线观看免费视频| 亚洲精品成人久久| 成人毛片18女人毛片免费视频未| 亚洲A∨精品一区二区三区下载| 四虎永久免费影院| a级日本高清免费看| 亚洲视频在线一区二区三区| a级特黄毛片免费观看| 亚洲色偷偷偷鲁综合| 亚洲视频免费在线观看| 亚洲国产精品免费在线观看| 久久久久国色AV免费观看性色 | 青青青国产在线观看免费网站| 亚洲成人动漫在线观看| 色www永久免费视频| 羞羞视频在线观看免费| 亚洲AV无码第一区二区三区| 免费可以看黄的视频s色| 久久无码av亚洲精品色午夜 | 四虎一区二区成人免费影院网址| 国产AV无码专区亚洲AV手机麻豆 | 久久久久免费看黄A片APP| 精品在线免费视频| 亚洲国产精品久久久天堂| 黄色片在线免费观看| 国产精品偷伦视频免费观看了| 亚洲美女aⅴ久久久91| 免费国产怡红院在线观看|