Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Alternative Operating Systems > Moving Ubuntu server to new machine without reconfiguring?

Moving Ubuntu server to new machine without reconfiguring?
Thread Tools
Gossamer
Professional Poster
Join Date: Jun 2006
Location: "Working"
Status: Offline
Reply With Quote
Oct 30, 2006, 04:47 PM
 
I'd like to replace my G4/400 server with a G4/2x1GHz machine. The current server has dual 40 gig drives, and the new one has dual 80 gig drives. What's the easiest way to get all of the current info/configurations from the old server to the new one? It's currently a backup/web server, and I'd like to avoid reinstalling and reconfiguring all of the files and websites it's serving right now.
Any ideas?
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Oct 30, 2006, 06:31 PM
 
Originally Posted by Gossamer View Post
I'd like to replace my G4/400 server with a G4/2x1GHz machine. The current server has dual 40 gig drives, and the new one has dual 80 gig drives. What's the easiest way to get all of the current info/configurations from the old server to the new one? It's currently a backup/web server, and I'd like to avoid reinstalling and reconfiguring all of the files and websites it's serving right now.
Any ideas?

1) Install Ubuntu on your new machine

2) Either recreate the accounts on the new machine, or copy over the relevant lines from /etc/passwd, /etc/shadow/, /etc/group to reestablish these accounts. For simplicity, I recommend keeping the usernames the same for this initial transfer

3) rsync over all of your own software, home directories, apache config, and service configurations using the archive flag (-a), and optionally the verbose flag (-v). Be careful about rsyncing over machine specific configurations in /etc, because some of those (e.g. X11) will not work properly on the new hardware. I would probably just ignore /etc and recreate these machine settings manually. This includes your networking settings, video settings, inetd stuff, etc.

4) Cue the usual remarks about how all of this is easier under OS X.
     
Gossamer  (op)
Professional Poster
Join Date: Jun 2006
Location: "Working"
Status: Offline
Reply With Quote
Oct 31, 2006, 02:20 AM
 
Sweet, thanks for the help. I'll give this a shot once I have time.
     
   
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 04:22 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,