FreeBSD virtual environment management and repository

Attention! Current pages describe CBSD version 12.1.x. 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.

CentOS jail

Linux CentOS 6.2 i386 as FreeBSD jail images

For installing CentOS cbsd jail use bsdconfig cbsd and Repository submenu, or just follow this steps:

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

or

			% cbsd repo action=get sources=img name=centos ver=10.1
		

If you hosted on another ( non 10.1 ) FreeBSD version.

Follow settings must be set before starting:

			% sysrc linux_enable=YES
			% service abi restart
		

Also please set in sysctl.conf

			compat.linux.osrelease=2.6.18
		

then:

			% service sysctl restart
		

PS: Linux login is not allow -f for root user, so cbsd jlogin will not work. Use alternative method (such as jexec jid login -f nonroot_user) or:

			% chroot $workdir/jails-data/centos-data bash
		

And setup openssh services for remote login