refactoring centos7