Project

General

Profile

Feature #19

Feature #14: Eigenes Git-Repository aufsetzen

ngix + gitlab installieren

Added by Ronnie. Soak almost 5 years ago. Updated over 4 years ago.

Status:
Erledigt
Priority:
Normal
Assignee:
Start date:
10/23/2014
Due date:
% Done:

100%

Estimated time:
6.00 h

Description

ngix als webserver
gitlab als Webfrontend und github-clon

History

#1 Updated by Ronnie. Soak almost 5 years ago

  • Estimated time set to 6.00 h

#2 Updated by Ronnie. Soak almost 5 years ago

  • Assignee set to Ronnie. Soak

#3 Updated by Ronnie. Soak almost 5 years ago

  • % Done changed from 0 to 20

ngix installiert, Daten unter /mnt/hdd/www, conf unter /etc/nginx/sites-enabled/demo

#4 Updated by Ronnie. Soak almost 5 years ago

  • % Done changed from 20 to 40

Folge https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md

Packet-Dependencies installiert;
Ruby compiliert.

#5 Updated by Ronnie. Soak almost 5 years ago

  • % Done changed from 40 to 50

database installiert und eingerichtet
redis configuriert und neu gestartet
user git angelegt
gitlab nach /home/git/gitlab gclont

#6 Updated by Ronnie. Soak almost 5 years ago

- configured gitlab
- set up OAuth for github and twitter, missing login credentials to the official google+ account to set up google as OAuth provider

failed as expected with installing ruby gems because V8 and therubyracer do not compile on ARM

now following
https://stackoverflow.com/questions/21666379/problems-installing-gitlab-on-odroid-v8-lib-not-available

#7 Updated by Ronnie. Soak almost 5 years ago

  • % Done changed from 50 to 60

Als zusätzliche Anpassung zur Anleitung in
http://stackoverflow.com/a/21675258/896627
pakage libmysqlclient-dev installiert

Diesem gist zum installieren von node.js gefolgt:
https://gist.github.com/isaacs/579814#file-node-and-npm-in-30-seconds-sh
dabei diese Anpassung gemacht:
http://stackoverflow.com/a/16789296

#8 Updated by Ronnie. Soak almost 5 years ago

  • % Done changed from 60 to 70

- gitlab-shell installiert
- gitlab-extras installiert
- DB initialisiert (root-passwort notiert)

(durch node.js statt V8 (besser: durch install in ~local statt /usr/local)) müssen weitere Installationen jetzt mit
sudo -u git -H env "PATH=/home/git/local/bin:$PATH" cmd
gestartet werden.

- bei nginx ssl/https aktiviert (selbst-signierte certs in /etc/nginx/ssl)
- configuration bis auf weiteres auf hostname=IP statt cubie0 geändert.

#9 Updated by Ronnie. Soak almost 5 years ago

System information
System: Debian 7.7
Current User: git
Using RVM: no
Ruby Version: 2.1.2p95
Gem Version: 2.2.2
Bundler Version:1.7.4
Rake Version: 10.3.2
Sidekiq Version:2.17.0

GitLab information
Version: 7.4.3
Revision: 85a9fea
Directory: /home/git/gitlab
DB Adapter: postgresql
URL: https://134.97.126.56
HTTP Clone URL: https://134.97.126.56/some-project.git
SSH Clone URL: :some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers: google_oauth2, twitter, github

GitLab Shell
Version: 2.0.1
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git

#10 Updated by Ronnie. Soak almost 5 years ago

Assets installiert

jquery.ui.all und unter-files werden nicht gefunden

Hilfe hier http://stackoverflow.com/a/24855721/896627
und hier https://github.com/activeadmin/activeadmin/pull/3251#issue-37172950

(jeweiles durch jquery-ui bzw jquery-ui/foo in
/home/git/gitlab/app/assets/javascripts/application.js.coffee und
/home/git/gitlab/app/assets/stylesheets/application.scs ersetzten)

#11 Updated by Ronnie. Soak almost 5 years ago

  • % Done changed from 70 to 90

Up and running!
But no email sending yet.

Checking Environment ...

Git configured for git user? ... yes

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 2.0.1 ? ... OK (2.0.1)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
Satellites access is drwxr-x---? ... yes
hooks directories in repos are links: ... can't check, you have no projects
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
/home/git/repositories/: OK
/home/git/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.4.14
Send ping to redis server: PONG
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ... can't check, you have no projects
Projects have satellites? ... can't check, you have no projects
Redis version >= 2.0.0? ... yes
Ruby version >= 2.0.0 ? ... yes (2.1.2)
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.10)

Checking GitLab ... Finished

#12 Updated by Ronnie. Soak almost 5 years ago

  • Status changed from Neu to In Bearbeitung

#13 Updated by Ronnie. Soak almost 5 years ago

Followed this http://elijahpaul.co.uk/using-an-smtp-server-with-gitlab/

to configure mail via SMTP

#14 Updated by Ronnie. Soak over 4 years ago

  • Status changed from In Bearbeitung to Erledigt

updated to 7-5-stable

now works

#15 Updated by Ronnie. Soak over 4 years ago

updated to 7.5.3 (as 7.5-stable)

#16 Updated by Ronnie. Soak over 4 years ago

  • % Done changed from 90 to 100

Also available in: Atom PDF