add apt-get update before installing pacakges
add template php files
add adminpass template