support centos 7 and fix some bugs

1.support centos 7
2.fix detect system release bug.
3.fix custom version install bug.
4.update softwares to the latest version