how to move my website from ubuntu 10.10 to 12.04 LTS?

Rajeev Prasad rp.neuli at yahoo.com
Fri Feb 1 17:47:31 UTC 2013


ok. so I tried. I moved over all www data, personal data and matched the config (was long and tricky)

so I want to test it now, so I shut down original server at midnight and start the new one with the IP set to static (same as old server). The box comes up fine, I can ping the gateway, but I can not ping anything after it!


from old server:
eth0      Link encap:Ethernet  HWaddr 00:0c:29:48:c0:18  
          inet addr:xxx.xx.xxx.17  Bcast:xxx.xx.xxx.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:161679 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41778 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:56107739 (56.1 MB)  TX bytes:4452263 (4.4 MB)
          Interrupt:19 Base address:0x2024 


my settings on new box (which do not work, when i bring down old box and start new one.)


/etc/network$ cat interfaces.static
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
    address    xxx.xx.xxx.17
    netmask 255.255.255.0
    broadcast xxx.xx.xxx.255
    gateway xxx.xx.xxx.3
    dns-nameservers <dns1> <dns2>
    dns-search <my.dns.srch.str.here.>
    dns-domain <my.dns.srch.str.here.>



xxx.xx.xxx = Class C subnet with 254 hosts.



________________________________
 From: Rajeev Prasad <rp.neuli at yahoo.com>
To: Tyler J. Wagner <tyler at tolaris.com>; Nagy Gergely <nagy.gergely at gnanet.net> 
Cc: ubuntuserver <ubuntu-server at lists.ubuntu.com> 
Sent: Tuesday, January 29, 2013 12:11 PM
Subject: Re: how to move my website from ubuntu 10.10 to 12.04 LTS?
 

Tyler,Nagy,

thx much for valuable input.

These are two different servers. Website is production, but can take downtime of about 1 day (weekend).

I was planning to make a tarball from old server and extract on new one, and as the last step, move the permanent IP.

But I guess MySQL has to potential to be tricky. I will try the route of dump to file and build back from that dump.

I will get back with results.

rgds.
Rajeev


________________________________
 From: Tyler J. Wagner <tyler at tolaris.com>
To: Nagy Gergely <nagy.gergely at gnanet.net> 
Cc: Rajeev Prasad <rp.neuli at yahoo.com>; ubuntuserver <ubuntu-server at lists.ubuntu.com> 
Sent: Tuesday, January 29, 2013 6:01 AM
Subject: Re: how to move my website from ubuntu 10.10 to 12.04 LTS?
 
On 2013-01-29 10:59, Nagy Gergely wrote:
> He mentioned 32bit to 64bit move with mysql, i had my bad experience
> with this.

I'm not aware of any differences in MySQL file storage based on
architecture. I did learn about rrdtool's architecture-dependant files the
hard way, though.

It never hurts to make and restore from mysql dumps. Just make sure you get
the "mysql" database as well, as this includes your permissions.

Regards,
Tyler

-- 
"... I've never seen the Icarus story as a lesson about the limitations of
humans. I see it as a lesson about the limitations of wax as an adhesive."
   -- Randall Munroe, "XKCD What IF?: Interplanetary Cessna"



-- 
ubuntu-server mailing list
ubuntu-server at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20130201/d3384b86/attachment.html>


More information about the ubuntu-server mailing list