Are you doing this for experience or profit?
Establishing a mining pool is not just a simple technical task you do suddenly because you just want to. You should consider researching more and actually marketing your pool. Your pool will be useless if only a few people mine with you.
That being said, here is a link to a guide i found on google:
https://bitcointalk.org/index.php?topic=1809513.0