How Do You Chroot Apache Running Ubuntu?


2 Answers

Anonymous Profile
Anonymous answered
You could change OS's or you could use just 'apt-get install libapache2-mod-chroot'

That should be a pretty good start for you.

Good luck and don't believe it when people tell you Ubuntu isn't a server.

Anonymous Profile
Anonymous answered
I suggest that you choose another OS for such an operation. Ubuntu is primarily for desktop users and by default it even does not have such basic tools as openssh server or nfs utilities.

What about trying either some of the server like linux, e.g. Debian (which is very similar to Ubuntu by how the OS insides are distributed), or even better solution: OpenBSD or FreeBSD. Which both have excellent documentation on the subject (chrooted Apache).

And if you want to try first, or want to keep Ubuntu on your machine, run them in VirtualBox or Qemu.
Good Luck

Answer Question