2014년 8월 13일 수요일

Upgrade from CentOS 6.5 to 7.0

Upgrade from CentOS 6.5 to 7.0

  • update yum
    # yum -y update
    
  • install packages
    # yum -y install openscap pcre-devel libxml2-devel libxslt-devel
    # yum -y install m2crypto python-simplejson mod_wsgi
    
  • fetch rpms
    # rpm -ihv http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-1.0.2-33.el6.x86_64.rpm
    # rpm -ihv http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-contents-0.5.13-1.el6.noarch.rpm
    # rpm -ihv http://dev.centos.org/centos/6/upg/x86_64/Packages/preupgrade-assistant-ui-1.0.2-33.el6.x86_64.rpm
    # rpm -ihv http://dev.centos.org/centos/6/upg/x86_64/Packages/python-rhsm-1.9.7-1.el6.x86_64.rpm
    # rpm -ihv http://dev.centos.org/centos/6/upg/x86_64/Packages/redhat-upgrade-tool-0.7.22-1.el6.noarch.rpm
    
  • RHEL setting
    # preupg -s RHEL6_7
    
  • upgrade
    # redhat-upgrade-tool-cli --network 7.0 --instrepo http://mirror.bytemark.co.uk/centos/7/os/x86_64/ --force –-nogpgcheck
    
  • reboot
    # shutdown -r now

댓글 없음:

댓글 쓰기