우분투 14 → 16 업그레이드 편집하기

경고: 로그인하지 않았습니다. 편집을 하면 IP 주소가 공개되게 됩니다. 로그인하거나 계정을 생성하면 편집자가 사용자 이름으로 기록되고, 다른 장점도 있습니다.

편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.

최신판 당신의 편집
5번째 줄: 5번째 줄:
* 디스크 남은 용량 확인
* 디스크 남은 용량 확인
* 현재 우분투 버전 확인
* 현재 우분투 버전 확인
<syntaxhighlight lang='console'>
<source lang='console'>
root@zetawiki:~# cat /etc/issue
root@zetawiki:~# cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
Ubuntu 14.04.4 LTS \n \l
</syntaxhighlight>
</source>


==apt-get update==
==apt-get update==
{{참고|apt-get update}}
{{참고|apt-get update}}
<syntaxhighlight lang='console'>
<source lang='console'>
root@zetawiki:~# apt-get update
root@zetawiki:~# apt-get update
Hit https://deb.nodesource.com trusty InRelease
Hit https://deb.nodesource.com trusty InRelease
22번째 줄: 22번째 줄:
Fetched 3,520 kB in 18s (193 kB/s)                                             
Fetched 3,520 kB in 18s (193 kB/s)                                             
Reading package lists... Done
Reading package lists... Done
</syntaxhighlight>
</source>


