|
Posted by trihanhcie on 03/06/06 15:55
Hi
I would like to install 2 version of mysql 3.23.58 and 5.0.18 on my
server.
If I understood correctly, i have to create another config file with a
different folder and port compared to my actual installation one.
Here's my question (quite easy I think)
How do I choose where I install the package mysql ? Can I still use rpm
-Uvh or do I have to do something else?
Can anyone tell me the steps i have to do to install 2 versions of
mysql server on the same machine?
Thanks !
J.O. Aho wrote:
> trihanhcie@gmail.com wrote:
> > Oh another thing... If I install Apache and php again, is it going to
> > keep my old config file?
>
> Your old config files won't be deleted, if your current configuration is
> compatible with the new version of the program you install, then the new
> configuration files gets the rpmnew
>
> eg: /etc/httpd/conf/httpd.conf.rpmnew
>
> If your old configuration file would not be compatible with the new one, then
> it gets rpmsave extention
>
> eg: /etc/httpd/conf/httpd.conf.rpmsave
>
> So it will always be easy to find the config files if you happen to notice
> that an application don't use the settings you did set.
>
>
> > If I understood you correctly, I have to
> > 1) rpm -Uvh mysql-server-5.0.18-2.1.i386.rpm
> > 2) rpm -Uvh mysql-5.0.18-2.1.src
> > and so on
> >
> > However, with mysql-5.0.18-2.1.src, i already miss the following file :
> >
> > libc.so.6(GLIBC_2.3.4) is needed by mysql-5.0.18-2.1
> > libc.so.6(GLIBC_2.4) is needed by mysql-5.0.18-2.1
> > libcrypto.so.6 is needed by mysql-5.0.18-2.1
> > libssl.so.6 is needed by mysql-5.0.18-2.1
> > libstdc++.so.6 is needed by mysql-5.0.18-2.1
> > libstdc++.so.6(CXXABI_1.3) is needed by mysql-5.0.18-2.1
>
> libc.so.6 is part of glibc package
> libstdc++ is part of gcc package
> libssl.so.6 and libcrypto.so.6 are part of openssl package
>
> You have two options here, install the required RPMs, which would be an
> experimental glibc 2.3.999, gcc 4.1.0 and openssl-0.9.8a-5.2.
>
> As there aren't any hard dependency problems here, I think it's better to
> recompile/rebuild mysql, this way you won't be forced to update other packages.
>
> eg: rpmbuild --rebuild mysql-5.0.18-2.1.src.rpm
>
> Note that you need the RPM that has the "src" instead of "i386", you will need
> to have some devel packages installed too.
>
> As you anyway have to recompile PHP, you can upgrade to PHP5 too
>
> rpmbuild --rebuild php-5.1.2-5.src.rpm
>
> This way you get FC3 native RPMs which makes things a lot more stable, trust
> me on this, I have experience of trying to keep a system up and working that
> was RH7.3 in the base with RH9 and FC1 packages.
>
>
> //Aho
Navigation:
[Reply to this message]
|