centos 6.x to 7

centos 6.x upgrade 7

※ 아래 업데이트 진행시 데이터 손실이나 OS 재설치가 필요할 수 있습니다.


yum을 통해 모든 패키지 업데이트 후 리부팅
# yum update -y;
# reboot

clean install 을 위해 기존 설치된 apm 관련 패키지 삭제
# yum remove httpd httpd-tools apr apr-util mysql mysql-client compat-mysql51.x86_64 mysql-libs.x86_64 php*

update 관련 설치
# yum install http://buildlogs.cdn.centos.org/centos/6/upg/x86_64/Packages/openscap-1.0.8-1.0.1.el6.centos.x86_64.rpm

preupg 설치 : http://buildlogs.cdn.centos.org/centos/6/upg/x86_64/Packages/
# wget http://buildlogs.cdn.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-1.0.2-36.0.1.el6.centos.x86_64.rpm
# wget http://buildlogs.cdn.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-contents-0.5.14-1.el6.centos.noarch.rpm
# wget http://buildlogs.cdn.centos.org/centos/6/upg/x86_64/Packages/redhat-upgrade-tool-0.7.22-3.el6.centos.noarch.rpm
# rpm -Uvh *.rpm

Pre-upgrade Assistant 실행
# preupg

RedHat Upgrade Tool 실행
# rpm –import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7
# centos-upgrade-tool-cli –network 7 –instrepo=http://mirror.centos.org/centos/7/os/x86_64

리부팅

Comments are closed.