国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網管 > 服務器 > 正文

debian6升級到debian7的簡單升級

2020-05-27 13:24:26
字體:
來源:轉載
供稿:網友

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

  以用下面的命令查看:

  #cat /etc/issue 查看系統版本

  #uname -a 直接查看內核版本

  本次的版本更新了很多軟件,修復了一些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用戶,升級還是很簡單的.國內的用戶直接去換一個源就行了

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

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

  #wget http://mirrors.163.com/.help/sources.list.wheezy -O /etc/apt/sources.list

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

  deb http://mirrors.163.com/debian wheezy main non-free contrib

  deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free

  deb-src http://mirrors.163.com/debian wheezy main non-free contrib

  deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free

  deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free

  deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free

  deb http://http.us.debian.org/debian wheezy main contrib non-free

  deb http://non-us.debian.org/debian-non-US wheezy/non-US main contrib non-free

  deb http://security.debian.org wheezy/updates main contrib non-free

  然后

  #apt-get update

  #apt-get -y upgrade

  或者

  #apt-get upgrade

  過程中有包錯誤的先解決錯誤再繼續。

  升級內核

  #apt-get dist-upgrade

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

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

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

  有網友要我的源文件. 我的加了2個

  view plaincopy

  deb http://mirrors.163.com/debian wheezy main non-free contrib

  deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free

  deb-src http://mirrors.163.com/debian wheezy main non-free contrib

  deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free

  deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free

  deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free

  deb http://http.us.debian.org/debian wheezy main contrib non-free

  deb http://non-us.debian.org/debian-non-US wheezy/non-US main contrib non-free

  deb http://security.debian.org wheezy/updates main contrib non-free

  deb http://ppa.launchpad.net/ubuntu-wine/ubuntu lucid main

  deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main

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

  http://www.debian.org/releases/stable/amd64/release-notes.zh-cn.pdf

  補充一個添加系統日志的辦法

  編輯/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: 無法下載 http://security.debian.org/pool/ ... -5+deb7u1_amd64.deb:連接失敗 [IP:

  212.211.132.250 80]

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

  解決辦法

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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 肃南| 始兴县| 日喀则市| 漳平市| 绥宁县| 保定市| 滨海县| 兴仁县| 东兴市| 永福县| 彭阳县| 德格县| 临夏县| 江城| 朔州市| 民和| 禄丰县| 齐河县| 将乐县| 德化县| 合山市| 咸宁市| 宣武区| 邵阳县| 巴楚县| 青阳县| 大竹县| 利辛县| 凤山县| 凤山市| 金山区| 射洪县| 昭苏县| 丰顺县| 会东县| 阿拉善左旗| 曲阳县| 宜丰县| 甘洛县| 炉霍县| 泽普县|