??xml version="1.0" encoding="utf-8" standalone="yes"?>国产黄在线看,国产成人av一区二区三区,精品国产乱码久久久久久88avhttp://www.aygfsteel.com/kuuyee/category/53515.htmlwhile (产品+需?设计+开?试+部v+发布 == doing) { CI }zh-cnThu, 13 Jun 2013 00:58:16 GMTThu, 13 Jun 2013 00:58:16 GMT60ruby下gem-fast讄代理错误http://www.aygfsteel.com/kuuyee/archive/2013/06/13/400495.htmlkuuyeekuuyeeWed, 12 Jun 2013 23:58:00 GMThttp://www.aygfsteel.com/kuuyee/archive/2013/06/13/400495.htmlhttp://www.aygfsteel.com/kuuyee/comments/400495.htmlhttp://www.aygfsteel.com/kuuyee/archive/2013/06/13/400495.html#Feedback0http://www.aygfsteel.com/kuuyee/comments/commentRss/400495.htmlhttp://www.aygfsteel.com/kuuyee/services/trackbacks/400495.html

有时候公司内|需要设|HTTP代理才能q接公网Q下面列Z些Gem及Git的代理设|方?/span>

讄Git代理

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

讄Gem代理

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

让Bundler使用HTTP代理环境讄

sudo -E bundle ...

非Root用户讄代理后gem-fast会报?/h4>

如果你是非root用户Q比如用Git用户讄http代理后,使用gem-fast会报如下错误Q?/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

目前的还没找到根本的解决办法Q原因是授权的问题,因ؓroot用户执行׃报错Q所以只能卸?strong>gem-fastQ这样就不报错了Q但是就不能使用gem-fast的快速下载功能了。那位牛解决q个问题请告之小弟,谢谢Q?/p>

2013-06-12


