Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #285

Closed
Open
Created Jan 12, 2012 by Administrator@rootOwner

Installation Guide for Debian Squeeze

Created by: fny

There might be a few dependencies I'm forgetting... but otherwise this worked perfectly. :)

1. Setup sudo

    su
    apt-get install sudo
    # Run visudo to check for '%sudo ALL=(ALL) ALL'
    usermod -a -G sudo [username]
    exit

2. Install ruby 1.9.2-p290 as a self-built package

    sudo apt-get install -y wget curl gcc checkinstall libxml2-dev libxslt-dev sqlite3 libsqlite3-dev libcurl4-openssl-dev libc6-dev libssl-dev libmysql++-dev make build-essential zlib1g-dev autoconf readline-common openssl
    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
    autoconf
    ./configure --prefix=/usr/local --with-openssl-dir=/usr --with-readline-dir=/usr --with-zlib-dir=/usr
    make
    sudo checkinstall -D make install

Answer the prompts as you find fit. Verify that the correct version of Ruby is installed ruby --version You can uninstall ruby easily with dpkg -r ruby-1.9.2

3. Install Gitolite

Generate an ssh key: ssh-keygen -t rsa

Then follow given gitolite installation directions.

4. Install Packages for gitlabhq

  sudo apt-get install python-dev python-pip sendmail-bin sendmail redis-server  libicu-dev
  sudo pip install pygments
  sudo gem install bundler

The default sendmail.mc file in Squeeze may causes error when generating a configuration file during sendmail installation. Pay attention to the output during the install. If you do see an error, replace /etc/mail/sendmail.mc with this gist and run sudo sendmailconfig as necessary.

5. Install gitlabhq

Follow steps 4-7 on the gitlabhq Ubuntu installation wiki

Create a new project, say yes at the prompt; and we have a winner. :)

Assignee
Assign to
Time tracking