Attention! Current pages describe cbsd version 10.0.7. If you are using an older version, please update first.
Attention! I apologize for the automatic translation of this text. You can improve it by sending me a more correct version of the text or fix html pages via GITHUB repository.
GITLab jail
For installing Gitlab cbsd jail just follow this steps (for FreeBSD 10 and above):
% cbsd repo action=get sources=img name=gitlab
or
% cbsd repo action=get sources=img name=gitlab ver=10.0
If you hosted on another ( non 10.0 ) FreeBSD version. After image downloading please set correct name and ip address of the jail and run a install script that asks you for FQDN of WEB server and gitlab:
% cbsd jconfig jname=gitlab gitlabinstall
After pressing Install, you get an standart GitLab init-script question:
Do you want to continue (yes/no)?
Type 'yes' for begin initialization.
Now Gitlab ready to use. Do not forget to set astart=1 in cbsd jconfig jname=gitlab if you want for starting jail automatically. By the starting jail via
% cbsd jstart gitlab
a clean GitLab installation in the jail will be available for accessing via http://FQDN with default login: [email protected] and default password: 5iveL!fe
Important:
When a new jail is created or obtaining from the repository, make it a rule ALWAYS change the user's password root in jail, even if you do not plan to run it ssh/ftp/rsh and similar services. If the jail is created with applytpl=0, by default /etc/{passwd,master.passwd,group} in the jail as the original "clean" files FreeBSD, so password of root user is empty. If jail created with applytpl=1 (it also refers to images from repository) $workdir/share/jail-skel files will be used as templates where root password is 'cbsd' in default CBSD installation. You can change default root password when new jail is created via edit of hash in skel master.passwd via:
% vipw -d ${workdir}/share/jail-skel/etc
commands, or specify alternative path to jail-skel dir in .jconf (jcreate tools) config
Hint:
You can use the ldapsrv jail to provide centralized authentication service