kuuyee 2013-06-13 07:58 发表评论
]]>
GitLab5.0安装全过E?/title><link>http://www.aygfsteel.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.aygfsteel.com/kuuyee/archive/2013/04/19/398092.html</guid><wfw:comment>http://www.aygfsteel.com/kuuyee/comments/398092.html</wfw:comment><comments>http://www.aygfsteel.com/kuuyee/archive/2013/04/19/398092.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/kuuyee/comments/commentRss/398092.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.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最大的Ҏ(gu)就是用GitLab-Shell取代了GitoliteQ这大大降低了安装难度,不多本h在安装过E中q是到了一些问题,所以记录下来供要安装GitLab5的朋友参考!</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以上Q而且不支?.0,Fedora一般的版本都在2.7以上Q因此直接安装源自带的即?/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;">q要保python2命o有效</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> ,那你需要link一?/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;">q要安装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>dpȝ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> 用户供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;">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;">让git用户无密码登?/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;">L用户的叹?/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;">加入sudol?/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 #加入q行</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;">切换到git用户</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;">生配置文g</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;">更改配置信息Q一般就改下你部|的域名地址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/" #Ҏ(gu)你的域名或者IP</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和postgresqlQ这里以mysqlZQpostgresql会比较麻烦!</p> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">切换回root用户</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;">初始化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;">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用户q接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;">l于到GitLab的安装了Q进入git用户</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;">切换?.0E_分支</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;"># 用样例配|生成gitlab配置 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目录q确保对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;">初始化数据ƈȀz高U特?/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" #更改Zmysql的root用户密码 # 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 /> 解决办法Q?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> 目录找不刎ͼ手工Z卛_Q?/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>恭喜你!你已l成功安装GitLab了!别忘了记录输出的理用户名和密码Q?/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,你现在可以访问GitLab了,默认端口?@3000@Q?讉K http://你的域名或IP:3000<br /> W一讉K会比较慢Q因~译很多js和css.</p> <p style="margin: 0px 0px 10px; color: #4e443c; font-family: adelle, Georgia, 'Times New Roman', serif; line-height: 20px;">哈哈Q看到登陆页面了吧!</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;">输入理用户名和密码Q开始n受GitLab吧!</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.aygfsteel.com/kuuyee/aggbug/398092.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/kuuyee/" target="_blank">kuuyee</a> 2013-04-19 15:43 <a href="http://www.aygfsteel.com/kuuyee/archive/2013/04/19/398092.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>下一代静态网站生成框架Awestruct在Fedora18安装全过E?/title><link>http://www.aygfsteel.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.aygfsteel.com/kuuyee/archive/2013/01/24/394698.html</guid><wfw:comment>http://www.aygfsteel.com/kuuyee/comments/394698.html</wfw:comment><comments>http://www.aygfsteel.com/kuuyee/archive/2013/01/24/394698.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/kuuyee/comments/commentRss/394698.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.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是非常棒的静态网站生成框Ӟ他基于JekyllQ用Ruby语言开发。Awestruct可以Ҏ(gu)模板生成非常漂亮的网站,例如可以用BootStrap或者BluePrintQ这两个大名鼎鼎的东东不用多说了吧,地球人都知道。废话不多说Q进入主题?/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;">首先安装一些依赖库Q否则安装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;">Building native extensions. This could take a while... <br />......... <br />ERROR: Error installing <a title="下一代静态网站生成工? >下一代静态网站生成工?/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;">开始安装依赖库Q用 <strong>root</strong> 用户或?nbsp;<strong>su</strong> 执行如下命oQ?/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的粉丝,对不住用其它发行版的童鞋了,误行根据我列出的安装包扑ֈ对应的系l安装方法?/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和RubyGems,?nbsp;<strong>root</strong> 用户或?nbsp;<strong>su</strong> 执行如下命oQ?/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)的最新版本,看看安装的Ruby版本Q?/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;">正在安装 : libyaml-0.1.4-3.fc18.x86_64 1/10 <br />正在安装 : ruby-libs-1.9.3.327-22.fc18.x86_64 2/10 <br />正在安装 : ruby-irb-1.9.3.327-22.fc18.noarch 3/10 <br />正在安装 : rubygem-json-1.6.5-2.fc18.x86_64 4/10 <br />正在安装 : rubygem-io-console-0.3-22.fc18.x86_64 5/10 <br />正在安装 : rubygem-bigdecimal-1.1.0-22.fc18.x86_64 6/10 <br />正在安装 : rubygem-rdoc-3.12-5.fc18.noarch 7/10 <br />正在安装 : rubygems-1.8.24-3.fc18.noarch 8/10 <br />正在安装 : ruby-1.9.3.327-22.fc18.x86_64 9/10 <br />正在安装 : 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理安装Q用 <strong>root</strong> 用户或?nbsp;<strong>su</strong> 执行如下命oQ?/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="下一代静态网站生成工? >下一代静态网站生成工?/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;">l果报如下错?</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="下一代静态网站生成工? >下一代静态网站生成工?/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;">q个问题让我郁闷了N久时_Google了大半天Q还Ҏ(gu)搞了FANQIANGQ结果死z装不上nokogiri。最后通过Yum来解?我只能说RubyGems安装很无耻!q是YUM好!Q命令如下:</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;">再次安装AwestructQ?/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;">盼望已久的时L_如果哪位童鞋看到如下的输出,CongratulationsQ?/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="下一代静态网站生成工? >下一代静态网站生成工?/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;">不过别高兴太早,先适用下是否OKQ用BootStrap模板生一个新的静态网站,命o如下Q?/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="下一代静态网站生成工? >下一代静态网站生成工?/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;">ȝ了,q是报错Q?/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="下一代静态网站生成工? >下一代静态网站生成工?/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;">֐思义Q提C没有JavaScript Runtime。lGoogleQ最后一位高人指点说装个JavaScript引擎O(jin)KQ我选择NodeJS。只可惜NodeJSF没有YUM源,只能源码~译安装Q无所谓,l箋:</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;">又是一阉|O长的{待Q搞不明白一个JS框架怎么要编译这么久Q无语!最后编译完成测试一下:</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,l箋Awestruct试Q?/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="下一代静态网站生成工? >下一代静态网站生成工?/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;">竟然qTMD报错Q不q这回不用急,只是提示没装GitQ好办!那就装呗Q?/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;">再lAwestructQ?/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="下一代静态网站生成工? >下一代静态网站生成工?/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="下一代静态网站生成工? >下一代静态网站生成工?/a>! To generate your site continuous during development, simply run: <a title="下一代静态网站生成工? >下一代静态网站生成工?/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> q回真的恭喜你了Q赶紧部|一下:</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="下一代静态网站生成工? >下一代静态网站生成工?/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;">l心的童鞋一定会注意到部|输出有警告Q我是属于不想看CQ何警告的人,所以还得l,清楚警告Q?/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;">再次部v讉K׃会有警告了!</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>大功告成Q祝愿各位童鞋安装成功!</strong></p><img src ="http://www.aygfsteel.com/kuuyee/aggbug/394698.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/kuuyee/" target="_blank">kuuyee</a> 2013-01-24 13:39 <a href="http://www.aygfsteel.com/kuuyee/archive/2013/01/24/394698.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>用Weblogic WLST脚本 q程部vWeb应用http://www.aygfsteel.com/kuuyee/archive/2011/10/13/361213.htmlkuuyeekuuyeeThu, 13 Oct 2011 15:46:00 GMThttp://www.aygfsteel.com/kuuyee/archive/2011/10/13/361213.htmlhttp://www.aygfsteel.com/kuuyee/comments/361213.htmlhttp://www.aygfsteel.com/kuuyee/archive/2011/10/13/361213.html#Feedback1http://www.aygfsteel.com/kuuyee/comments/commentRss/361213.htmlhttp://www.aygfsteel.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.aygfsteel.com/kuuyee/archive/2011/10/08/360212.htmlkuuyeekuuyeeSat, 08 Oct 2011 09:52:00 GMThttp://www.aygfsteel.com/kuuyee/archive/2011/10/08/360212.htmlhttp://www.aygfsteel.com/kuuyee/comments/360212.htmlhttp://www.aygfsteel.com/kuuyee/archive/2011/10/08/360212.html#Feedback0http://www.aygfsteel.com/kuuyee/comments/commentRss/360212.htmlhttp://www.aygfsteel.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.aygfsteel.com/kuuyee/archive/2011/10/08/360206.htmlkuuyeekuuyeeSat, 08 Oct 2011 09:26:00 GMThttp://www.aygfsteel.com/kuuyee/archive/2011/10/08/360206.htmlhttp://www.aygfsteel.com/kuuyee/comments/360206.htmlhttp://www.aygfsteel.com/kuuyee/archive/2011/10/08/360206.html#Feedback1http://www.aygfsteel.com/kuuyee/comments/commentRss/360206.htmlhttp://www.aygfsteel.com/kuuyee/services/trackbacks/360206.htmlhttp://vpshello.com/upgrade-python-to-26-with-yum/

