running a web server with encrypted file system (all or part of it)

Posted by Carlos on Super User See other posts from Super User or by Carlos
Published on 2010-05-05T12:31:20Z Indexed on 2010/05/05 12:38 UTC
Read the original article Hit count: 196

Hi,

I need a webserver (lamp) running inside a virtual machine (#1) running as a service (#2) in headless mode (#3) with part or the whole filesystem encrypted (#4).

The virtual machine will be started with no user intervention and provide access to a web application for users in the host machine. Points #1,#2 and #3 are checked and proved to be working fine with Sun VirtualBox, so my question is for #4:

Can I encrypt the all filesystem and still access the webserver (using a browser) or will grub ask me for a password?

If encrypting the all filesystem is not an option, can I encrypt only /home and /var/www ? will apache/php be able to use files in /home or /var/www without asking for a password or mounting these partitions manually?

Thanks

© Super User or respective owner

Related posts about virtual-machine

Related posts about webserver