锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲欧洲精品成人久久奇米网,国产亚洲福利精品一区,亚洲成a人片在线不卡一二三区 http://www.tkk7.com/kuuyee/category/53515.htmlwhile (浜у搧+闇姹?璁捐+寮鍙?嫻嬭瘯+閮ㄧ講+鍙戝竷 == doing) { CI }zh-cnThu, 13 Jun 2013 00:58:16 GMTThu, 13 Jun 2013 00:58:16 GMT60ruby涓媑em-fast璁劇疆浠g悊閿欒http://www.tkk7.com/kuuyee/archive/2013/06/13/400495.htmlkuuyeekuuyeeWed, 12 Jun 2013 23:58:00 GMThttp://www.tkk7.com/kuuyee/archive/2013/06/13/400495.htmlhttp://www.tkk7.com/kuuyee/comments/400495.htmlhttp://www.tkk7.com/kuuyee/archive/2013/06/13/400495.html#Feedback0http://www.tkk7.com/kuuyee/comments/commentRss/400495.htmlhttp://www.tkk7.com/kuuyee/services/trackbacks/400495.html

鏈夋椂鍊欏叕鍙稿唴緗戦渶瑕佽緗瓾TTP浠g悊鎵嶈兘榪炴帴鍏綉錛屼笅闈㈠垪鍑轟竴浜汫em鍙奊it鐨勪唬鐞嗚緗柟娉?/span>

璁劇疆Git浠g悊

$git config --global http.proxy http://192.128.1.3:80 
$ git config -l
http.proxy=http://192.128.1.3:80

璁劇疆Gem浠g悊

$ export http_proxy=http://192.128.1.3:80 
gem install rails --http-proxy $http_proxy

璁〣undler浣跨敤HTTP浠g悊鐜璁劇疆

sudo -E bundle ...

闈濺oot鐢ㄦ埛璁劇疆浠g悊鍚巊em-fast浼氭姤閿?/h4>

濡傛灉浣犳槸闈瀝oot鐢ㄦ埛錛屾瘮濡傜敤Git鐢ㄦ埛璁劇疆http浠g悊鍚庯紝浣跨敤gem-fast浼氭姤濡備笅閿欒錛?/p>

curl: (7) couldn't connect to host 
ERROR: While executing gem ... (GemFast::Util::ExecutionError) Failure while executing: curl -f#LA rubygem-gemfast http://ruby.taobao.org/quick/Marshal.4.8/bundler-1.3.5.gemspec.rz --insecure -o /home/git/local/lib/ruby/gems/1.9.1/cache/bundler-1.3.5.gemspec.rz

鐩墠鐨勮繕娌℃壘鍒版牴鏈殑瑙e喅鍔炴硶錛屽師鍥犳槸鎺堟潈鐨勯棶棰橈紝鍥犱負root鐢ㄦ埛鎵ц灝變笉鎶ラ敊錛屾墍浠ュ彧鑳藉嵏杞?strong>gem-fast錛岃繖鏍峰氨涓嶆姤閿欎簡錛屼絾鏄氨涓嶈兘浣跨敤gem-fast鐨勫揩閫熶笅杞藉姛鑳戒簡銆傞偅浣嶇墰浜鴻兘瑙e喅榪欎釜闂璇峰憡涔嬪皬寮燂紝璋㈣阿錛?/p>

2013-06-12


kuuyee 2013-06-13 07:58 鍙戣〃璇勮
]]>
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>鐢╓eblogic WLST鑴氭湰 榪滅▼閮ㄧ講Web搴旂敤http://www.tkk7.com/kuuyee/archive/2011/10/13/361213.htmlkuuyeekuuyeeThu, 13 Oct 2011 15:46:00 GMThttp://www.tkk7.com/kuuyee/archive/2011/10/13/361213.htmlhttp://www.tkk7.com/kuuyee/comments/361213.htmlhttp://www.tkk7.com/kuuyee/archive/2011/10/13/361213.html#Feedback1http://www.tkk7.com/kuuyee/comments/commentRss/361213.htmlhttp://www.tkk7.com/kuuyee/services/trackbacks/361213.html
 1 import re
 2  
 3 warPath = 'helloWebApp'
 4 serverUrl = 't3://192.168.1.100:7001'
 5 username = 'weblogic'
 6 password = 'weblogic'
 7 targetServer="examplesServer"
 8 deployAppName='DeployExample2'
 9 
