From MattWiki
Jump to: navigation, search

Gitorious is a Web site hosting collaborative open source projects using the Git system.[1] The name also refers to the server software that the Web site is developed and hosted on.[2] According to the Git User's Survey in 2009, Gitorious is the second most popular web interface for Git, with 10% of respondents indicating they use it, behind 62% using GitHub.[3]

Installing Gitorious on a Fedora Server From Source

Install prerequisite

yum install emacs pcre pcre-devel pcre-static apg zlib zlib-devel zlib-static sendmail libssh2 \
openssh openssh-askpass openssh-clients openssh-server libssh2-devel ruby ruby-RMagick \
ruby-RMagick-doc ruby-rdoc ruby-ri ruby-irb ruby-devel oniguruma memcached oniguruma-devel libyaml \
libyaml-devel GeoIP GeoIP-devel ImageMagick ImageMagick-devel mysql mysql-server mysql-libs \
mysql-devel httpd httpd-manual httpd-tools libuuid libuuid-devel uuid java-1.6.0-openjdk \
java-1.6.0-openjdk-devel java-1.6.0-openjdk-javadoc java-1.6.0-openjdk-plugin libsqlite3x-devel \
readline-devel mysql++-devel glibc-devel openssl-devel

Installing the Ruby gems

mkdir ~/src 
cd ~/src 
tar xvzf rubygems-1.3.5.tgz 
cd rubygems-1.3.5 
ruby setup.rb 
gem update --system
gem install --no-ri --no-rdoc rails mongrel mime-types \
textpow chronic ruby-hmac daemons mime-types oniguruma \
textpow chronic BlueCloth  ruby-yadis ruby-openid geoip \
rspec rspec-rails RedCloth echoe hoe diff-lcs stompserver json mysql

Installing Sphinx Stuff

cd ~/src 
tar xvfz sphinx-0.9.8.tar.gz 
cd sphinx-0.9.8 
make && sudo make install 
sudo gem install --no-ri --no-rdoc ultrasphinx

Setting up the server for Gitorious