BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
cfe86765
Commit
cfe86765
authored
Mar 27, 2012
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added script for auto install
parent
1bb804da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
debian_ubuntu.sh
doc/debian_ubuntu.sh
+44
-0
No files found.
doc/debian_ubuntu.sh
0 → 100644
View file @
cfe86765
#!/bin/sh
sudo
apt-get update
sudo
apt-get upgrade
sudo
apt-get
install
-y
git-core wget 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 libicu-dev redis-server openssh-server git-core python-dev python-pip
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
sudo
adduser
\
--system
\
--shell
/bin/sh
\
--gecos
'git version control'
\
--group
\
--disabled-password
\
--home
/home/git
\
git
sudo
adduser
--disabled-login
--gecos
'gitlab system'
gitlab
sudo
usermod
-a
-G
git gitlab
sudo
-H
-u
gitlab ssh-keygen
-q
-N
''
-t
rsa
-f
/home/gitlab/.ssh/id_rsa
cd
/home/git
sudo
-H
-u
git git clone git://github.com/gitlabhq/gitolite /home/git/gitolite
sudo
-u
git
-H
/home/git/gitolite/src/gl-system-install
sudo cp
/home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub
sudo chmod
777 /home/git/gitlab.pub
sudo
-u
git
-H
sed
-i
's/0077/0007/g'
/home/git/share/gitolite/conf/example.gitolite.rc
sudo
-u
git
-H
sh
-c
"PATH=/home/git/bin:
$PATH
; gl-setup -q /home/git/gitlab.pub"
sudo chmod
-R
g+rwX /home/git/repositories/
sudo chown
-R
git:git /home/git/repositories/
sudo
-u
gitlab
-H
git clone git@localhost:gitolite-admin.git /tmp/gitolite-admin
rm
-rf
/tmp/gitolite-admin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment