Find the answer to your Linux question:
Results 1 to 4 of 4
I'm trying to build a CentOS LAMP server. I'll like to be able to easily update the Kernel, MySQL, Apache and other important system files and applications. I used yum ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    11

    Should I use yum to update the CentOS Kernel, MySQL, Apache, etc.?


    I'm trying to build a CentOS LAMP server. I'll like to be able to easily update the Kernel, MySQL, Apache and other important system files and applications.

    I used yum to install and update MySQL, Apache, etc:
    yum update
    yum update httpd
    yum update openssl
    yum update mysql-server mysql
    yum update php

    Unfortunately, yum only updates my PHP to version 4.3.9 and MySQL to version 4.1 and I can not use PHP scripts to connect to MySQL server.

    I'm new to this installing and updating Linux applications, is there a better and easier way to update the CentOS kernel, Apache, mysql, php, etc.

    Any help is greatly appreciated.

    Bernard

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    I don't think it gets any easier than using a package manager like yum or apt-get, they do everything for you. If you need more recent versions of software, you could always try your luck at compiling from source.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    11

    yum or apt-get?

    Thank you for your reply.

    Do you know which one of the two, yum or apt-get installs/updates the most recent packages?

    Thanks.

  4. $spacer_open
    $spacer_close
  5. #4
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    CentOs uses yum
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •