• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • สรุปผลการค้นหา 1 ถึง 1 จากทั้งหมด 1

    กระทู้: Dist-Upgrade debian

    1. #1
      iCafeZone.Net ™
      กำลัง Nuts
       
      Embarrased
       

      สมัครเมื่อ
      21 May 2009
      ที่อยู่
      Chonburi
      อายุุ
      36
      โพสต์
      3,121
      คำขอบคุณที่รับสำหรับโพสต์นี้
      0 สำหรับโพสต์นี้
      ทั้งหมด 151
      บล็อกส่วนตัว
      41
      สถิติการเคลื่อนไหว
      แถบการเคลื่อนไหว
      ผลงานที่ได้รับ Happy Anniversary!vB ExperiencedI Survived a Month!No Longer a NewbieFresh Meat
      รางวัลที่ได้รับ certificate
      ความดี
      49

      มาตรฐาน Dist-Upgrade debian

      Debian 4.0 has been released. It is recommended that you upgrade the system to latest version. Upgrading remote Debian server is a piece of cake
      Currently many of our boxes are powered by Debian 3.1 Sarge. For example typical web server may have following packages only:
      => Apache
      => PHP
      => Postfix and other mail server software
      => Iptables and backup scripts
      => MySQL 5.x etc
      Procedure

      Following are essential steps to upgrade your system:
      1. Verify current system
      2. Update package list
      3. Update distribution
      4. Update /etc/apt/sources.list file
      5. Reboot system
      6. Test everything is working
      Backup your system

      Before upgrading your Debian systems make sure you have backup (I’m assuming that you make backup copies of all important data/files everyday:):

      1. User data / files / Emails (/home, /var/www etc)
      2. Important system files and configuration file stored in /etc
      3. MySQL and other database backup
      4. Backup Installed package list [Get list of installed software for reinstallation / restore software]
      Step # 1: Verify current system

      File /etc/debian_version stores current Debian version number :
      Code:
      $ cat /etc/debian_version
      Output:

      3.1 Find out kernel version
      Code:
      $ uname -mrs
      Output:

      Linux 2.6.8-3-386 i686
      Step #2: Update package list

      Use apt-get command:
      Code:
      # apt-get update
      Step #3 : Update distribution

      Pass dist-upgrade option to apt-get command. This will upgrade Sarge to Etch. dist-upgrade' in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary.
      Code:
      # apt-get dist-upgrade
      This upgrade procedure takes time. Depend upon installed softwares and other factors such as network-speed you may need to wait from 10 minutes to 1+ hour(s).
      Step #4 : Update /etc/apt/sources.list file

      There seems to be a small bug in upgrade procedure. You need to manually update Debian security source line. You will see an error as follows:
      W: Conflicting distribution: Debian -- Security Information stable/updates Release (expected stable but got sarge)
      W: You may want to run apt-get update to correct these problems

      Just open /etc/apt/sources.list file:
      Code:
      # vi /etc/apt/sources.list
      Find line that read as follows:
      Code:
      deb Debian -- Security Information stable/updates main contrib
      Replace with :
      Code:
      deb Debian -- Security Information etch/updates main contrib non-free
      Save and close the file. Now type the following command:
      Code:
      # apt-get update
      Step #5: Reboot system

      You are done. Just reboot the system:
      Code:
      # reboot
      Step #6: Make sure everything is working...

      See Debian distro version:
      Code:
      $ cat /etc/debian_version
      Output:

      4.0 Make sure all services are running, just go thought all log files once.
      Code:
      # netstat -tulpn
      # tail -f /var/log/log-file-name
      # less /var/log/dmesg
      # top
      ....
      ...
      ....
      Use apt-key command to manage the list of keys used by apt to authenticate packages. Packages which have been authenticated using these keys will be considered trusted. Make sure you see package etch related keys:
      Code:
      # apt-key  list
      Code:
      /etc/apt/trusted.gpg
      --------------------
      pub   1024D/2D230C5F 2006-01-03 [expired: 2007-02-07]
      uid                  Debian Archive Automatic Signing Key (2006) ftpmaster@debian.org
      
      pub   1024D/6070D3A1 2006-11-20 [expires: 2009-07-01]
      uid                  Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster@debian.org>
      
      pub   1024D/ADB11277 2006-09-17
      uid                  Etch Stable Release Key <debian-release@lists.debian.org>
       If there is a problem use following command to update the local keyring with the keyring of Debian archive keys and removes from the keyring the archive keys which are no longer valid.
      Code:
      # apt-key update
      # apt-key list
      Finally just see if any new updates/security updates are available:
      Code:
      # apt-get update
      # apt-get upgrade
      Further readings



      WARNING
      คำเตือน: นี่คือกระทู้เก่าแล้ว
      การสนทนานี้เป็นที่เก่ากว่า 90 วัน ข้อมูลที่ปรากฏอยู่ในนั้นอาจไม่เป็นปัจจุบัน


      กระทู้อื่นๆล่าสุดในฟอรั่มเดียวกันนี้:

      แก้ไขครั้งล่าสุดโดย admin : 07-26-2009 เมื่อ 13:34:53
      หากจะโพสตอบว่าชอบใจ ขอบใจ หรือ ขอบคุณ กรุณาใช้ปุ่ม
      เพื่อลดการใช้ database และความสวยงาม
      Best Regards,
      ขอความกรุณาโพสต์ให้กำลังใจ*กระทู้ที่มีสาระ* ผู้อื่นด้วยง่ายๆ โดยการกดปุ่ม( ) เพียงเท่านี้ผมและคนอื่นๆก็จะมีกำลังใจในการสรรหาสิ่งดีๆมาแล้วล่ะ ครับ เพื่อสังคมและบอร์ดที่น่าอยู่ด้วยน่ะครับ
      อยากเขียน blog เชิญที่ http://www.icafezone.net/blogs/
      อยากหัดเขียนบทความก็ตามหัวข้อใน ฟอรั่มเลย ดีจริงทีมงานจะย้ายลง หน้าบทความให้ครับ

      รับสมัคร mod ช่วยดูแลนะครับ http://www.icafezone.net/announcement/รับสมัคร-staff-reviews-moduretor.html
      ยินดีรับฟังข้อเสนอแนะครับ http://www.icafezone.net/feedback/
      http://www.icafeserver.com โฮสคุณภาพ ราคาสบายๆ !! จดโดเมน .com.net.org.biz.info.us.cc.tv
      อ้างอิงข้อความ อ้างอิงข้อความ

     

     

    ป้ายกำกับของกระทู้นี้

    กฎการโพสต์ข้อความ

    • คุณ ไม่สามารถ ตั้งกระทู้ใหม่ได้
    • คุณ ไม่สามารถ ตอบกระทู้ได้
    • คุณ ไม่สามารถ แนบไฟล์ได้
    • คุณ ไม่สามารถ แก้ไขข้อความโพสต์ได้
    •  

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90