View previous topic :: View next topic |
Author |
Message |
dentharg Guru
Joined: 10 Aug 2004 Posts: 438 Location: /poland/wroclaw
|
Posted: Mon Dec 13, 2004 2:23 pm Post subject: Gentoo 4 server |
|
|
How many of you would consider Gentoo for a server?
What cons/pros you think of (like long software installation b/c of compiling). |
|
Back to top |
|
|
JPMRaptor Guru
Joined: 04 Oct 2002 Posts: 410 Location: Maryland
|
Posted: Mon Dec 13, 2004 11:27 pm Post subject: |
|
|
I'd do it. The compiling is not as big a deal to me on a server as on a desktop (unless your server is normally heavily used). You can set the niceness of portage so it shouldn't affect normal usage. Plus for me the big emerges are all the desltop apps (kde, ...) not the server apps. _________________ Underwater photo gallery
New pictures, Oct 2005 |
|
Back to top |
|
|
dentharg Guru
Joined: 10 Aug 2004 Posts: 438 Location: /poland/wroclaw
|
Posted: Tue Dec 14, 2004 6:26 am Post subject: |
|
|
And if something gets broken in portage, like earlier problems with baselayout?
Is it sensible to precompile binary packages of updates? |
|
Back to top |
|
|
ewan.paton Veteran
Joined: 29 Jul 2003 Posts: 1219 Location: glasgow, scotland
|
Posted: Wed Dec 15, 2004 6:22 am Post subject: |
|
|
assuming its being run like i would run my server, ie everyting its tested and checked long before it hits production then probably but even the if my job were on the line i would be skeptical, its just a bit too much of a moving target and certainly a fire and forget distro you can script to emerge -ud world every week _________________ Giay tay nam | Giay nam cao cap | Giay luoi |
|
Back to top |
|
|
McManus Apprentice
Joined: 10 Apr 2002 Posts: 176 Location: Austin, TX
|
Posted: Wed Dec 15, 2004 7:58 pm Post subject: |
|
|
I run Gentoo as my server, for everything from web & email to cvs & subversion. It works great and is really easy to upgrade, BUT upgrading can sometimes break things (*cough* etc-update auto-overwriting files *cough*), but it's pretty trivial to re-emerge an older, working version (although it takes time).
I guess for a hobbyist with non-mission-critical services, it's cool, but I would never dream of using it in a production environment (where everything should be updated by hand, one dependency at a time >_< ). _________________ McManus
----
Linux user #267375 - http://counter.li.org |
|
Back to top |
|
|
F.Ultra Apprentice
Joined: 17 Mar 2004 Posts: 169 Location: Sweden
|
Posted: Wed Dec 15, 2004 9:08 pm Post subject: |
|
|
I run gentoo on some 50+ mission-critical servers, and I must honestly say that I do not understand what every one is so afraid of.
If etc-update has overwritten files, this is probably because you have told it to do so, and not something that you can seriously blame gentoo for.
Naturally one would never put a cron job to emerge world, that would be plane stupid in a production environment. What you do is check the GLSA for security holes in your software and only upgrades those packages that are affected, and nothing more. And naturally you would test the updated server quite seriously before you would put it back in production.
I fail to see the huge difference towars any other distribution in this regard, eccept for the fact that compilation will make gentoo take longer to upgrade, but hey I earn much money from working overtime so
Quote: | And if something gets broken in portage, like earlier problems with baselayout? | Making errors sometime is hardly gentoo specific, and the correct way to do it is to backup the server before any upgrade is performed so that you can revert back to exactly how it was before the upgrade if anything went terrible wrong. This you have to do regardless of distribution or operating system.
Myself I use a simple script that creates a tar archive of the whole machine, in case of error, I boot from a livecd, rm -r /mnt/gentoo and untar the previously made archive. |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Wed Dec 15, 2004 9:31 pm Post subject: |
|
|
Running Gentoo as a server is a bit more complex than running say, Redhat. In the end though it tends to same be time once I learned what was likely to break and what wasn't.
I have two servers I use as testers for work. My private box and a full on test box. Between the two of them I generally know if a package is going to cause problems or not. I also tend to wait on updates that are going to be problematic.
New mod_php? I'll update that right away. New gcc or glibc version? I think I'll wait a month before doing that.
In general I've got about ten servers in production and have only had one cusotmer facing problem in the past 6 months. A perl package was eating HTML mails coming into the ticketing system. And this was actually not a Gentoo problem ultimately.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
|