Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I need it encrypted and be decrypted just only when apache started, so this is the plan:
So maybe its the path not to use mountion encrypted containers like truecrypt do.
This is no problem with eCryptfs.
Create two partitions as eCryptfs and mount it after boot under /var/www and /var/lib/mysql.
Required, but never shown