Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rebuilding a mail server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Jerim
n00b
n00b


Joined: 12 Oct 2006
Posts: 4

PostPosted: Wed Apr 11, 2007 8:03 pm    Post subject: Rebuilding a mail server Reply with quote

We are starting to have some issues with our one and only mail server (Small company, IT budget very tight). It seems to be some file system errors. I am tasked with investigating the procedure of rebuilding from scratch. We are looking for the fastest, most efficient way of installing Gentoo. I have installed Gentoo numerous times, and even though I follow the guide step-by-step, there always seems to be some odd ball problem or another. Also, there seems to be a lot of manual configuration involved. Since we can only take the mail server down after hours, we obviously want to try to avoid an all-nighter as much as we can.

So what is the best method for getting a new install of Gentoo up and running as quick as possible? I suspect there is no simple "one-click" setup, but is there anything close to that? If we switch out the hard drives, we could clone the hard drive, but if the file system is messed up on the old drive, it would just be messed up on the new one. If we just format the current drive and reinstall, we wouldn't have anything to clone from. We are using Postfix and ClamAV on the mail server. If there is a comprehensive way to get all three up and running that would be great. But if we can just get Gentoo up and running quickly, we could take it from there. Is a Stage 4 install the best way to go? What would you do if you had only 30 minutes to get Gentoo up and running from scratch?
Back to top
View user's profile Send private message
jseymour
Apprentice
Apprentice


Joined: 23 Jun 2006
Posts: 202
Location: Gainesville Florida

PostPosted: Wed Apr 11, 2007 8:53 pm    Post subject: Reply with quote

Probably the easiest way, but not the most practical is to build it on a similar machine, and then once installed and tested properly clone it to the server. I do not think there are any good shortcuts to the install process. Maybe some others more experienced have some tricks. :)
_________________
WebServerMasters
Gentoo Installation Flash Tutorials
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Wed Apr 11, 2007 9:26 pm    Post subject: Reply with quote

A stage4 won't help you right now one bit. By creating a stage4 I take my existing gentoo install essentially make a tarball from that, leaving out of it certain things like /dev/* and /proc/* because those are huge and generated automatically anyway so they'd be a waste of HD space.

Now if I already had a stage4, I'd definitely use it. Essentially, a stage4 is a backup.

But if you don't have a stage4, there's nothing you can do other than simply installing from scratch. Then take the time to make the backup if you want.
Back to top
View user's profile Send private message
IQgryn
l33t
l33t


Joined: 05 Sep 2005
Posts: 764
Location: WI, USA

PostPosted: Wed Apr 11, 2007 10:35 pm    Post subject: Reply with quote

If the system is still running, you could install via a chroot from the target machine onto (a )new hard drive(s). You'd have to be sure to nice the entire chroot process down during normal hours to avoid performance issues, but it should be possible. Creating a stage4 after you get it up and running would be a good idea, though.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum