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.

Wordpress FreeBSD jail image

WordPress is a free and open source blogging tool and a content management system (CMS) based on PHP and MySQL, which runs on a web hosting service. Features include a plug-in architecture and a template system. WordPress is used by more than 22.0% of the top 10 million websites as of August 2013. WordPress is the most popular blogging system in use on the Web, at more than 60 million websites.

For installing Wordpress CBSD jail just follow this steps:

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

or

                        % cbsd repo action=get sources=img name=wordpress 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 wordpress SQL user:

                        % cbsd jconfig jname=wordpress install
                

Now Wordpress ready to use. Do not forget to set astart=1 in cbsd jconfig jname=wordpress if you want to start jail automatically. By starting jail via

                        % cbsd jstart wordpress
                

a clean Wordpress installation in the jail will be available for access 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

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

                        % cbsd jconfig jname=wordpress install rootpw= wordpresspw= fqdn=