Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gitlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
gitlab
Commits
1b8642e6
Commit
1b8642e6
authored
4 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
docker/l3d#74
Move all documentation to devops-tools doc
parent
dd1eadb1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+2
-52
2 additions, 52 deletions
README.md
with
2 additions
and
52 deletions
README.md
+
2
−
52
View file @
1b8642e6
Installs GitLab Community Edition
# GitLab
Links:
-
GitLab Install on Ubuntu 12.04: https://about.gitlab.com/downloads
-
sudo apt-get install curl openssh-server ca-certificates postfix
-
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
-
sudo apt-get install gitlab-ce
-
sudo nano /etc/gitlab/gitlab.rb
-
sudo gitlab-ctl restart
-
Configure Apache
-
sudo gitlab-ctl reconfigure
-
sudo service apache2 restart
*
Username: root
*
Password: 5iveL!fe
-
Trouble Shooting: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
-
Blog Install GitLab: http://paulshipley.id.au/blog/coding-tips/install-gitlab-on-ubuntu-14-04-using-apache2
-
GitLab / SSL / Apache: https://gitlab.com/gitlab-org/gitlab-recipes/blob/master/web-server/apache/gitlab-ssl.conf
-
GitLab other webserver: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md
-
Ansible Sample: https://gitlab.xarif.de/thomass/ansible_roles/tree/master/thomass.gitlab
-
CI Samples: http://doc.gitlab.com/ce/ci/yaml/README.html
-
Runner installation: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/tree/master
Additional issues that helped to resolve the configuration:
-
https://gitlab.com/gitlab-org/gitlab-ce/issues/3262
-
https://gitlab.com/gitlab-org/gitlab-ce/issues/3262
-
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/web-server/apache
Prepareing target hosts:
-
Copy pdevop:/home/gitlab-runner/.ssh/id_rsa.pub to authenticated keys on target host
-
ssh-keygen on target and paste the public key into deployment keys on gitlab
Preparing gitlab-runner:
-
Configure Ansible with vault and password
Preparing gitlab-lfs:
-
see http://doc.gitlab.com/ce/workflow/lfs/lfs_administration.html
-
gitlab_rails['lfs_enabled'] = false
-
gitlab_rails['lfs_storage_path'] = "/mnt/storage/lfs-objects"
GitLab LFS client install and usage:
-
https://packagecloud.io/github/git-lfs/install
-
http://doc.gitlab.com/ce/workflow/lfs/manage_large_binaries_with_git_lfs.html
Gitlab Kanban
-
http://kanban.leanlabs.io
-
https://gitlab.com/leanlabsio/kanban
Tips & Tricks
-
Database Console:
`sudo -u gitlab-psql /opt/gitlab/embedded/bin/psql -h /var/opt/gitlab/postgresql/ gitlabhq_production`
-
Mattermost CLI:
`/opt/gitlab/embedded/service/mattermost/i18n`
and then
`sudo -u mattermost /opt/gitlab/embedded/bin/mattermost -config=/var/opt/gitlab/mattermost/config.json -help`
-
[
Registry Garbage Collection
](
https://docs.gitlab.com/omnibus/maintenance/#removing-unused-layers-not-referenced-by-manifests
)
You find all the details in the
[
full documentation
](
https://devops-tools.docs.lakedrops.com/ansible/roles/gitlab/
)
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment