Rolando,
You should try installation scripts as per Gustaf's recommendation: "install-ns.sh" and "install-oacs.sh"
Plus, you may even edit those scripts, in case your OS is different (Ubuntu and Debian are the standards) , or if you'd like to customize your on automated installation, such as "httpd" directory and so on.
Do not hesitate to ask if you get stuck somehow.
Best wishes,
I