Management and Repository for FreeBSD Jails

Attention! Current pages describe cbsd version 10.0.6. 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.

Redmine jail

For installing Redmine cbsd jail just follow this steps:

                        % cbsd repo action=get sources=img name=redmine
                

or

                        % cbsd repo action=get sources=img name=redmine 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 passwords of MySQL superuser and redmine SQL user:

                        % cbsd jconfig jname=redmine install
                

Now Redmine ready to use. Do not forget to set astart=1 in cbsd jconfig jname=redmine if you want for starting jail automatically. By the starting jail via

                        % cbsd jstart redmine
                

a clean Redmine installation in the jail will be available for accessing via http://FQDN with default login and password: admin

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

For non-interactive and automatic deploying (for example you create hosting with lots of RM installation for customer) you can use:

                        % cbsd jconfig jname=redmine install rootpw= rmpw= fqdn= redmine_lang=
                

Hint:

You can use the ldapsrv jail to provide centralized authentication service