LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-24-2013, 11:33 AM   #1
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Rep: Reputation: Disabled
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.
 
Old 09-24-2013, 12:27 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 09-24-2013, 12:30 PM   #3
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
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 ?
 
Old 09-24-2013, 12:54 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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?
 
Old 09-24-2013, 01:19 PM   #5
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-24-2013, 07:49 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
http://rpmfind.net//linux/RPM/dag/re...rf.x86_64.html
 
Old 09-24-2013, 10:11 PM   #7
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
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 ?
 
Old 09-25-2013, 01:33 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Install the repo file first, then upgrade the package.
 
Old 09-25-2013, 05:33 AM   #9
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
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=.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rpmbuild spec file for virtual rpm - removing obsolete packages - CentOS/RHEL 5.3 DrLove73 Linux - Software 3 10-10-2009 10:22 AM
rpmbuild/rpm problem elib Linux - Software 8 10-17-2007 07:09 AM
RPM vs. rpmbuild davidirasmith Linux - Software 1 10-10-2005 06:06 PM
rpmbuild for src.rpm PennyroyalFrog Linux - Newbie 3 04-10-2004 01:33 AM
Where do I get rpmbuild.rpm for rh9??? serat Linux - Software 7 04-07-2004 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration