Server/GitLab: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 82: | Zeile 82: | ||
<code>pkg install lzlib libyaml openssl gdbm readline ncurses libffi curl redis libxml2 libxslt icu logrotate py27-docutils rubygem-pkg-config cmake krb5 node</code> | <code>pkg install lzlib libyaml openssl gdbm readline ncurses libffi curl redis libxml2 libxslt icu logrotate py27-docutils rubygem-pkg-config cmake krb5 node</code> | ||
Die Installation des Postfix servers findet nicht statt. | |||
=== Ruby === | |||
<code>gem install bundler --no-ri --no-rdoc</code> | |||
=== System User === | |||
;Linux | |||
<code>adduser --disabled-login --gecos 'GitLab' git</code> | |||
;FreeBSD | |||
<code> | |||
adduser | |||
Username: git | |||
Full name: GitLab | |||
Uid (Leave empty for default): | |||
Login group [git]: | |||
Login group is git. Invite git into other groups? []: | |||
Login class [default]: | |||
Shell (sh csh tcsh git-shell nologin) [sh]: nologin | |||
Home directory [/home/git]: | |||
Home directory permissions (Leave empty for default): | |||
Use password-based authentication? [yes]: | |||
Use an empty password? (yes/no) [no]: | |||
Use a random password? (yes/no) [no]: | |||
Enter password: | |||
Enter password again: | |||
Lock out the account after creation? [no]: | |||
Username : git | |||
Password : ***** | |||
Full Name : GitLab | |||
Uid : 1001 | |||
Class : | |||
Groups : git | |||
Home : /home/git | |||
Home Mode : | |||
Shell : /usr/sbin/nologin | |||
Locked : no | |||
OK? (yes/no): yes | |||
adduser: INFO: Successfully added (git) to the user database. | |||
Add another user? (yes/no): no | |||
</code> | |||
== Weblink == | == Weblink == | ||
* [https://about.gitlab.com/ GitLab] | * [https://about.gitlab.com/ GitLab] | ||
Version vom 28. April 2015, 12:52 Uhr
GitLab ist eine OpenSource Software alternative zu Github.
Installation
Angeleitet von Installationsanleitung für die Installation aus dem Quellcode.
Die Installation wird auf einem FreeNAS 9.3-stable in einer Jail durchgeführt.
Abhängigkeiten
Installation der Packete erfolgt über pkg install
| debian packages | freebsd packages |
|---|---|
| build-essential | |
| zlib1g-dev | lzlib |
| libyaml-dev | libyaml |
| libssl-dev | openssl |
| libgdbm-dev | gdbm |
| libreadline-dev | readline |
| libncurses5-dev | ncurses |
| libffi-dev | libffi |
| curl | curl |
| openssh-server | |
| redis-server | redis |
| checkinstall | |
| libxml2-dev | libxml2 |
| libxslt-dev | libxslt |
| libcurl4-openssl-dev | make config curl |
| libicu-dev | icu |
| logrotate | logrotate |
| python-docutils | py27-docutils |
| pkg-config | rubygem-pkg-config |
| cmake | cmake |
| libkrb5-dev | krb5 |
| nodejs | node |
pkg install lzlib libyaml openssl gdbm readline ncurses libffi curl redis libxml2 libxslt icu logrotate py27-docutils rubygem-pkg-config cmake krb5 node
Die Installation des Postfix servers findet nicht statt.
Ruby
gem install bundler --no-ri --no-rdoc
System User
- Linux
adduser --disabled-login --gecos 'GitLab' git
- FreeBSD
adduser
Username: git
Full name: GitLab
Uid (Leave empty for default):
Login group [git]:
Login group is git. Invite git into other groups? []:
Login class [default]:
Shell (sh csh tcsh git-shell nologin) [sh]: nologin
Home directory [/home/git]:
Home directory permissions (Leave empty for default):
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]:
Use a random password? (yes/no) [no]:
Enter password:
Enter password again:
Lock out the account after creation? [no]:
Username : git
Password : *****
Full Name : GitLab
Uid : 1001
Class :
Groups : git
Home : /home/git
Home Mode :
Shell : /usr/sbin/nologin
Locked : no
OK? (yes/no): yes
adduser: INFO: Successfully added (git) to the user database.
Add another user? (yes/no): no