BigW Consortium Gitlab

Commit 8a4cd8a2 by Dmitriy Zaporozhets

install scripts moved to separate repo

parent 1b8f0820
## Ubuntu installation
1. login as user, install git & generate ssh key
2. sudo ./ubuntu_ruby.sh
3. sudo ./ubuntu_gitolite.sh
4. logout & login again
5. sudo ./ubuntu_gitlab.sh
6. start server
sudo pip install pygments
sudo apt-get install python-dev
sudo gem install bundler
bundle install --without development test
bundle exec rake db:setup RAILS_ENV=production
bundle exec rake db:seed_fu RAILS_ENV=production
sudo apt-get install openssh-server
sudo adduser \
--system \
--shell /bin/sh \
--gecos 'git version control' \
--group \
--disabled-password \
--home /home/git \
git
# Add your user to git group
sudo usermod -a -G git `eval whoami`
# copy your pub key to git home
sudo cp ~/.ssh/id_rsa.pub /home/git/rails.pub
# clone gitolite
sudo -u git -H git clone git://github.com/gitlabhq/gitolite /home/git/gitolite
# install gitolite
sudo -u git -H /home/git/gitolite/src/gl-system-install
# Setup (Dont forget to set umask as 0007!!)
sudo -u git -H /home/git/bin/gl-setup /home/git/rails.pub
echo "Done"
# install all packages
sudo apt-get install git-core curl gcc checkinstall libxml2-dev libxslt-dev sqlite3 libsqlite3-dev libcurl4-openssl-dev libreadline5-dev libc6-dev libssl-dev libmysql++-dev make build-essential zlib1g-dev
# get ruby 1.9.2
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
tar xfvz ruby-1.9.2-p290.tar.gz
cd ruby-1.9.2-p290
./configure
make
sudo make install
echo "Done"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment