View Full Version : Installation requirements Red Hat 4
charles cross
19-09-2007, 17:15
Hello! I'm trying to install Zabbix on a Red Hat Enterprise 4 with MySql.
I'm new on this, so my apologies if I say something wrong...
I get some documents about installation, and all of them tell that I need Mysql 3.22 or higher. I have Mysql 4.1. installed.
When I try to compile the server, it says that can't find Mysql Library.
In one on the docs I 've read, I see that I need libmysqlclient15-dev, and if I look for it, I find that it is a deb file, wich it is only for debian(I believe...)
My doubt is if I need libmysqlclient15-dev, or if is possible to get it in rpm format.
So, anyone knows wich mysql library I need? If someone knows how to install Zabbix on Red Hat could please tell me the requirements???
Thank you!!
Install the EPEL (http://fedoraproject.org/wiki/EPEL) repository into your system as descibed in the section "How to use EPEL". And then just do
"yum --enablerepo=epel-testing install zabbix zabbix-agent zabbix-web"
and you will get Zabbix 1.4.2 install (both server+web and agent) and all the required packages.
cstackpole
19-09-2007, 18:25
I ran into this issue when I was using CentOS (close enough to Red Hat anyway). I had to enable a YUM repository to get it. If I remember right, the mysqlclient15-devel is what you actually need. I think I got away with using mysqlclient10-devel because that is what appears to be installed....
However, since you are on Red Hat you may not have YUM and I don't have the package in cache anymore. I don't even remember which repository it was in...sorry.
You might be able to find the package here though: http://rpm.pbone.net/index.php3/stat/4/idpl/2739972/com/mysqlclient15-devel-5.0.19-1.fc4.remi.i386.rpm.html
pbone and rpmfind are both great places to get rpm's.
I believe you actually only need a specific file from that package. So as long as you can find a compatible rpm, you should be OK.
If I find anything else I will let you know; maybe someone else can help a little better. Good luck.
[edit] I see I got beat to the punch by SharkCZ. If it really is that simple, you should do that instead.
[edit] I see I got beat to the punch by SharkCZ. If it really is that simple, you should do that instead.
It should be, I am maintaining Zabbix packages in Fedora and EPEL :-)
Debian and Red Hat name their packages differently. The package you'd probably want for compiling things against MySQL on RHEL4 is "mysql-devel".
charles cross
20-09-2007, 10:28
thank you everyone, but now I have new requirements and I need to install on Fedora 5, wich I believe has the yum inside(maybe I´m telling wrong).
But this is just a test, finally I'll have to install with RHEL4, so thank you another time, all your help is welcome, if you think I'll have some problem doing this over Fedora 5 please tell me.
Can I follow the instructions for installing zabbix with centos?? I believe they are almost the same...
As Fedora 5 is not supported for some time now (last Zabbix packages are for version 1.1.7), I would recommend to rebuild the current source rpm or source rpm for RHEl4 when FC5 has too old curl library.