Is there somewhere where i can find out what is the Debian file system layout? I would like to create a folder and inside of that folder i want to install Apache, PHP, MySQL, PostgreSQL but i want to install them in the same way as if they were installed in a Debian distro using apt for example.
i.e.: binaries in /usr/bin, conf in /etc (in my case ./MyFolder/etc/) etc..
So whant i am looking is where can i find out what exactly is the place that the files of Apache, PHP, MySQL are placed in debian?
Debian is a LSB compliant distribution. So the standards are described (not exclusively) at http://en.wikipedia.org/wiki/Linux_Standard_Base
But you won't install software at places where the package manager will also install the software! So I'll advice you not to do what you want.