写了不少VPS评测Q今天发个简单的技术帖?/p>

CentOS 在当前最新的 5.6 版中Q其 python 的版本依然比较落后,q是古老的 2.4?/p>

但是有些E序需?2.6 才跑得v来,~译安装的话Q又太麻烦,而且不适合菜鸟使用?/p>

下面qZ?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 位的 CentOSQ则上q第一句代码中?i386 改ؓ x86_64 卛_?/p>

q行完毕后,此时pȝ默认?python 已经?2.6 版了?/p>

然而,yum 是基?python2.4 的,因此会出现故障。解x法也很简单:

   1: nano /usr/bin/yum

第一行末?python 后加?2.4Q即第一行改为:

#!/usr/bin/python2.4

q样Qyum 依然使用 python 2.4 环境q行Q一切恢复正常?/p>

此时我们输入 python -V 卛_看到当前?python 版本Q?/p>

   1: # python -V

   2: Python 2.6.5



kuuyee 2011-10-08 17:26 发表评论
]]>
Ceylon语言介绍W一部分Q翻译)——Hibernate之父的又一力作http://www.aygfsteel.com/kuuyee/archive/2011/05/24/350885.htmlkuuyeekuuyeeMon, 23 May 2011 23:25:00 GMThttp://www.aygfsteel.com/kuuyee/archive/2011/05/24/350885.htmlhttp://www.aygfsteel.com/kuuyee/comments/350885.htmlhttp://www.aygfsteel.com/kuuyee/archive/2011/05/24/350885.html#Feedback1http://www.aygfsteel.com/kuuyee/comments/commentRss/350885.htmlhttp://www.aygfsteel.com/kuuyee/services/trackbacks/350885.htmlCeylon是一门新的语aQ它q行在Java虚拟ZQ目前正有我所在的组开发,它隶属于RedHat。我们都是Java和Java生态系l的_丝Q因为它的实用性、广阔的文化氛围和开发社区、天生适用于商业应用以及可UL性。然而我们必L认这门语a和其现有的类库,已经q了15q的发展Q它不能再提供更好的功能来解决现在的商业问题?nbsp; 阅读全文

kuuyee 2011-05-24 07:25 发表评论
]]>
վ֩ģ壺 Ӧñر| | | ͬ| | | ˮ| ָɽ| | º| ƽ| ʡ| | | Դ| ɫ| ˻| Ž| | | ̨| ʷ| | | ԰| ¡| | | ۷| | Ͱ| | | | | ˻| ʯʨ| | | ƽ| |