@@ -5,12 +5,12 @@ Web Server : Apache, Nginx
5
5
Init system : upstart, sysvinit
6
6
Database : PostgreSQL
7
7
Contributors : @crohr
8
- Additional Notes : This install guide uses packages generated on https://pkgr .io
8
+ Additional Notes : This install guide uses packages generated on https://packager .io
9
9
```
10
10
11
11
## Overview
12
12
13
- This install guide makes use of prepackaged versions of Gitlab, available on < https://pkgr .io/apps /gitlabhq/gitlabhq > .
13
+ This install guide makes use of prepackaged versions of Gitlab, available on < https://packager .io/gh /gitlabhq/gitlabhq > .
14
14
15
15
### Important Notes
16
16
@@ -44,22 +44,23 @@ We assume that you're starting from a clean install of any of the supported dist
44
44
### Ubuntu Trusty 14.04
45
45
46
46
``` shell
47
- wget -qO - https://deb.pkgr .io/key | apt-key add -
48
- echo " deb https://deb.pkgr .io/gitlabhq/gitlabhq trusty 6-9-stable" | tee -a /etc/apt/sources.list.d/gitlabhq .list
47
+ wget -qO - https://deb.packager .io/key | apt-key add -
48
+ echo " deb https://deb.packager .io/gh/ gitlabhq/gitlabhq trusty 6-9-stable" | tee -a /etc/apt/sources.list.d/gitlab-ce .list
49
49
```
50
50
51
51
### Ubuntu Precise 12.04
52
52
53
53
``` shell
54
- wget -qO - https://deb.pkgr .io/key | apt-key add -
55
- echo " deb https://deb.pkgr .io/gitlabhq/gitlabhq precise 6-9-stable" | tee -a /etc/apt/sources.list.d/gitlabhq .list
54
+ wget -qO - https://deb.packager .io/key | apt-key add -
55
+ echo " deb https://deb.packager .io/gh/ gitlabhq/gitlabhq precise 6-9-stable" | tee -a /etc/apt/sources.list.d/gitlab-ce .list
56
56
```
57
57
58
58
### Debian Wheezy 7.4
59
59
60
60
``` shell
61
- wget -qO - https://deb.pkgr.io/key | apt-key add -
62
- echo " deb https://deb.pkgr.io/gitlabhq/gitlabhq wheezy 6-9-stable" | tee -a /etc/apt/sources.list.d/gitlabhq.list
61
+ apt-get install -y apt-transport-https
62
+ wget -qO - https://deb.packager.io/key | apt-key add -
63
+ echo " deb https://deb.packager.io/gh/gitlabhq/gitlabhq wheezy 6-9-stable" | tee -a /etc/apt/sources.list.d/gitlab-ce.list
63
64
```
64
65
65
66
For all distributions, install the package by doing:
@@ -81,8 +82,8 @@ Now create a new postgres user and database:
81
82
82
83
``` shell
83
84
echo " CREATE USER \" user\" SUPERUSER PASSWORD 'pass';" | su - postgres -c psql && \
84
- echo " CREATE DATABASE gitlabhq ;" | su - postgres -c psql && \
85
- echo " GRANT ALL PRIVILEGES ON DATABASE \" gitlabhq \" TO \" user\" ;" | su - postgres -c psql
85
+ echo " CREATE DATABASE gitlab ;" | su - postgres -c psql && \
86
+ echo " GRANT ALL PRIVILEGES ON DATABASE \" gitlab \" TO \" user\" ;" | su - postgres -c psql
86
87
```
87
88
88
89
## 3. Configure the package
@@ -93,7 +94,7 @@ In the rest of the guide, we will assume that the `SERVER_HOST` variable contain
93
94
94
95
Set the url corresponding to the database we just created:
95
96
96
- gitlab-ce config:set DATABASE_URL=postgres://user:[email protected] /gitlabhq
97
+ gitlab-ce config:set DATABASE_URL=postgres://user:[email protected] /gitlab
97
98
98
99
Set the url to the redis server:
99
100
@@ -159,7 +160,7 @@ sudo service apache2 restart
159
160
160
161
## Done!
161
162
162
- Visit YOUR_SERVER in your web browser for your first GitLab login.
163
+ Visit SERVER_HOST in your web browser for your first GitLab login.
163
164
The setup has created an admin account for you. You can use it to log in:
164
165
165
166
root
@@ -189,6 +190,12 @@ Finally, have a look at what the command-line utility that ships with the packag
189
190
190
191
gitlab-ce [run|scale|logs|config|config:set|config:get]
191
192
192
- You can find out about all the latest releases at < https://pkgr.io/apps/gitlabhq/gitlabhq > .
193
+ ## Release cycle
194
+
195
+ New packages are automatically generated whenever code is pushed into the ` 6-9-stable ` branch of GitLab, so once you're pinned to a specific branch, only backwards compatible changes should get into the packages.
196
+
197
+ Whenever a new main branch is released (let's say ` 7-0-stable ` ), you can either modify your ` gitlab-ce.list ` file to upgrade, or just keep using the version you're pointing to.
198
+
199
+ If you're feeling adventurous and want to test the latest an greatest, you can also try pointing to ` master ` branch. Find out about all the latest releases at < https://packager.io/gh/gitlabhq/gitlabhq > .
193
200
194
201
** Enjoy!**
0 commit comments