久久96国产精品久久久-久久发布国产伦子伦精品-久久精品国产精品青草-久久天天躁夜夜躁狠狠85麻豆

技術(shù)員聯(lián)盟提供win764位系統(tǒng)下載,win10,win7,xp,裝機純凈版,64位旗艦版,綠色軟件,免費軟件下載基地!

當前位置:主頁 > 教程 > 服務(wù)器類 >

debian6升級到debian7的簡單升級

來源:技術(shù)員聯(lián)盟┆發(fā)布時間:2017-07-09 06:41┆點擊:

  2013年May.5th debian 官方宣布wheezy正式發(fā)布,成為新的stable發(fā)行版,如果不知道你的debian版本,可

  以用下面的命令查看:

  #cat /etc/issue 查看系統(tǒng)版本

  #uname -a 直接查看內(nèi)核版本

  本次的版本更新了很多軟件,修復了一些bug

  Nginx 1.2.1

  Apache 2.2.22

  Asterisk 1.8.13.1

  GIMP 2.8.2

  an updated version of the GNOME desktop environment 3.4

  GNU Compiler Collection 4.7.2

  Icedove 10 (an unbranded version of Mozilla Thunderbird)

  Iceweasel 10 (an unbranded version of Mozilla Firefox)

  KDE Plasma Workspaces and KDE Applications 4.8.4

  kFreeBSD kernel 8.3 and 9.0

  LibreOffice 3.5.4

  Linux 3.2

  MySQL 5.5.30

  Nagios 3.4.1

  OpenJDK 6b27 and 7u3

  Perl 5.14.2

  PHP 5.4.4

  Php5-fpm

  PostgreSQL 9.1

  Python 2.7.3 and 3.2.3

  Samba 3.6.6

  Tomcat 6.0.35 and 7.0.28

  Xen Hypervisor 4.1.4

  the Xfce 4.8 desktop environment

  X.Org 7.7

  more than 36,000 other ready-to-use software packages, built from nearly 17,500 source

  packages.

  對于之前的squeeze用戶,升級還是很簡單的.國內(nèi)的用戶直接去換一個源就行了

  在終端依次輸入以下命令,備份老源文件,直接去163下載新源文件即可.

  #cp /etc/apt/sources.list /etc/apt/squeeze_sources_list

  #wget -O /etc/apt/sources.list

  或者直接把復制下面的,并且把老的squeeze的注釋或者刪除掉

  deb wheezy main non-free contrib

  deb wheezy-proposed-updates main contrib non-free

  deb-src wheezy main non-free contrib

  deb-src wheezy-proposed-updates main contrib non-free

  deb wheezy/updates main contrib non-free

  deb-src wheezy/updates main contrib non-free

  deb wheezy main contrib non-free

  deb wheezy/non-US main contrib non-free

  deb wheezy/updates main contrib non-free

  然后

  #apt-get update

  #apt-get -y upgrade

  或者

  #apt-get upgrade

  過程中有包錯誤的先解決錯誤再繼續(xù)。

  升級內(nèi)核

  #apt-get dist-upgrade

  中途會彈出一個軟件更新的差異的內(nèi)容,這個直接q退出就行了,(你有耐心也可以看完的..)

  中途會彈出一些配置的選項窗口, 簡單讀完了看你需要是否需要重啟這些服務(wù), 需要就YES.遠程管理的最好

  直接默認下來的,之后重新配置。

  有網(wǎng)友要我的源文件. 我的加了2個

  view plaincopy

  deb wheezy main non-free contrib

  deb wheezy-proposed-updates main contrib non-free

  deb-src wheezy main non-free contrib

  deb-src wheezy-proposed-updates main contrib non-free

  deb wheezy/updates main contrib non-free

  deb-src wheezy/updates main contrib non-free

  deb wheezy main contrib non-free

  deb wheezy/non-US main contrib non-free

  deb wheezy/updates main contrib non-free

  deb lucid main

  deb all main

  官方的安全升級中文幫助文檔,從squeeze(old stable) 6.0 升級到wheezy (new stable) 7.0的幫助文檔

  

  補充一個添加系統(tǒng)日志的辦法

  編輯/etc/default/bootlogd

  #vim /etc/default/bootlogd

  修改BOOTLOGD_ENABLE選項為

  BOOTLOGD_ENABLE=Yes

  保存退出,以后在啟動之后,直接

  cat /var/log/boot

  升級到Debian7出錯問題

  下載 182 MB,耗時 53分 0秒 (57.2 kB/s)

  E: 無法下載 ... -5+deb7u1_amd64.deb:連接失敗 [IP:

  212.211.132.250 80]

  E: 無法修正因軟件包不可用而造成的錯誤

  解決辦法

  重新aptitude update后,升級成功了。