zoukankan      html  css  js  c++  java
  • How To Upgrade From Fedora 9 To Fedora 10 (Desktop & Server)

    http://www.howtoforge.com/how-to-upgrade-from-fedora-9-to-fedora-10-desktop-and-server
    http://bbs.51cto.com/thread-545465-1.html

    This article describes how you can upgrade your Fedora 9 system to Fedora 10 (which was released yesterday - November 25, 2008). The upgrade procedure works for both desktop and server installations.

    I do not issue any guarantee that this will work for you!

    1 Preliminary Note

    The commands in this article must be executed with root privileges. Open a terminal and log in as root, or if you log in with a regular user, type

    su

    to become root.

    2 Upgrading To Fedora 10

    Before we upgrade, we must install the latest updates:

    yum -y update

    Next we clean the yum cache:

    yum clean all

    Now we come to the upgrade process. Normally we can do this with preupgrade which I describe in chapter 2.1. However, preupgrade did not let me choose Fedora 10 for the upgrade (I've tried this on several systems); if you face the same problem, please go to chapter 2.2 where I describe an upgrade using yum.

    2.1 Upgrading Using Preupdate

    Install preupdate...

    yum install preupgrade

    ... and call it like this on a desktop...

    preupgrade

    (The preupgrade wizard will then start on your desktop; select Fedora 10 and follow the wizard.)

    ... and like this on a server:

    preupgrade-cli

    (It will show you a list of releases that you can upgrade to. If all goes well, it should show something like Fedora 10 (Cambridge) in the list. To upgrade, append the release string to the preupgrade-cli command:

    preupgrade-cli "Fedora 10 (Cambridge)"

    )

    Preupgrade will also take care of your RPMFusion packages, so all you have to do after preupgrade has finished is to reboot:

    reboot

    2.2 Upgrading Using Yum

    If preupgrade didn't work for you or you prefer yum anyway, then this chapter is for you.

    Install the Fedora 10 release packages:

    i386:

    rpm -Uvh ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-*.noarch.rpm

    x86_64:

    rpm -Uvh ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/x86_64/os/Packages/fedora-release-*.noarch.rpm

    Then run

    yum upgrade

    to finally upgrade the system.

    If you are using the RPMFusion repositories on your system, you can update them and the RPMFusion packages as follows:

    rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm && yum -y update

    Install the new GRUB bootloader to the MBR of your hard drive:

    /sbin/grub-install /dev/sda

    (Replace /dev/sda with your own hard drive - you can find that out by running

    fdisk -l

    [root@localhost ~]# fdisk -l

    Disk /dev/sda: 32.2 GB, 32212254720 bytes
    255 heads, 63 sectors/track, 3916 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0000454a

    [...]

    [root@localhost ~]#

    )

    Finally, we reboot the system:

    reboot

    3 Links

     

  • 相关阅读:
    快速排序
    冒泡排序
    选择排序
    合并排序
    插入排序
    跟我一起阅读Java源代码之HashMap(三)
    跟我一起阅读Java源代码之HashMap(二)
    跟我一起阅读Java源代码之HashMap(一)
    Apache2.2 + tomcat7 服务器集群配置
    Spring+Hibernate实现动态SessionFactory切换(改进版)
  • 原文地址:https://www.cnblogs.com/xia/p/1947324.html
Copyright © 2011-2022 走看看