fix mysql conflict because wrong detect centos 6; fix web config for disable domain; fix clearcache logic; fix appear if restore from previous version