Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a web server with CentOS 5 in which MySQL 5 was already installed. I need it to have MySQL 4, but that package doesn't seem to be in the repositories, only the version 5 is listed.
Can anyone tell me how to install MySql 4 in a safely way, and why older versions are not provided in the standard packages?
Sorry, I won't be much help in the installing department... Maybe check the repos for the previous release of CentOS.
As for the "Can anyone tell me ... why older versions are not provided...?", because when they create a new version of a distro, they pick a start point and move forward from there. New versions of software might be the impetus for a new distro version... GNOME 2.2, or KDE 4, or Kernel 2.6.25 might all be starting points of a distro version. They usually don't go backwards, because that's usually where everybody already is. Ubuntu 8.04 won't have KDE 3.2. Fedora 9 won't have Kernel 2.4.20.
Maybe check the repos for the previous release of CentOS.
Mmmm, can that be done? Can I maybe just add a section for CentOS4 repos to the repo definition files in my CentOS5 server? Will the software in the CentOS4 repositories work fine when installed in a CentOS5 server?
- I'm afraid MySql 5 doesn't seem to work fine with PHP4 (and I have too much code to consider migrating to PHP5 now).
You'll have to do it at some point
Originally Posted by czamora
- And how do I install CentOS4 over a CentOS5 server?
Can't, you'd have to backup your stuff and reinstall the OS
This maybe your best option(imo). CentOS 4 will not hit End Of Life until 2012, iirc. Since you don't feel comfortable compiling software, it might be best to install it via a package built for the OS version you are using.
You might also try just downloading the RPM from the MySQL site and installing it; the RHEL 4 version might not give you problems. The only thing with that, you will need to pay attention to patches/updates, since you will have to do those manually.