FreeBSD:Jails: Difference between revisions
From Wiki³
No edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
alias buildjail '/usr/bin/time -a -h -o ~/buildjail.benchmark make buildworld SRCCONF=/home/k/dotfiles/etc/jail-src.conf' | alias buildjail '/usr/bin/time -a -h -o ~/buildjail.benchmark make buildworld SRCCONF=/home/k/dotfiles/etc/jail-src.conf' | ||
alias installjail 'sudo make installworld DESTDIR=\!:1 SRCCONF=/home/k/dotfiles/etc/jail-src.conf' | alias installjail 'sudo make installworld DESTDIR=\!:1 SRCCONF=/home/k/dotfiles/etc/jail-src.conf' | ||
</nowiki></pre> | |||
'''{{Mono|jail-src.conf}}''' | |||
<pre><nowiki> | |||
# $hg$ | |||
# | |||
# source build options | |||
WITH_BIND_UTILS=yes | |||
WITH_EXAMPLES=yes | |||
WITHOUT_ACPI=yes | |||
WITHOUT_ATM=yes | |||
WITHOUT_AUTHPF=yes | |||
WITHOUT_BIND=yes | |||
WITHOUT_BIND_DNSSEC=yes | |||
WITHOUT_BIND_ETC=yes | |||
WITHOUT_BIND_LIBS_LWRES=yes | |||
WITHOUT_BIND_MTREE=yes | |||
WITHOUT_BIND_NAMED=yes | |||
WITHOUT_BLUETOOTH=yes | |||
WITHOUT_BOOT=yes | |||
WITHOUT_CALENDAR=yes | |||
WITHOUT_CDDL=yes | |||
WITHOUT_CRYPT=yes | |||
WITHOUT_GCOV=yes | |||
WITHOUT_GDB=yes | |||
WITHOUT_GPIB=yes | |||
WITHOUT_GSSAPI=yes | |||
WITHOUT_HTML=yes | |||
WITHOUT_I4B=yes | |||
WITHOUT_INFO=yes | |||
WITHOUT_IPFILTER=yes | |||
WITHOUT_IPX=yes | |||
WITHOUT_IPX_SUPPORT=yes | |||
WITHOUT_JAIL=yes | |||
WITHOUT_KERBEROS=yes | |||
WITHOUT_LPR=yes | |||
WITHOUT_MAILWRAPPER=yes | |||
WITHOUT_NCP=yes | |||
WITHOUT_NETCAT=yes | |||
WITHOUT_NLS=yes | |||
WITHOUT_NLS_CATALOGS=yes | |||
WITHOUT_OPENSSH=yes | |||
WITHOUT_PF=yes | |||
WITHOUT_PROFILE=yes | |||
WITHOUT_RCMDS=yes | |||
WITHOUT_SENDMAIL=yes | |||
WITHOUT_SHAREDOCS=yes | |||
WITHOUT_USB=yes | |||
WITHOUT_ZFS=yes | |||
</nowiki></pre> | </nowiki></pre> | ||
[[Category:FreeBSD]] | [[Category:FreeBSD]] |
Latest revision as of 00:23, 3 February 2012
UNDER CONSTRUCTION: The document is currently being modified! |
:: install a jail cd /usr/src buildjail installjail /usr/jail/10_dev/ sudo /etc/rc.d/jail restart :: upgrade a jail cd /usr/src buildjail sudo mergemaster -piU -D /usr/jail/10_dev/ installjail /usr/jail/10_dev/ sudo mergemaster -iU -D /usr/jail/10_dev/ sudo /etc/rc.d/jail restart ## .cshrc aliases ## alias buildjail '/usr/bin/time -a -h -o ~/buildjail.benchmark make buildworld SRCCONF=/home/k/dotfiles/etc/jail-src.conf' alias installjail 'sudo make installworld DESTDIR=\!:1 SRCCONF=/home/k/dotfiles/etc/jail-src.conf'
jail-src.conf
# $hg$ # # source build options WITH_BIND_UTILS=yes WITH_EXAMPLES=yes WITHOUT_ACPI=yes WITHOUT_ATM=yes WITHOUT_AUTHPF=yes WITHOUT_BIND=yes WITHOUT_BIND_DNSSEC=yes WITHOUT_BIND_ETC=yes WITHOUT_BIND_LIBS_LWRES=yes WITHOUT_BIND_MTREE=yes WITHOUT_BIND_NAMED=yes WITHOUT_BLUETOOTH=yes WITHOUT_BOOT=yes WITHOUT_CALENDAR=yes WITHOUT_CDDL=yes WITHOUT_CRYPT=yes WITHOUT_GCOV=yes WITHOUT_GDB=yes WITHOUT_GPIB=yes WITHOUT_GSSAPI=yes WITHOUT_HTML=yes WITHOUT_I4B=yes WITHOUT_INFO=yes WITHOUT_IPFILTER=yes WITHOUT_IPX=yes WITHOUT_IPX_SUPPORT=yes WITHOUT_JAIL=yes WITHOUT_KERBEROS=yes WITHOUT_LPR=yes WITHOUT_MAILWRAPPER=yes WITHOUT_NCP=yes WITHOUT_NETCAT=yes WITHOUT_NLS=yes WITHOUT_NLS_CATALOGS=yes WITHOUT_OPENSSH=yes WITHOUT_PF=yes WITHOUT_PROFILE=yes WITHOUT_RCMDS=yes WITHOUT_SENDMAIL=yes WITHOUT_SHAREDOCS=yes WITHOUT_USB=yes WITHOUT_ZFS=yes