update data_dir param
setup some basic variables
add basic template
enable default template
use custom apt repo
manage mysql database
manage apache vhost for piler
add default sphinx template
manage sphinxsearch