Server/GitLab: Unterschied zwischen den Versionen
KKeine Bearbeitungszusammenfassung |
|||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 44: | Zeile 44: | ||
remove with: | remove with: | ||
ssh-keygen -f "/home/stura/.ssh/known_hosts" -R "141.56.51.321" | ssh-keygen -f "/home/stura/.ssh/known_hosts" -R "141.56.51.321" | ||
ECDSA host key for | ECDSA host key for gitlab.htw.stura-dresden.de has changed and you have requested strict checking. | ||
Host key verification failed. | Host key verification failed. | ||
</pre> | </pre> | ||
<code>ssh-keygen -f "/home/stura/.ssh/known_hosts" -R "141.56.51.321"</code> | |||
<code>ssh root@141.56.51.321</code> | |||
<pre> | |||
TurnKey Linux - First boot configuration | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌────────────────Initialize Hub services───────────────────┐ | |||
│ │ | |||
│ 1) TurnKey Backup and Migration: saves changes to files, │ | |||
│ databases and package management to encrypted storage │ | |||
│ which servers can be automatically restored from. │ | |||
│ https://www.turnkeylinux.org/tklbam │ | |||
│ │ | |||
│ 2) TurnKey Domain Management and Dynamic DNS: │ | |||
│ https://www.turnkeylinux.org/dns │ | |||
│ │ | |||
│ You can start using these services immediately if you │ | |||
│ initialize now. Or you can do this manually later (e.g., │ | |||
│ from the command line / Webmin) │ | |||
│ │ | |||
│ API Key: (see https://hub.turnkeylinux.org/profile) │ | |||
│ ┌──────────────────────────────────────────────────────┐ │ | |||
│ │ │ │ | |||
│ └──────────────────────────────────────────────────────┘ │ | |||
│ │ | |||
├──────────────────────────────────────────────────────────┤ | |||
│ <Apply> <Skip > │ | |||
└──────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
<Skip > | |||
</pre> | |||
<pre> | |||
TurnKey Linux - First boot configuration | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌───System Notifications and Critical Security Alerts──────┐ | |||
│ │ | |||
│ Enable local system notifications (root@localhost) to be │ | |||
│ forwarded to your regular inbox. Notifications include │ | |||
│ security updates and system messages. │ | |||
│ │ | |||
│ You will also be subscribed to receive critical security │ | |||
│ and bug alerts through a low-traffic Security and News │ | |||
│ announcements newsletter. You can unsubscribe at any │ | |||
│ time. │ | |||
│ │ | |||
│ https://www.turnkeylinux.org/security-alerts │ | |||
│ │ | |||
│ Email: │ | |||
│ ┌──────────────────────────────────────────────────────┐ │ | |||
│ │ │ │ | |||
│ └──────────────────────────────────────────────────────┘ │ | |||
├──────────────────────────────────────────────────────────┤ | |||
│ <Enable> < Skip > │ | |||
└──────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
< Skip > | |||
</pre> | |||
<pre> | |||
TurnKey GNU/Linux - First boot configuration | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌────────────────────Security updates──────────────────────┐ | |||
│ │ | |||
│ By default, this system is configured to automatically │ | |||
│ install security updates on a daily basis: │ | |||
│ │ | |||
│ https://www.turnkeylinux.org/security-updates │ | |||
│ │ | |||
│ For maximum protection, we also recommend installing the │ | |||
│ latest security updates right now. │ | |||
│ │ | |||
│ This can take a few minutes. You need to be online. │ | |||
│ │ | |||
├──────────────────────────────────────────────────────────┤ | |||
│ <Install> < Skip > │ | |||
└──────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
<Install> | |||
</pre> | |||
<pre></pre> | |||
<!-- | |||
<pre> | |||
Ign:1 http://archive.turnkeylinux.org/debian buster-security InRelease | |||
Get:2 http://security.debian.org buster/updates InRelease [65.4 kB] | |||
Get:3 http://deb.debian.org/debian buster InRelease [121 kB] | |||
Ign:4 http://archive.turnkeylinux.org/debian buster InRelease | |||
Get:5 http://archive.turnkeylinux.org/debian buster-security Release [3857 B] | |||
Get:6 http://archive.turnkeylinux.org/debian buster Release [3830 B] | |||
Get:7 http://archive.turnkeylinux.org/debian buster-security Release.gpg [833 B] | |||
Get:8 http://archive.turnkeylinux.org/debian buster Release.gpg [833 B] | |||
Get:9 https://packages.gitlab.com/gitlab/gitlab-ce/debian stretch InRelease [23.3 kB] | |||
Get:10 http://security.debian.org buster/updates/main amd64 Packages [272 kB] | |||
Get:11 http://security.debian.org buster/updates/main Translation-en [146 kB] | |||
Get:12 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB] | |||
Get:13 http://deb.debian.org/debian buster/main Translation-en [5969 kB] | |||
Get:14 http://deb.debian.org/debian buster/contrib amd64 Packages [50.1 kB] | |||
Get:15 http://deb.debian.org/debian buster/contrib Translation-en [44.2 kB] | |||
Get:16 http://archive.turnkeylinux.org/debian buster/main amd64 Packages [31.0 kB] | |||
Get:17 https://packages.gitlab.com/gitlab/gitlab-ce/debian stretch/main amd64 Packages [66.8 kB] | |||
Fetched 14.7 MB in 9s (1583 kB/s) | |||
Reading package lists... | |||
Reading package lists... | |||
Building dependency tree... | |||
Reading state information... | |||
Reading package lists... | |||
Building dependency tree... | |||
Reading state information... | |||
Calculating upgrade... | |||
The following packages will be upgraded: | |||
apt apt-transport-https bind9-host curl libapt-pkg5.0 libbind9-161 | |||
libcurl3-gnutls libcurl4 libdns1104 libgssapi-krb5-2 libisc1100 libisccc161 | |||
libisccfg163 libjs-underscore libjson-c3 libk5crypto3 libkrb5-3 | |||
libkrb5support0 libldap-2.4-2 libldap-common liblwres161 libp11-kit0 | |||
libssl1.1 libzstd1 openssl screen sudo | |||
27 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |||
Need to get 12.3 MB of archives. | |||
After this operation, 24.6 kB of additional disk space will be used. | |||
Get:1 http://security.debian.org buster/updates/main amd64 libzstd1 amd64 1.3.8+dfsg-3+deb10u2 [237 kB] | |||
Get:2 http://security.debian.org buster/updates/main amd64 libapt-pkg5.0 amd64 1.8.2.2 [966 kB] | |||
Get:3 http://security.debian.org buster/updates/main amd64 apt amd64 1.8.2.2 [1419 kB] | |||
Get:4 http://security.debian.org buster/updates/main amd64 libp11-kit0 amd64 0.23.15-2+deb10u1 [316 kB] | |||
Get:5 http://security.debian.org buster/updates/main amd64 libssl1.1 amd64 1.1.1d-0+deb10u6 [1539 kB] | |||
Get:6 http://security.debian.org buster/updates/main amd64 libjson-c3 amd64 0.12.1+ds-2+deb10u1 [27.3 kB] | |||
Get:7 http://security.debian.org buster/updates/main amd64 bind9-host amd64 1:9.11.5.P4+dfsg-5.1+deb10u3 [271 kB] | |||
Get:8 http://security.debian.org buster/updates/main amd64 libbind9-161 amd64 1:9.11.5.P4+dfsg-5.1+deb10u3 [247 kB] | |||
Get:9 http://security.debian.org buster/updates/main amd64 libisccfg163 amd64 1:9.11.5.P4+dfsg-5.1+deb10u3 [267 kB] | |||
Get:10 http://security.debian.org buster/updates/main amd64 libisccc161 amd64 1:9.11.5.P4+dfsg-5.1+deb10u3 [236 kB] | |||
Get:11 http://security.debian.org buster/updates/main amd64 libdns1104 amd64 1:9.11.5.P4+dfsg-5.1+deb10u3 [1221 kB] | |||
Get:12 http://security.debian.org buster/updates/main amd64 libisc1100 amd64 1:9.11.5.P4+dfsg-5.1+deb10u3 [457 kB] | |||
Get:13 http://security.debian.org buster/updates/main amd64 libgssapi-krb5-2 amd64 1.17-3+deb10u1 [158 kB] | |||
Get:14 http://security.debian.org buster/updates/main amd64 libkrb5-3 amd64 1.17-3+deb10u1 [369 kB] | |||
Get:15 http://security.debian.org buster/updates/main amd64 libkrb5support0 amd64 1.17-3+deb10u1 [65.8 kB] | |||
Get:16 http://security.debian.org buster/updates/main amd64 libk5crypto3 amd64 1.17-3+deb10u1 [122 kB] | |||
Get:17 http://security.debian.org buster/updates/main amd64 liblwres161 amd64 1:9.11.5.P4+dfsg-5.1+deb10u3 [251 kB] | |||
Get:18 http://security.debian.org buster/updates/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u6 [90.0 kB] | |||
Get:19 http://security.debian.org buster/updates/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u6 [224 kB] | |||
Get:20 http://security.debian.org buster/updates/main amd64 apt-transport-https all 1.8.2.2 [149 kB] | |||
Get:21 http://security.debian.org buster/updates/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] | |||
Get:22 http://security.debian.org buster/updates/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] | |||
Get:23 http://security.debian.org buster/updates/main amd64 libcurl3-gnutls amd64 7.64.0-4+deb10u2 [330 kB] | |||
Get:24 http://security.debian.org buster/updates/main amd64 libjs-underscore all 1.9.1~dfsg-1+deb10u1 [100.0 kB] | |||
Get:25 http://security.debian.org buster/updates/main amd64 openssl amd64 1.1.1d-0+deb10u6 [844 kB] | |||
Get:26 http://security.debian.org buster/updates/main amd64 screen amd64 4.6.2-3+deb10u1 [598 kB] | |||
Get:27 http://security.debian.org buster/updates/main amd64 sudo amd64 1.8.27-1+deb10u3 [1244 kB] | |||
debconf: delaying package configuration, since apt-utils is not installed | |||
Fetched 12.3 MB in 1s (17.8 MB/s) | |||
(Reading database ... 97489 files and directories currently installed.) | |||
Preparing to unpack .../libzstd1_1.3.8+dfsg-3+deb10u2_amd64.deb ... | |||
Unpacking libzstd1:amd64 (1.3.8+dfsg-3+deb10u2) over (1.3.8+dfsg-3) ... | |||
Setting up libzstd1:amd64 (1.3.8+dfsg-3+deb10u2) ... | |||
(Reading database ... 97489 files and directories currently installed.) | |||
Preparing to unpack .../libapt-pkg5.0_1.8.2.2_amd64.deb ... | |||
Unpacking libapt-pkg5.0:amd64 (1.8.2.2) over (1.8.2.1) ... | |||
Setting up libapt-pkg5.0:amd64 (1.8.2.2) ... | |||
(Reading database ... 97489 files and directories currently installed.) | |||
Preparing to unpack .../archives/apt_1.8.2.2_amd64.deb ... | |||
Unpacking apt (1.8.2.2) over (1.8.2.1) ... | |||
Setting up apt (1.8.2.2) ... | |||
(Reading database ... 97489 files and directories currently installed.) | |||
Preparing to unpack .../libp11-kit0_0.23.15-2+deb10u1_amd64.deb ... | |||
Unpacking libp11-kit0:amd64 (0.23.15-2+deb10u1) over (0.23.15-2) ... | |||
Setting up libp11-kit0:amd64 (0.23.15-2+deb10u1) ... | |||
(Reading database ... 97489 files and directories currently installed.) | |||
Preparing to unpack .../00-libssl1.1_1.1.1d-0+deb10u6_amd64.deb ... | |||
Unpacking libssl1.1:amd64 (1.1.1d-0+deb10u6) over (1.1.1d-0+deb10u3) ... | |||
Preparing to unpack .../01-libjson-c3_0.12.1+ds-2+deb10u1_amd64.deb ... | |||
Unpacking libjson-c3:amd64 (0.12.1+ds-2+deb10u1) over (0.12.1+ds-2) ... | |||
Preparing to unpack .../02-bind9-host_1%3a9.11.5.P4+dfsg-5.1+deb10u3_amd64.deb ... | |||
Unpacking bind9-host (1:9.11.5.P4+dfsg-5.1+deb10u3) over (1:9.11.5.P4+dfsg-5.1+deb10u1) ... | |||
Preparing to unpack .../03-libbind9-161_1%3a9.11.5.P4+dfsg-5.1+deb10u3_amd64.deb ... | |||
Unpacking libbind9-161:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) over (1:9.11.5.P4+dfsg-5.1+deb10u1) ... | |||
Preparing to unpack .../04-libisccfg163_1%3a9.11.5.P4+dfsg-5.1+deb10u3_amd64.deb ... | |||
Unpacking libisccfg163:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) over (1:9.11.5.P4+dfsg-5.1+deb10u1) ... | |||
Preparing to unpack .../05-libisccc161_1%3a9.11.5.P4+dfsg-5.1+deb10u3_amd64.deb ... | |||
Unpacking libisccc161:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) over (1:9.11.5.P4+dfsg-5.1+deb10u1) ... | |||
Preparing to unpack .../06-libdns1104_1%3a9.11.5.P4+dfsg-5.1+deb10u3_amd64.deb ... | |||
Unpacking libdns1104:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) over (1:9.11.5.P4+dfsg-5.1+deb10u1) ... | |||
Preparing to unpack .../07-libisc1100_1%3a9.11.5.P4+dfsg-5.1+deb10u3_amd64.deb ... | |||
Unpacking libisc1100:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) over (1:9.11.5.P4+dfsg-5.1+deb10u1) ... | |||
Preparing to unpack .../08-libgssapi-krb5-2_1.17-3+deb10u1_amd64.deb ... | |||
Unpacking libgssapi-krb5-2:amd64 (1.17-3+deb10u1) over (1.17-3) ... | |||
Preparing to unpack .../09-libkrb5-3_1.17-3+deb10u1_amd64.deb ... | |||
Unpacking libkrb5-3:amd64 (1.17-3+deb10u1) over (1.17-3) ... | |||
Preparing to unpack .../10-libkrb5support0_1.17-3+deb10u1_amd64.deb ... | |||
Unpacking libkrb5support0:amd64 (1.17-3+deb10u1) over (1.17-3) ... | |||
Preparing to unpack .../11-libk5crypto3_1.17-3+deb10u1_amd64.deb ... | |||
Unpacking libk5crypto3:amd64 (1.17-3+deb10u1) over (1.17-3) ... | |||
Preparing to unpack .../12-liblwres161_1%3a9.11.5.P4+dfsg-5.1+deb10u3_amd64.deb ... | |||
Unpacking liblwres161:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) over (1:9.11.5.P4+dfsg-5.1+deb10u1) ... | |||
Preparing to unpack .../13-libldap-common_2.4.47+dfsg-3+deb10u6_all.deb ... | |||
Unpacking libldap-common (2.4.47+dfsg-3+deb10u6) over (2.4.47+dfsg-3+deb10u2) ... | |||
Preparing to unpack .../14-libldap-2.4-2_2.4.47+dfsg-3+deb10u6_amd64.deb ... | |||
Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u6) over (2.4.47+dfsg-3+deb10u2) ... | |||
Preparing to unpack .../15-apt-transport-https_1.8.2.2_all.deb ... | |||
Unpacking apt-transport-https (1.8.2.2) over (1.8.2.1) ... | |||
Preparing to unpack .../16-curl_7.64.0-4+deb10u2_amd64.deb ... | |||
Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... | |||
Preparing to unpack .../17-libcurl4_7.64.0-4+deb10u2_amd64.deb ... | |||
Unpacking libcurl4:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... | |||
Preparing to unpack .../18-libcurl3-gnutls_7.64.0-4+deb10u2_amd64.deb ... | |||
Unpacking libcurl3-gnutls:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... | |||
Preparing to unpack .../19-libjs-underscore_1.9.1~dfsg-1+deb10u1_all.deb ... | |||
Unpacking libjs-underscore (1.9.1~dfsg-1+deb10u1) over (1.9.1~dfsg-1) ... | |||
Preparing to unpack .../20-openssl_1.1.1d-0+deb10u6_amd64.deb ... | |||
Unpacking openssl (1.1.1d-0+deb10u6) over (1.1.1d-0+deb10u3) ... | |||
Preparing to unpack .../21-screen_4.6.2-3+deb10u1_amd64.deb ... | |||
Unpacking screen (4.6.2-3+deb10u1) over (4.6.2-3) ... | |||
Preparing to unpack .../22-sudo_1.8.27-1+deb10u3_amd64.deb ... | |||
Unpacking sudo (1.8.27-1+deb10u3) over (1.8.27-1+deb10u2) ... | |||
Setting up libjson-c3:amd64 (0.12.1+ds-2+deb10u1) ... | |||
Setting up apt-transport-https (1.8.2.2) ... | |||
Setting up libssl1.1:amd64 (1.1.1d-0+deb10u6) ... | |||
Setting up screen (4.6.2-3+deb10u1) ... | |||
Setting up libisc1100:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) ... | |||
Setting up libldap-common (2.4.47+dfsg-3+deb10u6) ... | |||
Setting up libkrb5support0:amd64 (1.17-3+deb10u1) ... | |||
Setting up liblwres161:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) ... | |||
Setting up sudo (1.8.27-1+deb10u3) ... | |||
Setting up libk5crypto3:amd64 (1.17-3+deb10u1) ... | |||
Setting up libisccc161:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) ... | |||
Setting up libkrb5-3:amd64 (1.17-3+deb10u1) ... | |||
Setting up openssl (1.1.1d-0+deb10u6) ... | |||
Setting up libjs-underscore (1.9.1~dfsg-1+deb10u1) ... | |||
Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u6) ... | |||
Setting up libgssapi-krb5-2:amd64 (1.17-3+deb10u1) ... | |||
Setting up libcurl4:amd64 (7.64.0-4+deb10u2) ... | |||
Setting up curl (7.64.0-4+deb10u2) ... | |||
Setting up libdns1104:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) ... | |||
Setting up libcurl3-gnutls:amd64 (7.64.0-4+deb10u2) ... | |||
Setting up libisccfg163:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) ... | |||
Setting up libbind9-161:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u3) ... | |||
Setting up bind9-host (1:9.11.5.P4+dfsg-5.1+deb10u3) ... | |||
Processing triggers for systemd (241-7~deb10u4) ... | |||
Processing triggers for man-db (2.8.5-2) ... | |||
Processing triggers for libc-bin (2.28-10) ... | |||
Enumerating objects: 1176, done. | |||
Counting objects: 100% (1176/1176), done. | |||
Compressing objects: 100% (812/812), done. | |||
Writing objects: 100% (1176/1176), done. | |||
Total 1176 (delta 63), reused 0 (delta 0) | |||
turnkey-init-fence is down | |||
</pre> | |||
--> | |||
<pre> | |||
TurnKey GNU/Linux Configuration Console | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌────────────────GITLAB---STURA-HTW-DRESDEN────────────────┐ | |||
│ │ | |||
│ Web: http://141.56.51.321 │ | |||
│ https://141.56.51.321 │ | |||
│ Web shell: https://141.56.51.321:12320 │ | |||
│ Webmin: https://141.56.51.321:12321 │ | |||
│ SSH/SFTP: root@141.56.51.321 (port 22) │ | |||
│ │ | |||
│ TKLBAM (Backup and Migration): NOT INITIALIZED │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ TurnKey Backups and Cloud Deployment │ | |||
│ https://hub.turnkeylinux.org │ | |||
├──────────────────────────────────────────────────────────┤ | |||
│ <Advanced Menu> │ | |||
└──────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
<Advanced Menu> | |||
</pre> | |||
<pre> | |||
TurnKey GNU/Linux Configuration Console | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌─────────────────────Advanced Menu────────────────────────┐ | |||
│ │ | |||
│ TurnKey GNU/Linux │ | |||
│ GITLAB---AUFGABENVERWALTUNG-INFRASTRUKTUR---STUD-HTW-DRE │ | |||
│ SDEN Advanced Menu │ | |||
│ ┌──────────────────────────────────────────────────────┐ │ | |||
│ │Networking Configure appliance networking │ │ | |||
│ │Lets encrypt Let's Encrypt free SSL certificates (│ │ | |||
│ │Mail relaying Enable mail relaying to a remote serv│ │ | |||
│ │Proxy settings Configure Proxy Settings │ │ | |||
│ │Region config Region & time settings │ │ | |||
│ │System settings Various global settings │ │ | |||
│ │Reboot Reboot the appliance │ │ | |||
│ │Shutdown Shutdown the appliance │ │ | |||
│ │Quit Quit the configuration console │ │ | |||
│ │ │ │ | |||
│ └──────────────────────────────────────────────────────┘ │ | |||
├──────────────────────────────────────────────────────────┤ | |||
│ <Select> < Back > │ | |||
└──────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
Reboot Reboot the appliance | |||
</pre> | |||
<pre> | |||
<Select> | |||
</pre> | |||
<pre> | |||
TurnKey GNU/Linux Configuration Console | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌────────────────────────────┐ | |||
│ │ | |||
│ Reboot the appliance? │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
├────────────────────────────┤ | |||
│ < Yes > < No > │ | |||
└────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
< Yes > | |||
</pre> | |||
<pre> | |||
root@gitlab---stura-htw-dresden ~# | |||
</pre> | |||
---- | |||
Neustart! | |||
---- | |||
<code>turnkey-init</code> | |||
<pre> | |||
TurnKey Linux - First boot configuration | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌────────────────────GitLab Password───────────────────────┐ | |||
│ │ | |||
│ Enter new password for the GitLab 'root' account. │ | |||
│ │ | |||
│ Password Requirements │ | |||
│ - must be at least 8 characters long │ | |||
│ - must contain characters from at least 3 of the │ | |||
│ following categories: uppercase, lowercase, numbers, │ | |||
│ symbols │ | |||
│ ┌──────────────────────────────────────────────────────┐ │ | |||
│ │************************* │ │ | |||
│ └──────────────────────────────────────────────────────┘ │ | |||
├──────────────────────────────────────────────────────────┤ | |||
│ < OK > │ | |||
└──────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
< OK > | |||
</pre> | |||
<pre> | |||
TurnKey Linux - First boot configuration | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌────────────────────GitLab Password───────────────────────┐ | |||
│ │ | |||
│ Confirm password │ | |||
│ │ | |||
│ Password Requirements │ | |||
│ - must be at least 8 characters long │ | |||
│ - must contain characters from at least 3 of the │ | |||
│ following categories: uppercase, lowercase, numbers, │ | |||
│ symbols │ | |||
│ ┌──────────────────────────────────────────────────────┐ │ | |||
│ │************************* │ │ | |||
│ └──────────────────────────────────────────────────────┘ │ | |||
├──────────────────────────────────────────────────────────┤ | |||
│ < OK > │ | |||
└──────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
< OK > | |||
</pre> | |||
<pre> | |||
TurnKey Linux - First boot configuration | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌──────────────────────GitLab Email────────────────────────┐ | |||
│ │ | |||
│ Enter email address for the GitLab 'root' account. │ | |||
│ ┌──────────────────────────────────────────────────────┐ │ | |||
│ │gitlab@stura.htw-dresden.de │ │ | |||
│ └──────────────────────────────────────────────────────┘ │ | |||
│ │ | |||
├──────────────────────────────────────────────────────────┤ | |||
│ <Apply> │ | |||
└──────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
<Apply> | |||
</pre> | |||
<pre> | |||
TurnKey Linux - First boot configuration | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌─────────────────────GitLab Domain────────────────────────┐ | |||
│ │ | |||
│ Enter the domain to serve GitLab. │ | |||
│ ┌──────────────────────────────────────────────────────┐ │ | |||
│ │gitlab.htw.stura-dresden.de │ │ | |||
│ └──────────────────────────────────────────────────────┘ │ | |||
│ │ | |||
├──────────────────────────────────────────────────────────┤ | |||
│ <Apply> │ | |||
└──────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
<Apply> | |||
</pre> | |||
<pre> | |||
Reconfiguring GitLab. This might take a while. Please wait. | |||
</pre> | |||
<pre></pre> | |||
<!-- | |||
<pre> | |||
</pre> | |||
--> | |||
---- | |||
<pre> | |||
TurnKey GNU/Linux Configuration Console | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌─────────────────────Advanced Menu────────────────────────┐ | |||
│ │ | |||
│ TurnKey GNU/Linux │ | |||
│ GITLAB---AUFGABENVERWALTUNG-INFRASTRUKTUR---STUD-HTW-DRE │ | |||
│ SDEN Advanced Menu │ | |||
│ ┌──────────────────────────────────────────────────────┐ │ | |||
│ │Networking Configure appliance networking │ │ | |||
│ │Lets encrypt Let's Encrypt free SSL certificates (│ │ | |||
│ │Mail relaying Enable mail relaying to a remote serv│ │ | |||
│ │Proxy settings Configure Proxy Settings │ │ | |||
│ │Region config Region & time settings │ │ | |||
│ │System settings Various global settings │ │ | |||
│ │Reboot Reboot the appliance │ │ | |||
│ │Shutdown Shutdown the appliance │ │ | |||
│ │Quit Quit the configuration console │ │ | |||
│ │ │ │ | |||
│ └──────────────────────────────────────────────────────┘ │ | |||
├──────────────────────────────────────────────────────────┤ | |||
│ <Select> < Back > │ | |||
└──────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
Lets encrypt Let's Encrypt free SSL certificates ( | |||
</pre> | |||
<pre> | |||
<Select> | |||
</pre> | |||
<pre> | |||
TurnKey GNU/Linux Configuration Console | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌──────────────────────Lets encrypt────────────────────────┐ | |||
│ │ | |||
│ Lets encrypt │ | |||
│ ┌──────────────────────────────────────────────────────┐ │ | |||
│ │ Get certificate Get Let's Encrypt SSl cert │ │ | |||
│ │ │ │ | |||
│ └──────────────────────────────────────────────────────┘ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
│ │ | |||
├──────────────────────────────────────────────────────────┤ | |||
│ <Select> < Back > │ | |||
└──────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
Get certificate Get Let's Encrypt SSl cert | |||
</pre> | |||
<pre> | |||
<Select> | |||
</pre> | |||
<pre> | |||
TurnKey GNU/Linux Configuration Console | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌─────────────────────────────────────────────────────────────────────┐ | |||
│ │ | |||
│ DNS must be configured before obtaining certificates. Incorrectly │ | |||
│ configured DNS and excessive attempts could lead to being │ | |||
│ temporarily blocked from requesting certificates. │ | |||
│ │ | |||
│ Do you wish to continue? │ | |||
│ │ | |||
├─────────────────────────────────────────────────────────────────────┤ | |||
│ < Yes > < No > │ | |||
└─────────────────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
< Yes > | |||
</pre> | |||
<pre> | |||
TurnKey GNU/Linux Configuration Console | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌───────────────────────────────────────────────────────────────────────────────────────────────┐ | |||
│ │ | |||
│ Before getting a Let's Encrypt certificate, you must agree to the current Terms of Service. │ | |||
│ │ | |||
│ You can find the current Terms of Service here: │ | |||
│ │ | |||
│ https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf │ | |||
│ │ | |||
│ Do you agree to the Let's Encrypt Terms of Service? │ | |||
│ │ | |||
├───────────────────────────────────────────────────────────────────────────────────────────────┤ | |||
│ < Yes > < No > │ | |||
└───────────────────────────────────────────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
< Yes > | |||
</pre> | |||
<pre> | |||
TurnKey GNU/Linux Configuration Console | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌────────────────────Certificate Creation Wizard (GitLab)───────────────────────┐ | |||
│ │ | |||
│ Please enter the GitLab domain to generate certificate for. │ | |||
│ │ | |||
│ This is pre-populated with the domain set at firstboot. Please update this │ | |||
│ here to change the set domain and attempt to generate a Let's Encrypt cert. │ | |||
│ │ | |||
│ Please note that this leverages GitLab Omnibus package's bundled │ | |||
│ support for Let's Encrypt. │ | |||
│ │ | |||
│ For more details, please see: │ | |||
│ https://docs.gitlab.com/omnibus/settings/ssl.html │ | |||
│ │ | |||
│ │ | |||
│ ┌───────────────────────────────────────────────────────────────────────────┐ │ | |||
│ │Domain gitlab.htw.stura-dresden.de │ │ | |||
│ │ │ │ | |||
│ └───────────────────────────────────────────────────────────────────────────┘ │ | |||
├───────────────────────────────────────────────────────────────────────────────┤ | |||
│ <Apply > <Cancel> │ | |||
└───────────────────────────────────────────────────────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
<Apply > | |||
</pre> | |||
<pre> | |||
TurnKey GNU/Linux Configuration Console | |||
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |||
┌────────────────────────────┐ | |||
│ │ | |||
│ This will overwrite │ | |||
│ previous settings and │ | |||
│ check for certificate, │ | |||
│ continue? │ | |||
│ │ | |||
├────────────────────────────┤ | |||
│ < Yes > < No > │ | |||
└────────────────────────────┘ | |||
</pre> | |||
<pre> | |||
< Yes > | |||
</pre> | |||
<!-- | |||
<pre> | |||
</pre> | |||
--> | |||
== [[FreeBSD]] == | == [[FreeBSD]] == |
Aktuelle Version vom 14. April 2021, 19:11 Uhr
GitLab ist eine OpenSource Software alternative zu Github.
- Achtung
Dieser Artikel ist ein exemplarischer Artikel.
Es handelt sich hierbei nicht um die Instanz GitLab als Dienst für git vom StuRa. Der StuRa betriebt (derzeit) keinen derartigen Dienst. Das öffentliche Verwalten von Code findet bei Github statt.
TurnKey[Bearbeiten]
https://www.turnkeylinux.org/gitlab
TurnKey 16[Bearbeiten]
https://releases.turnkeylinux.org/turnkey-gitlab/16.0-buster-amd64/
TurnKey 16 Installation[Bearbeiten]
Die automatische Initialisierung dauert eine gefühlte Ewigkeit!
- nach 42 min (1 CPU (überwiegend ausgelastet), 4 GB Arbeitsspeicher (nicht ausgelastet), 16 GB Massenspeicher (nicht ausgelastet)) abgebrochen
nach dem Neustart
ssh root@141.56.51.321
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the ECDSA key sent by the remote host is SHA256:qXaF3mKqLgYXCAmbywRTwuUB0vcWUzXPFJItpb0F5OA. Please contact your system administrator. Add correct host key in /home/stura/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /home/stura/.ssh/known_hosts:42 remove with: ssh-keygen -f "/home/stura/.ssh/known_hosts" -R "141.56.51.321" ECDSA host key for gitlab.htw.stura-dresden.de has changed and you have requested strict checking. Host key verification failed.
ssh-keygen -f "/home/stura/.ssh/known_hosts" -R "141.56.51.321"
ssh root@141.56.51.321
TurnKey Linux - First boot configuration ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌────────────────Initialize Hub services───────────────────┐ │ │ │ 1) TurnKey Backup and Migration: saves changes to files, │ │ databases and package management to encrypted storage │ │ which servers can be automatically restored from. │ │ https://www.turnkeylinux.org/tklbam │ │ │ │ 2) TurnKey Domain Management and Dynamic DNS: │ │ https://www.turnkeylinux.org/dns │ │ │ │ You can start using these services immediately if you │ │ initialize now. Or you can do this manually later (e.g., │ │ from the command line / Webmin) │ │ │ │ API Key: (see https://hub.turnkeylinux.org/profile) │ │ ┌──────────────────────────────────────────────────────┐ │ │ │ │ │ │ └──────────────────────────────────────────────────────┘ │ │ │ ├──────────────────────────────────────────────────────────┤ │ <Apply> <Skip > │ └──────────────────────────────────────────────────────────┘
<Skip >
TurnKey Linux - First boot configuration ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌───System Notifications and Critical Security Alerts──────┐ │ │ │ Enable local system notifications (root@localhost) to be │ │ forwarded to your regular inbox. Notifications include │ │ security updates and system messages. │ │ │ │ You will also be subscribed to receive critical security │ │ and bug alerts through a low-traffic Security and News │ │ announcements newsletter. You can unsubscribe at any │ │ time. │ │ │ │ https://www.turnkeylinux.org/security-alerts │ │ │ │ Email: │ │ ┌──────────────────────────────────────────────────────┐ │ │ │ │ │ │ └──────────────────────────────────────────────────────┘ │ ├──────────────────────────────────────────────────────────┤ │ <Enable> < Skip > │ └──────────────────────────────────────────────────────────┘
< Skip >
TurnKey GNU/Linux - First boot configuration ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌────────────────────Security updates──────────────────────┐ │ │ │ By default, this system is configured to automatically │ │ install security updates on a daily basis: │ │ │ │ https://www.turnkeylinux.org/security-updates │ │ │ │ For maximum protection, we also recommend installing the │ │ latest security updates right now. │ │ │ │ This can take a few minutes. You need to be online. │ │ │ ├──────────────────────────────────────────────────────────┤ │ <Install> < Skip > │ └──────────────────────────────────────────────────────────┘
<Install>
TurnKey GNU/Linux Configuration Console ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌────────────────GITLAB---STURA-HTW-DRESDEN────────────────┐ │ │ │ Web: http://141.56.51.321 │ │ https://141.56.51.321 │ │ Web shell: https://141.56.51.321:12320 │ │ Webmin: https://141.56.51.321:12321 │ │ SSH/SFTP: root@141.56.51.321 (port 22) │ │ │ │ TKLBAM (Backup and Migration): NOT INITIALIZED │ │ │ │ │ │ │ │ │ │ │ │ │ │ TurnKey Backups and Cloud Deployment │ │ https://hub.turnkeylinux.org │ ├──────────────────────────────────────────────────────────┤ │ <Advanced Menu> │ └──────────────────────────────────────────────────────────┘
<Advanced Menu>
TurnKey GNU/Linux Configuration Console ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌─────────────────────Advanced Menu────────────────────────┐ │ │ │ TurnKey GNU/Linux │ │ GITLAB---AUFGABENVERWALTUNG-INFRASTRUKTUR---STUD-HTW-DRE │ │ SDEN Advanced Menu │ │ ┌──────────────────────────────────────────────────────┐ │ │ │Networking Configure appliance networking │ │ │ │Lets encrypt Let's Encrypt free SSL certificates (│ │ │ │Mail relaying Enable mail relaying to a remote serv│ │ │ │Proxy settings Configure Proxy Settings │ │ │ │Region config Region & time settings │ │ │ │System settings Various global settings │ │ │ │Reboot Reboot the appliance │ │ │ │Shutdown Shutdown the appliance │ │ │ │Quit Quit the configuration console │ │ │ │ │ │ │ └──────────────────────────────────────────────────────┘ │ ├──────────────────────────────────────────────────────────┤ │ <Select> < Back > │ └──────────────────────────────────────────────────────────┘
Reboot Reboot the appliance
<Select>
TurnKey GNU/Linux Configuration Console ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌────────────────────────────┐ │ │ │ Reboot the appliance? │ │ │ │ │ │ │ │ │ ├────────────────────────────┤ │ < Yes > < No > │ └────────────────────────────┘
< Yes >
root@gitlab---stura-htw-dresden ~#
Neustart!
turnkey-init
TurnKey Linux - First boot configuration ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌────────────────────GitLab Password───────────────────────┐ │ │ │ Enter new password for the GitLab 'root' account. │ │ │ │ Password Requirements │ │ - must be at least 8 characters long │ │ - must contain characters from at least 3 of the │ │ following categories: uppercase, lowercase, numbers, │ │ symbols │ │ ┌──────────────────────────────────────────────────────┐ │ │ │************************* │ │ │ └──────────────────────────────────────────────────────┘ │ ├──────────────────────────────────────────────────────────┤ │ < OK > │ └──────────────────────────────────────────────────────────┘
< OK >
TurnKey Linux - First boot configuration ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌────────────────────GitLab Password───────────────────────┐ │ │ │ Confirm password │ │ │ │ Password Requirements │ │ - must be at least 8 characters long │ │ - must contain characters from at least 3 of the │ │ following categories: uppercase, lowercase, numbers, │ │ symbols │ │ ┌──────────────────────────────────────────────────────┐ │ │ │************************* │ │ │ └──────────────────────────────────────────────────────┘ │ ├──────────────────────────────────────────────────────────┤ │ < OK > │ └──────────────────────────────────────────────────────────┘
< OK >
TurnKey Linux - First boot configuration ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌──────────────────────GitLab Email────────────────────────┐ │ │ │ Enter email address for the GitLab 'root' account. │ │ ┌──────────────────────────────────────────────────────┐ │ │ │gitlab@stura.htw-dresden.de │ │ │ └──────────────────────────────────────────────────────┘ │ │ │ ├──────────────────────────────────────────────────────────┤ │ <Apply> │ └──────────────────────────────────────────────────────────┘
<Apply>
TurnKey Linux - First boot configuration ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌─────────────────────GitLab Domain────────────────────────┐ │ │ │ Enter the domain to serve GitLab. │ │ ┌──────────────────────────────────────────────────────┐ │ │ │gitlab.htw.stura-dresden.de │ │ │ └──────────────────────────────────────────────────────┘ │ │ │ ├──────────────────────────────────────────────────────────┤ │ <Apply> │ └──────────────────────────────────────────────────────────┘
<Apply>
Reconfiguring GitLab. This might take a while. Please wait.
TurnKey GNU/Linux Configuration Console ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌─────────────────────Advanced Menu────────────────────────┐ │ │ │ TurnKey GNU/Linux │ │ GITLAB---AUFGABENVERWALTUNG-INFRASTRUKTUR---STUD-HTW-DRE │ │ SDEN Advanced Menu │ │ ┌──────────────────────────────────────────────────────┐ │ │ │Networking Configure appliance networking │ │ │ │Lets encrypt Let's Encrypt free SSL certificates (│ │ │ │Mail relaying Enable mail relaying to a remote serv│ │ │ │Proxy settings Configure Proxy Settings │ │ │ │Region config Region & time settings │ │ │ │System settings Various global settings │ │ │ │Reboot Reboot the appliance │ │ │ │Shutdown Shutdown the appliance │ │ │ │Quit Quit the configuration console │ │ │ │ │ │ │ └──────────────────────────────────────────────────────┘ │ ├──────────────────────────────────────────────────────────┤ │ <Select> < Back > │ └──────────────────────────────────────────────────────────┘
Lets encrypt Let's Encrypt free SSL certificates (
<Select>
TurnKey GNU/Linux Configuration Console ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌──────────────────────Lets encrypt────────────────────────┐ │ │ │ Lets encrypt │ │ ┌──────────────────────────────────────────────────────┐ │ │ │ Get certificate Get Let's Encrypt SSl cert │ │ │ │ │ │ │ └──────────────────────────────────────────────────────┘ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├──────────────────────────────────────────────────────────┤ │ <Select> < Back > │ └──────────────────────────────────────────────────────────┘
Get certificate Get Let's Encrypt SSl cert
<Select>
TurnKey GNU/Linux Configuration Console ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌─────────────────────────────────────────────────────────────────────┐ │ │ │ DNS must be configured before obtaining certificates. Incorrectly │ │ configured DNS and excessive attempts could lead to being │ │ temporarily blocked from requesting certificates. │ │ │ │ Do you wish to continue? │ │ │ ├─────────────────────────────────────────────────────────────────────┤ │ < Yes > < No > │ └─────────────────────────────────────────────────────────────────────┘
< Yes >
TurnKey GNU/Linux Configuration Console ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌───────────────────────────────────────────────────────────────────────────────────────────────┐ │ │ │ Before getting a Let's Encrypt certificate, you must agree to the current Terms of Service. │ │ │ │ You can find the current Terms of Service here: │ │ │ │ https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf │ │ │ │ Do you agree to the Let's Encrypt Terms of Service? │ │ │ ├───────────────────────────────────────────────────────────────────────────────────────────────┤ │ < Yes > < No > │ └───────────────────────────────────────────────────────────────────────────────────────────────┘
< Yes >
TurnKey GNU/Linux Configuration Console ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌────────────────────Certificate Creation Wizard (GitLab)───────────────────────┐ │ │ │ Please enter the GitLab domain to generate certificate for. │ │ │ │ This is pre-populated with the domain set at firstboot. Please update this │ │ here to change the set domain and attempt to generate a Let's Encrypt cert. │ │ │ │ Please note that this leverages GitLab Omnibus package's bundled │ │ support for Let's Encrypt. │ │ │ │ For more details, please see: │ │ https://docs.gitlab.com/omnibus/settings/ssl.html │ │ │ │ │ │ ┌───────────────────────────────────────────────────────────────────────────┐ │ │ │Domain gitlab.htw.stura-dresden.de │ │ │ │ │ │ │ └───────────────────────────────────────────────────────────────────────────┘ │ ├───────────────────────────────────────────────────────────────────────────────┤ │ <Apply > <Cancel> │ └───────────────────────────────────────────────────────────────────────────────┘
<Apply >
TurnKey GNU/Linux Configuration Console ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ┌────────────────────────────┐ │ │ │ This will overwrite │ │ previous settings and │ │ check for certificate, │ │ continue? │ │ │ ├────────────────────────────┤ │ < Yes > < No > │ └────────────────────────────┘
< Yes >
FreeBSD[Bearbeiten]
FreeBSD Installation[Bearbeiten]
Angeleitet von Installationsanleitung für die Installation aus dem Quellcode.
Die Installation wird auf einem FreeNAS 9.3-stable in einer Jail durchgeführt.
FreeBSD Abhängigkeiten[Bearbeiten]
Installation der Packete erfolgt über pkg install
debian packages | freebsd packages |
---|---|
build-essential | gmake |
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 gmake 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.
FreeBSD Ruby[Bearbeiten]
gem install bundler --no-ri --no-rdoc
FreeBSD System User[Bearbeiten]
- 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