Ubuntu 14.04.2 LTS 에서 16.04.05 LTS 로 업그레이드 진행

2019. 2. 8. 14:35·Linux


1.     설치 된 패키지 업그레이드

현재 설치 된 버전의 모든 패키지를 최신으로 업데이트 후 진행하는 것이 가장 안전합니다.

# sudo apt-get update

è  패키지 목록을 업데이트

# sudo apt-get upgrade

è  설치 된 패키지를 최신 버전으로 업그레이드

# sudo apt-get dist-upgrade

è  의존성 변경과 관련 된 업그레이드 진행

 

2.     do-release-upgrade 도구를 사용하여 업그레이드 진행

먼저 update-manager-core 패키지가 설치되어 있는지 확인합니다.

# sudo apt-get install update-manager-core

 

do-release-upgrade 명령을 실행하여 업그레이드를 진행합니다.

# sudo do-release-upgrade

-------------------------------------------------------------------------------------------

        Reading cache

 

         Checking package manager

 

         Continue running under SSH?

 

         This session appears to be running under ssh. It is not recommended

         to perform a upgrade over ssh currently because in case of failure it

         is harder to recover.

 

         If you continue, an additional ssh daemon will be started at port

         '1022'.

         Do you want to continue?

 

         Continue [yN] y

         -------------------------------------------------------------------------------------------

 

        Starting additional sshd 
 
         To make recovery in case of failure easier, an additional sshd will 
         be started on port '1022'. If anything goes wrong with the running 
         ssh you can still connect to the additional one. 
         If you run a firewall, you may need to temporarily open this port. As 
         this is potentially dangerous it's not done automatically. You can 
         open the port with e.g.: 
         'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT' 
 
         To continue please press [ENTER] Enter 키를 누릅니다.

         -------------------------------------------------------------------------------------------

 

        Updating repository information
 
         Third party source disabled 
 
         Some third party entries in your sources.list were disabled. Yon can
         re-enable them after the upgrade with the ‘software-properties’ tool
         or your package manage. 
 
         To continue please press  [ENTER] Enter 키를 누릅니다.

         -------------------------------------------------------------------------------------------

 

        Do you want to start the upgrade?
 
 
         14 installed packages are no longer supported by Canonical. You can
         still get support from the community.
 
         10 packages are going to be removed. 104 new packages are going to be
         installed. 399 packages are going to be upgraded.
 
         You have to download a total of 232 M. This download will take about
         46 seconds with your connection.
 
         Installing the upgrade can take several hours. Once the download has
         finished, the process cannot be canceled.
 
          Continue [yN]  Details [d]y

         -------------------------------------------------------------------------------------------

          

           설치 중 서비스 자동 재시작과 관련하여 Yes 선택 합니다.

         

 

           이 후 수정 된 구성 파일에 대해 기본 버전으로 바꿀지 물어보는 메시지가 나타납니다.

           default 값인 N 를 선택 (해당 패키지에 대해 잘 알고 있으면 변경해도 상관은 없음)

         -------------------------------------------------------------------------------------------

 

           현재 버전 보관 선택 합니다.


         -------------------------------------------------------------------------------------------

 

         Remove obsolete packages? 
 
         53 packages are going to be removed. 
 
          Continue [yN]  Details [d]y

         -------------------------------------------------------------------------------------------

 

         System upgrade is complete.
 
         Restart required 
 
         To finish the upgrade, a restart is required. 
         If you select 'y' the system will be restarted. 
 
         Continue [yN] y

         -------------------------------------------------------------------------------------------

 

         === Command detached from window (Fri Feb  8 14:21:27 2019) ===
         === Command terminated normally (Fri Feb  8 14:21:27 2019) ===

         -------------------------------------------------------------------------------------------

 

           SSH 세션이 종료 되면서 업그레이드가 완료 됩니다. (서버 리부팅 자동 진행)

          

3.     리부팅 후 버전 확인

# lsb_release –a

            -------------------------------------------------------------------------------------------

No LSB modules are available.

Distributor ID:     Ubuntu

Description:        Ubuntu 16.04.5 LTS

Release:            16.04

Codename:        xenial

         -------------------------------------------------------------------------------------------


저작자표시 (새창열림)
'Linux' 카테고리의 다른 글
  • Mutt 를 이용한 메일 발송
  • Disk mapper + GPT 디스크 구성 (Ubuntu 16.04.6 LTS)
  • Ubuntu 16.04 network 이름 변경
  • Disk mapper 구성 (RHEL 6.10)
기억보다는 기록을...
기억보다는 기록을...
내가 보려고 정리하는 글..
  • 기억보다는 기록을...
    메모장
    기억보다는 기록을...
    • 분류 전체보기
      • 클라우드(Azure, AWS, Alibaba)
      • 모니터링(Zabbix,Grafana)
      • 가상화(VMWare, Hyper-V)
      • Docker
      • Ansible
      • Linux
      • Windows
      • 이것저것
      • SQL
      • -------------------------
      • 재테크
  • 전체
    오늘
    어제
  • hELLO· Designed By정상우.v4.10.2
기억보다는 기록을...
Ubuntu 14.04.2 LTS 에서 16.04.05 LTS 로 업그레이드 진행
상단으로

티스토리툴바