==apt-get dist-upgrade==
==apt-get dist-upgrade==
{{참고|apt-get dist-upgrade}}
{{참고|apt-get dist-upgrade}}
<syntaxhighlight lang='console'>
<source lang='console'>
root@zetawiki:~# apt-get dist-upgrade
root@zetawiki:~# apt-get dist-upgrade
Reading package lists... Done
Reading package lists... Done
51번째 줄: 51번째 줄:
After this operation, 334 MB of additional disk space will be used.
After this operation, 334 MB of additional disk space will be used.
Do you want to continue? [Y/n]  
Do you want to continue? [Y/n]  
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main base-files amd64 7.2ubuntu5.5 [67.5 kB]
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main base-files amd64 7.2ubuntu5.5 [67.5 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main libssl-doc all 1.1.0f-2~ubuntu14.04.1+deb.sury.org+1 [1,487 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main libssl-doc all 1.1.0f-2~ubuntu14.04.1+deb.sury.org+1 [1,487 kB]
60번째 줄: 60번째 줄:
Processing triggers for libapache2-mod-php7.1 (7.1.8-2+ubuntu14.04.1+deb.sury.org+4) ...
Processing triggers for libapache2-mod-php7.1 (7.1.8-2+ubuntu14.04.1+deb.sury.org+4) ...
Processing triggers for libapache2-mod-php7.0 (7.0.22-2+ubuntu14.04.1+deb.sury.org+4) ...
Processing triggers for libapache2-mod-php7.0 (7.0.22-2+ubuntu14.04.1+deb.sury.org+4) ...
</syntaxhighlight>
</source>


==apt-get install update-manager-core==
==apt-get install update-manager-core==
<syntaxhighlight lang='console'>
<source lang='console'>
root@zetawiki:~# apt-get install update-manager-core
root@zetawiki:~# apt-get install update-manager-core
Reading package lists... Done
Reading package lists... Done
73번째 줄: 73번째 줄:
Use 'apt-get autoremove' to remove them.
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
</syntaxhighlight>
</source>


==do-release-upgrade==
==do-release-upgrade==
<syntaxhighlight lang='console'>
<source lang='console'>
root@zetawiki:~# do-release-upgrade
root@zetawiki:~# do-release-upgrade
Checking for a new Ubuntu release
Checking for a new Ubuntu release
97번째 줄: 97번째 줄:


Continue [yN] y
Continue [yN] y
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
Starting additional sshd  
Starting additional sshd  


110번째 줄: 110번째 줄:


To continue please press [ENTER]
To continue please press [ENTER]
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
Reading package lists... Done
Reading package lists... Done
Building dependency tree         
Building dependency tree         
138번째 줄: 138번째 줄:


To continue please press [ENTER]
To continue please press [ENTER]
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
Get:1 http://us.archive.ubuntu.com xenial InRelease [247 kB]                                 
Get:1 http://us.archive.ubuntu.com xenial InRelease [247 kB]                                 
Get:2 http://security.ubuntu.com xenial-security InRelease [102 kB]                         
Get:2 http://security.ubuntu.com xenial-security InRelease [102 kB]                         
175번째 줄: 175번째 줄:


  Continue [yN]  Details [d]y
  Continue [yN]  Details [d]y
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
Fetching
Fetching
Get:1 http://us.archive.ubuntu.com/ubuntu/ xenial-updates/main base-files amd64 9.4ubuntu4.5 [68.4 kB]
Get:1 http://us.archive.ubuntu.com/ubuntu/ xenial-updates/main base-files amd64 9.4ubuntu4.5 [68.4 kB]
182번째 줄: 182번째 줄:
Get:3 http://us.archive.ubuntu.com/ubuntu/ xenial-updates/main libc-bin amd64 2.23-0ubuntu9 [627 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ xenial-updates/main libc-bin amd64 2.23-0ubuntu9 [627 kB]
... (생략)
... (생략)
</syntaxhighlight>
</source>
* "Configuring libssl1.0.0:amd64" --- "Restart services during package upgrades without asking?" --- 〈Yes〉 {{Enter}}
* "Configuring libssl1.0.0:amd64" --- "Restart services during package upgrades without asking?" --- 〈Yes〉 {{Enter}}
<syntaxhighlight lang='console'>
<source lang='console'>
Restarting services possibly affected by the upgrade:
Restarting services possibly affected by the upgrade:
  * Stopping Postfix Mail Transport Agent postfix
  * Stopping Postfix Mail Transport Agent postfix
205번째 줄: 205번째 줄:
  The default action is to keep your current version.
  The default action is to keep your current version.
*** ntp.conf (Y/I/N/O/D/Z) [default=N] ? y
*** ntp.conf (Y/I/N/O/D/Z) [default=N] ? y
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
Installing new version of config file /etc/ntp.conf ...
Installing new version of config file /etc/ntp.conf ...
  * Starting NTP server ntpd
  * Starting NTP server ntpd
225번째 줄: 225번째 줄:
  The default action is to keep your current version.
  The default action is to keep your current version.
*** jail.conf (Y/I/N/O/D/Z) [default=N] ? y
*** jail.conf (Y/I/N/O/D/Z) [default=N] ? y
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
Installing new version of config file /etc/fail2ban/jail.conf ...
Installing new version of config file /etc/fail2ban/jail.conf ...
Installing new version of config file /etc/init.d/fail2ban ...
Installing new version of config file /etc/init.d/fail2ban ...
Installing new version of config file /etc/logrotate.d/fail2ban ...
Installing new version of config file /etc/logrotate.d/fail2ban ...
... (생략)
... (생략)
</syntaxhighlight>
</source>
* "What do you want to do about modified configuration file 50unattended-upgrades?" --- install the package maintainer's version {{Enter}}
* "What do you want to do about modified configuration file 50unattended-upgrades?" --- install the package maintainer's version {{Enter}}
<syntaxhighlight lang='console'>
<source lang='console'>
Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version             
Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version             
Setting up zathura-pdf-poppler (0.2.6-1) ...
Setting up zathura-pdf-poppler (0.2.6-1) ...
252번째 줄: 252번째 줄:


  Continue [yN]  Details [d]y
  Continue [yN]  Details [d]y
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
Fetched 0 B in 0s (0 B/s)                                                                   
Fetched 0 B in 0s (0 B/s)                                                                   
(Reading database ... 147428 files and directories currently installed.)
(Reading database ... 147428 files and directories currently installed.)
267번째 줄: 267번째 줄:


Continue [yN] y
Continue [yN] y
</syntaxhighlight>
</source>
<syntaxhighlight lang='console'>
<source lang='console'>
=== Command detached from window (Mon Aug  7 01:09:51 2017) ===
=== Command detached from window (Mon Aug  7 01:09:51 2017) ===
=== Command terminated normally (Mon Aug  7 01:10:01 2017) ===
=== Command terminated normally (Mon Aug  7 01:10:01 2017) ===
</syntaxhighlight>
</source>
* 재부팅 진행
* 재부팅 진행


==확인 2==
==확인 2==
* SSH 재접속하여 버전 확인
* SSH 재접속하여 버전 확인
<syntaxhighlight lang='console'>
<source lang='console'>
root@zetawiki:~# cat /etc/issue
root@zetawiki:~# cat /etc/issue
Ubuntu 16.04.3 LTS \n \l
Ubuntu 16.04.3 LTS \n \l
</syntaxhighlight>
</source>


==참고==
==참고==

제타위키에서의 모든 기여는 크리에이티브 커먼즈 저작자표시-동일조건변경허락 3.0 라이선스로 배포된다는 점을 유의해 주세요(자세한 내용에 대해서는 제타위키:저작권 문서를 읽어주세요). 만약 여기에 동의하지 않는다면 문서를 저장하지 말아 주세요.
또한, 직접 작성했거나 퍼블릭 도메인과 같은 자유 문서에서 가져왔다는 것을 보증해야 합니다. 저작권이 있는 내용을 허가 없이 저장하지 마세요!

취소 편집 도움말 (새 창에서 열림)