Tag Info

Hot answers tagged

3

As long as you do not require a kernel different from the host system to be run in one of your guests, operating system virtualization will probably be the solution with the least amount of overhead. Next to the kernel version restriction, you'll also find it impossible to access raw devices from within a jail, or to alter the network config from the ...


3

FreeBSD jails are great for separating tasks on a single server. I had such an experience when I needed to run 2 virtual LAMP servers on one machine: Apache + mod_php4, MySQL 4.0 Apache + mod_php5, MySQL 5.0 So I just set up 2 jails with different ip's, configured a name server in a "real" environment and all worked fine for almost a year (after that the ...


3

Nicely ask your host to enable /bin/bash It's literally a one click "upgrade" in WHM that takes 10 seconds to enable. If they won't do it, then you are stuck as everyone else has said.


2

You need pseudo tty's for screen to work, there's no way around that. Unless you can convince your hosting company to bind mount /dev in to your chroot jail there's not really much else you can hope to do.


2

Sorry, got hung up on the connectivity issue and didn't realize you just want to install ports. On the host system install PortUpgrade, it's much easier than fetching package deficiencies manually: pkg_add -r portupgrade Then use it to fetch the packages: portupgrade -NRFPP $PKG_NAME ie. portupgrade -NRFPP lang/perl5.14 The package files will be ...


2

The command issued will run along side the command chroot and thus could be profiled. It is probably different in each case, as each chroot would have different requirements and software inside said jail. Each chrooted user is doing different things and thus it should really be different per server daemon running under a chrooted user. A simple test would ...


2

I believe this site has the info your looking for, with some nice comparisons of before and after: [http://www.playingwithwire.com/2009/06/virtual-failure-yippiemove-switches-from-vmware-to-freebsd-jails/][1]


1

LDAP or NIS is the Right Solution -- it's really not that complicated, and you should take a day and learn both (figure about half a day each to get the basics. Less if you buy the O'Reilly NIS book & LDAP book. The big advantage here is you can centralize some accounts (administrative access/support users), authorize others on a per-jail basis, and ...


1

You could try hardlinks (ln(1)).


1

The overhead of KVM/Xen towards FreeBSD Jails is big enough to prevent it. I am running several FreeBSD servers with nginx and can't recommend anything better than this combination. FreeBSD has great security features and is extremely stable. nginx is very fast, you can tweak a lot and tune it to the max. Sure, Debian is a very nice system and also quite ...


1

Use full virtualization instead of jails (like KVM). (Or have someone fix jails in FreeBSD so they actually separate things). PostgreSQL will always require shared memory and there is no way around it.


1

so /dev/null exists, or you have devfs mounted? If you just made a symlink or something, that doesn't work.


1

That section of the handbook doesn't make any reference to freebsd-update, but my understanding of how freebsd-update works implies that your steps aren't quite correct. In particular, I don't think freebsd-update touches your source directory, so you're building/installing whatever you have in /usr/src (probably -RELEASE source if you didn't run cvsup). ...


1

How about running following from the host system? jexec <jid> w Like: # jexec 19 w 11:38AM up 8 days, 3:17, 1 user, load averages: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE WHAT root p2 127.0.0.2 11:30AM 8 -csh (csh)


1

Virtualization will get you more features such as raw sockets, being able to test a new FreeBSD kernel, being able to put the guests to sleep, reboot the host and resume the guests and configuring the kernel differently in the different hosts. Not being able to ping from a bsd jail sucks. (maybe this can be turned on, I'm not a freebsd guru). ...



Only top voted, non community-wiki answers of a minimum length are eligible