10  
11 connect(username, password, serverUrl)
12  
13 appList = re.findall(deployAppName, ls('/AppDeployments'))
14 print "========================="
15 print len(appList)
16 if len(appList) > 0:
17     #oldestArchiveVersion = min(map(int, appList))
18     print 'come in!!!'            
19     undeploy(deployAppName)
20  
21 #deploy(appName='DeployExample', path = 'helloWebApp', targets = 'examplesServer',timeout=600000, block = 'true')
22 
23 deploy(deployAppName, warPath, targets=targetServer, securityModel = "Advanced",timeout=600000, block = "true")
24 exit()
Ok

kuuyee 2011-10-13 23:46 鍙戣〃璇勮
]]>
CentOS5.4瀹夎Trac璁板綍http://www.tkk7.com/kuuyee/archive/2011/10/08/360212.htmlkuuyeekuuyeeSat, 08 Oct 2011 09:52:00 GMThttp://www.tkk7.com/kuuyee/archive/2011/10/08/360212.htmlhttp://www.tkk7.com/kuuyee/comments/360212.htmlhttp://www.tkk7.com/kuuyee/archive/2011/10/08/360212.html#Feedback0http://www.tkk7.com/kuuyee/comments/commentRss/360212.htmlhttp://www.tkk7.com/kuuyee/services/trackbacks/360212.html

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5Server/x86_64/epel-release-5-4.noarch.rpm
yum install libffi -y
yum install python26 -y
rm -f /usr/bin/python
ln -s /usr/bin/python26 /usr/bin/python
vim /usr/bin/yum
python -V
wget http://peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py
easy_install Babel==0.9.5
easy_install Trac
trac-admin easyci_project initenv
tracd --port 8000 /easyci/trac/easyci_project
trac-admin /easyci/trac/easyci_project permission add admin TRAC_ADMIN



kuuyee 2011-10-08 17:52 鍙戣〃璇勮
]]>
(杞澆)CentOS涓畝鍗曠敤yum鍗囩駭 Python 鑷?.6http://www.tkk7.com/kuuyee/archive/2011/10/08/360206.htmlkuuyeekuuyeeSat, 08 Oct 2011 09:26:00 GMThttp://www.tkk7.com/kuuyee/archive/2011/10/08/360206.htmlhttp://www.tkk7.com/kuuyee/comments/360206.htmlhttp://www.tkk7.com/kuuyee/archive/2011/10/08/360206.html#Feedback1http://www.tkk7.com/kuuyee/comments/commentRss/360206.htmlhttp://www.tkk7.com/kuuyee/services/trackbacks/360206.htmlhttp://vpshello.com/upgrade-python-to-26-with-yum/

鍐欎簡涓嶅皯VPS璇勬祴錛屼粖澶╁彂涓畝鍗曠殑鎶鏈笘銆?/p>

CentOS 鍦ㄥ綋鍓嶆渶鏂扮殑 5.6 鐗堜腑錛屽叾 python 鐨勭増鏈緷鐒舵瘮杈冭惤鍚庯紝榪樻槸鍙よ佺殑 2.4銆?/p>

浣嗘槸鏈変簺紼嬪簭闇瑕?2.6 鎵嶈窇寰楄搗鏉ワ紝緙栬瘧瀹夎鐨勮瘽錛屽張澶夯鐑︼紝鑰屼笖涓嶉傚悎鑿滈笩浣跨敤銆?/p>

涓嬮潰灝辯粰鍑轟嬌鐢?yum 鍗囩駭 python 鑷?2.6 鐨勭畝鍗曟柟妗堛?/p>

   1: rpm -Uvh http://download.fedora.redhat.com/pub/epel/5Server/i386/epel-release-5-4.noarch.rpm

   2: yum install libffi -y

   3: yum install python26 -y

   4: rm -f /usr/bin/python

   5: ln -s /usr/bin/python26 /usr/bin/python

濡傛灉鏄?64 浣嶇殑 CentOS錛屽垯灝嗕笂榪扮涓鍙ヤ唬鐮佷腑鐨?i386 鏀逛負 x86_64 鍗沖彲銆?/p>

榪愯瀹屾瘯鍚庯紝姝ゆ椂緋葷粺榛樿鐨?python 宸茬粡鏄?2.6 鐗堜簡銆?/p>

