|
nutballs
|
 |
« on: March 18, 2009, 03:32:29 PM » |
|
I kind of asked this before, but it was under a different circumstance.
i am running centOS for production. Although I like the idea of compiling myself, I am having an issue with mysql for some reason. so I made me think a bit.
compiling of course lets you control everything as granular as you want. however, it also means you can fuck it up. binaries mean you get the one-size-fits-all install, but, it also can be updated easily with just a yum update.
so what are opinions on production boxes using binaries vs compiling.
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
vsloathe
|
 |
« Reply #1 on: March 18, 2009, 08:11:21 PM » |
|
There is no performance benefit between similarly configured installs when done either way. That's unquestionable anymore. Compiling Gentoo from source gives around a 3% performance boost on most modern systems, and that's an *entire OS*! So in Gentoo's case you can choose to install binaries, which takes an hour or two, or compile from source, which takes several days (actually, you can install the binaries and then compile from source while you use your system now, I think). In the case of Redhat variants with package management, you have the choice between just doing a simple "Yum install blah blah blah -arg -arg -arg", literally a one-line command (once you know all the switches you'll need to enable and packages to install), or compiling from source. I haven't been bothering to compile my apps from source (unless I wrote it of course!) for a while now.
|
|
|
|
|
Logged
|
hai
|
|
|
|
arms
|
 |
« Reply #2 on: March 18, 2009, 08:22:43 PM » |
|
don't waste time compiling everything. how much time will you spend getting everything to compile, only to find you forgot a flag that enables a feature you decide you want three months from now? i think adding more memory or cpu is cheaper if there is any difference at all.
|
|
|
|
|
Logged
|
|
|
|
|
nutballs
|
 |
« Reply #3 on: March 18, 2009, 08:49:55 PM » |
|
I know perks answer is to compile, and in some respects i would agree. mostly from a control aspect. however, like you guys said, you can now get that via switches in a yum install, though I probably wont, since I have segregation of systems anyway.
just wanted a gut check.
thanks
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
perkiset
|
 |
« Reply #4 on: March 18, 2009, 09:17:17 PM » |
|
Agree there is no performance benefit to compiling.
My issue is that I don't know enough about any OS any longer to really trust package managers, YUM etc. They put stuff in places I'll never find again, I get confused and all fubarred.
So, I do /usr/installs/(apache|php|mysql etc) . and build from there. In every case I create an executable shell script, configure.perk which is how I want all the switches. This is really handy, because when I find out I want some obscure PHP lib added I can just go add it to the configure script, make, install and I'm good to go.
With a completely raw machine and apps compiled this way I feel that I have the most granular and utter control over the machine. VS is probably right that YUM et al are the right way to go if you're comfy or can't be bothered, but my paranoia about my machines just wont let me. I'm certainly a dinosaur and this is subjective hooie, but it works best for me.
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
nutballs
|
 |
« Reply #5 on: March 18, 2009, 09:27:16 PM » |
|
i agree. however, I officially give up on trying to get mysql to actually compile under centOS 5...
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
perkiset
|
 |
« Reply #6 on: March 18, 2009, 10:33:34 PM » |
|
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
vsloathe
|
 |
« Reply #7 on: March 19, 2009, 06:02:38 AM » |
|
 My grandma? Probably not. My 15 year old brother? Definitely.
|
|
|
|
|
Logged
|
hai
|
|
|
|
nutballs
|
 |
« Reply #8 on: March 19, 2009, 07:58:45 AM » |
|
lol.
it configures fine it makes fine but make install, hangs at the mysql-test directory stuff. cant find an answer online either. oh well.
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
vsloathe
|
 |
« Reply #9 on: March 19, 2009, 08:50:26 AM » |
|
permissions all set correctly? chmod +x where appropriate, etc?
|
|
|
|
|
Logged
|
hai
|
|
|
|
nutballs
|
 |
« Reply #10 on: March 19, 2009, 12:31:54 PM » |
|
not sure actually. it should have been, since I downloaded the tarball and did like I have done on other systems, like my VM of centos.
i dont get it. oh well.
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
perkiset
|
 |
« Reply #11 on: March 19, 2009, 01:39:30 PM » |
|
I actually never do the mysql-test stuff. I go right to mysqld_safe & and call it a day. Usually it fires right up, although I had one bit of trouble on a 64b machine. Certainly you've tried just going straight at it...?
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
nutballs
|
 |
« Reply #12 on: March 19, 2009, 04:31:21 PM » |
|
well this is just part of the "make install" when it runs, it churns through all the stuff, but then get hung at that point.
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
nutballs
|
 |
« Reply #13 on: March 19, 2009, 05:43:00 PM » |
|
bah it was the damn permissions. it worked fine in my VM without any issues at all, but live, no joy. wtf? same exact procedure installs and everything.
oh well. figured out.
though I am still going with the repos.
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|