P r o f e s s i o n a l — M a n a g e m e n t — S o l u t i o n s
RSS icon Email icon Home icon
  • Installing Yum on CentOS 5.3

    Posted on May 31st, 2009 Admin No comments

    Here are the simple steps to install yum on plain centos 5.3 x86_64 bit server.  login into the server with root user and execute the following commands.

    rpm –import http://mirror.centos.org/centos-5/5.3/os/x86_64/RPM-GPG-KEY-CentOS-5

    rpm -ihv http://mirror.centos.org/centos/5.3/os/x86_64/CentOS/libxml2-2.6.26-2.1.2.7.i386.rpm
    rpm -ihv http://mirror.centos.org/centos/5.3/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.2.7.x86_64.rpm
    rpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm
    rpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
    rpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm
    rpm -ihv http://mirror.centos.org/centos-5/5.2/os/x86_64/CentOS/m2crypto-0.16-6.el5.2.x86_64.rpm
    rpm -ihv http://mirror.centos.org/centos-5/5.2/os/x86_64/CentOS/python-urlgrabber-3.1.0-2.noarch.rpm
    rpm -ihv http://mirror.centos.org/centos-5/5.2/os/x86_64/CentOS/sqlite-3.3.6-2.x86_64.rpm
    rpm -ihv http://mirror.centos.org/centos-5/5.2/os/x86_64/CentOS/yum-metadata-parser-1.1.2-2.el5.x86_64.rpm
    rpm -ihv http://mirror.centos.org/centos-5/5.2/os/x86_64/CentOS/yum-3.2.8-9.el5.centos.1.noarch.rpm

    Then finally you can execute yum update command to update the rpms.

    Share/Save/Bookmark

  • Install and Configure lighttpd

    Posted on August 1st, 2008 Admin 2 comments

    Lighttpd is a lightweight HTTP server. It functions much the same way Apache does, but uses up far less system resources, and in most configurations, is faster. Lighttpd is used by several popular Web 2.0 sites such as YouTube, Wikipedia, and Meebo.
    Read the rest of this entry »

    Share/Save/Bookmark

  • upgrading from RH/Fedora to CentOS 4.0 with yum

    Posted on July 20th, 2008 Admin No comments

    upgrading from RH/Fedora to CentOS 4.0 with yum

    Substitute your choice of mirror sites

    (install GPG key)
    rpm –import http://www.gtlib.gatech.edu/pub/centos/4.0/os/i386/RPM-GPG-KEY-CentOS-4

    (need these 3 files)

    wget http://www.gtlib.gatech.edu/pub/centos/4.0/os/i386/CentOS/RPMS/centos-release-4-0.1.i386.rpm
    wget http://www.gtlib.gatech.edu/pub/centos/4.0/os/i386/CentOS/RPMS/centos-yumconf-4-2.noarch.rpm
    wget http://www.gtlib.gatech.edu/pub/centos/4.0/os/i386/CentOS/RPMS/yum-2.2.0-1.centos4.2.noarch.rpm

    (install)
    rpm -Uvh –force centos-release-4-0.1.i386.rpm centos-yumconf-4-2.noarch.rpm yum-2.2.0-1.centos4.2.noarch.rpm

    (upgrade)

    yum upgrade

    After the list of packages is displayed, choose ‘y’ to download and install.

    If a new kernel was downloaded, then you might need to modify the grub.conf to set the ‘default’ entry to the new kernel. Kernel entries in the grub.conf are numbered starting with 0, not 1.

    Reboot. That’s it! You’re done! If running into problems contact our support department.

    Share/Save/Bookmark

  • Using YUM

    Posted on January 1st, 2008 Mark No comments

    Yum is a tool for automating package maintenance for a network or Workstations/Servers running any operating system that use the Red Hat Package Management (RPM) …..

    • To search for a application

    Yum will search all your enabled repos and tell you where you can obtain the package from

    yum search application_name
    • Yum can list all available packages from your enabled repos and tell you where you can obtain the package from:
    yum list available
    • To find out more info about some package
    yum info application_name
    • Installing applications

    Inastalling is as easy as

    yum install application_name
    • Listing rpms

    yum can list installed rpms for you from the repos you have enabled

    yum list extras
    • Removing rpms

    Yum can remove a application and the dependencies, it installed with that application. it will not remove dependencies if another application installed needs them.

    yum remove application_name
    • Updating the system

    Yum can update the system for you with out user interact if you want it to.

    yum update
    • Not sure if you have upates?
    yum check-update
    • Local install

    downloaded a rpm and cannot install it with rpm because of dependencies?

    yum localinstall /path/to/the/rpm
    
    

    Enjoy,
    Steven

    http://24×7servermanagement.com

    sales@24×7servermanagement.com

    
    

    Share/Save/Bookmark