鐒惰岋紝yum 鏄熀浜?python2.4 鐨勶紝鍥犳浼氬嚭鐜版晠闅溿傝В鍐蟲柟娉曚篃寰堢畝鍗曪細

   1: nano /usr/bin/yum

灝嗙涓琛屾湯鐨?python 鍚庡姞涓?2.4錛屽嵆灝嗙涓琛屾敼涓猴細

#!/usr/bin/python2.4

榪欐牱錛寉um 渚濈劧浣跨敤 python 2.4 鐜榪愯錛屼竴鍒囨仮澶嶆甯搞?/p>

姝ゆ椂鎴戜滑杈撳叆 python -V 鍗沖彲鐪嬪埌褰撳墠鐨?python 鐗堟湰錛?/p>

   1: # python -V

   2: Python 2.6.5



kuuyee 2011-10-08 17:26 鍙戣〃璇勮
]]>
Ceylon璇█浠嬬粛絎竴閮ㄥ垎錛堢炕璇戯級鈥斺擧ibernate涔嬬埗鐨勫張涓鍔涗綔http://www.tkk7.com/kuuyee/archive/2011/05/24/350885.htmlkuuyeekuuyeeMon, 23 May 2011 23:25:00 GMThttp://www.tkk7.com/kuuyee/archive/2011/05/24/350885.htmlhttp://www.tkk7.com/kuuyee/comments/350885.htmlhttp://www.tkk7.com/kuuyee/archive/2011/05/24/350885.html#Feedback1http://www.tkk7.com/kuuyee/comments/commentRss/350885.htmlhttp://www.tkk7.com/kuuyee/services/trackbacks/350885.htmlCeylon鏄竴闂ㄦ柊鐨勮璦錛屽畠榪愯鍦↗ava铏氭嫙鏈轟笂錛岀洰鍓嶆鏈夋垜鎵鍦ㄧ殑灝忕粍寮鍙戯紝瀹冮毝灞炰簬RedHat銆傛垜浠兘鏄疛ava鍜孞ava鐢熸佺郴緇熺殑綺変笣錛屽洜涓哄畠鐨勫疄鐢ㄦс佸箍闃旂殑鏂囧寲姘涘洿鍜屽紑鍙戠ぞ鍖恒佸ぉ鐢熼傜敤浜庡晢涓氬簲鐢ㄤ互鍙婂彲縐繪鎬с傜劧鑰屾垜浠繀欏繪壙璁よ繖闂ㄨ璦鍜屽叾鐜版湁鐨勭被搴擄紝宸茬粡榪囦簡15騫寸殑鍙戝睍錛屽畠涓嶈兘鍐嶆彁渚涙洿濂界殑鍔熻兘鏉ヨВ鍐崇幇鍦ㄧ殑鍟嗕笟闂銆?nbsp; 闃呰鍏ㄦ枃

kuuyee 2011-05-24 07:25 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 91短视频免费在线观看| 亚洲AV无码专区在线播放中文| 在线精品亚洲一区二区三区| 国产精品亚洲AV三区| 亚洲天堂免费在线| 亚洲综合久久成人69| 免费不卡在线观看AV| 久久久无码精品亚洲日韩蜜桃| 中美日韩在线网免费毛片视频 | 成年女人免费碰碰视频| 国产精品亚洲精品| 青草草色A免费观看在线| 欧洲亚洲综合一区二区三区 | 国产免费一区二区三区VR| 欧洲 亚洲 国产图片综合| 波多野结衣中文字幕免费视频 | 美女黄网站人色视频免费国产| 亚洲欧美成人av在线观看 | 亚洲国产精品综合福利专区| 久久99国产综合精品免费| 亚洲黄色在线网站| 男女超爽刺激视频免费播放| 亚洲精品视频免费观看| 久久91亚洲精品中文字幕| 国产精品国产自线拍免费软件| 一级毛片免费观看不收费| 亚洲午夜国产精品无卡| 国产在线不卡免费播放| 84pao强力永久免费高清| 亚洲精品偷拍视频免费观看| 亚洲国产精品日韩av不卡在线| 亚洲精品视频在线看| 中国精品一级毛片免费播放| 久久精品国产亚洲AV高清热| 免费精品国产日韩热久久| 免费无码又爽又刺激网站直播| 亚洲三级在线播放| 免费欧洲毛片A级视频无风险| 国产成人精品免费视频大| 国产精品免费无遮挡无码永久视频 | 国产性生交xxxxx免费|