LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Rpmbuild vs .rpm for Centos (https://www.linuxquestions.org/questions/linux-server-73/rpmbuild-vs-rpm-for-centos-4175478368/)

newbie14 09-24-2013 11:33 AM

Rpmbuild vs .rpm for Centos
 
I have a dilemma here to install monit on centos 6.4. I have enable epel repo but it install only the version 5.1.1 but there are some feature I need in 5.3. I got the .rpm list here http://pkgs.repoforge.org/monit/ or should I do this rpmbuild -tb monit-5.6.tar.gz . I am worried of the stability.

unSpawn 09-24-2013 12:27 PM

If the Monit tar ball doesn't contain one I'd take the original .spec file and make it build the new RPM package. Then there's a separate task, testing it on a staging machine before moving it to production.

newbie14 09-24-2013 12:30 PM

Dear Unspawn,
If I want to use for production machine what is the best advice should I just go with the .rpm file and yum install it ?

unSpawn 09-24-2013 12:54 PM

EPEL is supposed to be one of the more trustworthy repos so if you want stability you should use it. What's the feature you need BTW?

newbie14 09-24-2013 01:19 PM

Dear Unspawn,
I need this extra feature http://mmonit.com/monit/documentatio...status_testing. The epel gives me monit 5.1.1 but this feature only available in 5.3 and above. So what is your best suggestion here.

unSpawn 09-24-2013 07:49 PM

http://rpmfind.net//linux/RPM/dag/re...rf.x86_64.html

newbie14 09-24-2013 10:11 PM

Dear unSpawn,
Thank for the link. For this sort of manual installation I just use yum install and if there is any new version should I just remove the old first or just install on top of the old one ?

unSpawn 09-25-2013 01:33 AM

Install the repo file first, then upgrade the package.

newbie14 09-25-2013 05:33 AM

Dear Unspawn,
I did not install now the repo file and directly install it via the .rpm file. Any way the link is missing the file and I took it via here http://rpmfind.net/linux/rpm2html/se...&system=&arch=.


All times are GMT -5. The time now is 09:01 AM.