I need it encrypted and be decrypted just only when apache started, so this is the plan:

  1. Boot computer.
  2. Decrypt /var/www and mysql databases files.
  3. Start apache.

So maybe its the path not to use mountion encrypted containers like truecrypt do.

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

This is no problem with eCryptfs.

Create two partitions as eCryptfs and mount it after boot under /var/www and /var/lib/mysql.

link|improve this answer
Ok thanks! This is some encrypted containers such as truecrypt? – purple Aug 8 '11 at 20:57
If you like to call it that way. Follow the Wikipedia article and the referenced documentation. But this is what you requested. – mailq Aug 8 '11 at 21:03
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.