zoukankan      html  css  js  c++  java
  • 运用centosplus来更新你的CentOS



    作者: boats  出自: http://www.linuxdiyf.com
    VPS上装的CentOS是4.1的,上面的PHP和MySQL包都是4的,想要晋级它们异常艰难,本人又不想用源码布置,次若是源码布置当前有变更的话懒得重编译。明天居心发明一个叫CentOSPlus的东西,嘿嘿,正好解了我的燃眉之急。

    先容:centosplus是centos的一部分,这个堆栈的存在是为了保证centos对新软件的支持,虽然这个堆栈里面的软件也不是很新,它只是一个折中的方案。要运用这个堆栈里面的软件请运用yum –enablerepo=centosplus在这次yum中翻开这个堆栈。假定你对yum的设置装备安排文件斗劲相识的话可以去/etc/yum.repos.d/修正他们。

    官方标明:

    The CentOS Plus Repository

    This repository is for items that actually upgrade certain base CentOS
    componets. This repo will change CentOS to not be exactly like the
    upstream providers content.

    The CentOS developement team has tested every item in this repo, and
    they build and work under CentOS-4. They have not been tested by the
    upstream provider, and are not available in the upstream products.

    You should understand that use of these components removes the 100%
    binary compatibility with the upstream products. That said, here is
    what is available in this repo.

    In the below descriptions, the exact versioning has been replaced with
    x’s … as this is generic information. See the actual RPM directories
    in the ARCH that you are interested in for the latest version of each
    of the packages for that specific ARCH.

    Every effort will be made to keep these files updated, BUT the main
    CentOS distro will be updated first, and these files will be updated
    after the main distro updates have been completed and pushed. This
    should not cause a considerable delay, and normally updates should
    be completed on the same day as in the main distro. You might want
    to exclude any packages from the [base] and [updates] section of your
    /etc/yum.repos.d/CentOS-Base.repo file like this:

    exclude=php* kernel* postfix*

    If you do that to the [updates] and [base] section for packages you
    install from the CentOS Plus repo, you won’t accidentally get updates
    from the main tree.

    ————————-
    php-5.x.x-x.centos4
    ————————-
    This is php-5 for CentOS-4. It replaces the php-4.3.9 that is currently
    in CentOS-4. In order to upgrade a current php-4 install, you must
    remove php-domxml first and then do:

    yum –enablerepo=centosplus upgrade php*

    or to do and install, use this command:

    yum –enablerepo=centosplus –exclude=php-domxml install php*

    (or install individually the files that you need)

    ————————————-
    postfix-2.x.x-x.x.RHEL4.mysql.centos4
    ————————————-
    This is Postfix compiled with mysql support so that you can use a MySQL
    database for both usernames and to hold mail. If you need mysql support
    for your postfix mail server, you can upgrade a currently installed
    version like this:

    yum –enablerepo=centosplus upgrade postfix*

    or do an install like this:

    yum –enablerepo=centosplus install postfix*

    ———————————-
    kernel-2.6.x-x.x.x.xxx.plus.c4
    ———————————-
    This is a kernel that has many of the options and modules turned on which
    are turned off by default in the upstream providers kernels. A list of
    some of the items that this Kernel includes are:

    File Systems:
    NTFS (read and write)
    XFS (read and write)
    JFS (read and write)
    ReiserFS (read and write)
    UFS {BSD default FS} (read only)
    BeOS FS (read only)
    AFS (read only)

    Hardware Modules:
    All USB
    All Firewire
    All SCSI
    Video4 Linux and all Video, Audio and Radio modules

    IPX, DECNET, netware file mount support, ability to write to a Windows
    Dynamic Partition. There are other items as well. See this link for
    the actual config files used to build the latest unsupported kernel:

    http://mirror.centos.org/centos/4/docs/kernel-unsupported/

    Note: Starting with kernel-2.6.9-42.x.x.plus.c4, xfs-kernel-modules is
    provided for the centosplus kernels and the standard centos kernels.
    These modules are newer XFS code from SGI than the standard 2.6.9
    modules included in the CentOS kernel.
    ———————
    File System Utilities
    ———————
    Because of the added file system support for the above kernel, we have
    also added tools to create XFS, JFS and ReiserFS partitions and make
    file systems on those partitions. Here are the packages for each FS:

    XFS:
    dmapi
    dmapi-devel
    xfsdump
    xfsprogs
    xfsprogs-devel

    JFS:
    jfsutils

    ReiserFS:
    reiserfs-utils

    Thanks,
    The CentOS Development Team




    版权声明: 原创作品,准许转载,转载时请务必以超链接情势标明文章 原始出处 、作者信息和本声明。不然将追查法则责任。

  • 相关阅读:
    Android官方数据绑定框架DataBinding*
    Application 使用分析*
    Android HandlerThread与IntentService*
    Android中SQLite应用详解*
    Android开发中,那些让您觉得相见恨晚的方法、类或接口*
    巧用ViewPager 打造不一样的广告轮播切换效果*
    Android-Universal-Image-Loader的缓存处理机制与使用 LruCache 缓存图片*
    Android Volley完全解析*
    Android 蓝牙*
    Android自定义View
  • 原文地址:https://www.cnblogs.com/zgqjymx/p/1975989.html
Copyright © 2011-2022 走看看