데비안 업그레이드 질문

vimania의 이미지

우분투에서는 업데이트 관리자(?)로 업데이트하면 커널까지 업그레이드하고 부팅할때 grub 리스트에 새로운 커널 보여주던데 데비안도 업데이트 할때 우분투처럼 커널까지 업그레이드해주나요?

젠투에서 emerge -uDN world 하면 판올림 개념없이 패키지 단위로 계속 업데이트 되던데 데비안도 판올림 개념없이 새롭게 나오는 stable 버전으로 계속 업데이트 할 수 있나요?
지속적인 업데이트를 통해 최신 stable 버전을 유지면서 자연스럽게 판올림이 되는지 궁금합니다. (unstable과 testing 패키지는 사용하지 않을 예정입니다.)

bitneer의 이미지

/etc/apt/sources.list 파일에 stable만을 사용하기 위한 저장소를 설정하시면 지속적으로 업그레이드가 가능합니다.
sources.list 예를 들면
----
# stable
deb http://ftp.kr.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.kr.debian.org/debian/ stable main non-free contrib

# stable - security updates
deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free

# stable - updates, previously known as 'volatile'
deb http://ftp.kr.debian.org/debian/ stable-updates main contrib non-free
deb-src http://ftp.kr.debian.org/debian/ stable-updates main contrib non-free
----

stable 패키지 위주로 testing/unstable/experimental 패키지도 함께 사용하시려면 APT Pinning 설정을 하면 되는데 stable만 사용하시면 위의 설정 정도면 될 듯 합니다.

릴리스 버전 안에서의 업그레이드는 다음과 같이 하면 됩니다.
/etc/apt/sources.list에 있는 저장소의 정보를 업데이트 하기
# apt-get update
설치되어 있는 모든 패키지의 업그레이드
# apt-get upgrade

Lenny에서 Squeeze로 업그레이드와 같이 릴리스 업그레이드는 다음과 같이 합니다.
# apt-get update
패키지 관리를 위한 패키지를 설치합니다.
# apt-get install apt dpkg apt-get aptitude
릴리스 업그레이드
# apt-get dist-upgrade

ssh로 원격으로 접속하여 업그레이드 수행시 네트워크 연결이 끊길대를 대비하여 screen을 사용하는 것이 좋습니다.
# screen
# apt-get update
# apt-get install apt dpkg apt-get aptitude
# apt-get dist-upgrade
Ctrl + a, k키를 눌러 screen을 닫는다.

업그레이드시 네트워크 연결이 끊어지면 다음과 같이 설치 작업을 다시 시작할 수 있습니다.
# screen -Dr

andysheep의 이미지


우분투가 데비안 꾸러미 시스템 가져다 쓰는 겁니다.

Devuan 1.0 (Debian without systemd)
amd64 station: AMD FX(tm)-6100 Six-Core Processor, 8 GB memory, 1 TB HDD
amd64 laptop: HP Touchsmart

글쇠판: 세벌 최종식, 콜맥 (Colemak)

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.