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.

Mediawiki SQLite3 jail

For installing MediaWiki with SQLite3 backend just follow this steps (for FreeBSD 10 and above):

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

or

                        % cbsd repo action=get sources=img name=wikisqlite 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 MediaWiki:

                        % cbsd jconfig jname=wikisqlite wikiinstall
                

After entering FQDN of instance, Install procedure and starting jail the clean MediaWiki installation will be available via http://FQDN/

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