Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Are there any better alternative to chroot environment? I'm thinking about running nginx on a jailed environment.

BTW, I'm on OpenVZ VPS, so modifying the Kernel is a no-no.

(I think that prevents me from installing SELinux, AppArmor, etc.)

share|improve this question
Can you clarify your needs? A chroot is usually good enough to jail a server... –  ā„¯aphink Feb 22 '12 at 10:23
Have a look at this answer - it is a bit more general, but I think you'll find information useful in your scenario. –  rozcietrzewiacz Feb 22 '12 at 11:05
@Raphink I'm looking for a way to secure my server running on OpenVZ VPS... –  user269334 Feb 23 '12 at 19:08
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.