Add more explicit config and connection options.
Add dumpdir and stderrlog to config.
Fix incorrenct log dir.
added  variable, redhat, centos package type