Creating a simple distro?
I'm more or less a linux newbie, and I'd like to learn more of the ins and outs of linux and bsd. I'd like to create my own simple linux distro: basically a barebones LAMP with ftp. At one point in the past, I was going to do a fork of FreeNAS with a friend, and now I'm thinking of starting up that idea again, but I'm having trouble finding the source code/and how to build it.
I don't really care what I start off from. My idea is to use other simple distros like FreeNAS, pfSense, or m0n0wall, and pretty much add mysql and ftp, to create a low system resource, very simplistic LAMP server.
Can you point me in any directions? Thanks!