He mentioned 32bit to 64bit move with mysql, i had my bad experience
with this.

-- 

Mit freundlichen Grüßen / Kind regards / Sincères salutations /
Üdvözlettel

Nagy Gergely

-----------------------------------
E-mail: nagy.gerg...@gnanet.net
Jabber: nagy.gerg...@gmail.com
Website: www.gnanet.net



2013. 01. 29, kedd keltezéssel 10.42-kor Tyler J. Wagner ezt írta:
> On 2013-01-29 00:25, Rajeev Prasad wrote:
> > I have a huge website running on LAMPerl  ubuntu desktop 10.10 32bit
> > 
> > I have to now move it over to ubuntu server 12.04 LTS 64bit.
> 
> Make a dump of your current package list first:
> 
> dpkg -l > dpkg.maverick
> 
> You may want to refer to it later for those "Oh crap, what package did I
> forget?! moments.
> 
> In particular, make a list of all packages related to apache2, mysql, perl.
> Here's a one-liner you can later paste after "apt-get install":
> 
> dpkg -l \*mysql\* \*apache\* \*perl\* | grep ^i | cut -f 3 -d ' ' | tr '\n'
> ' ' ; echo
> 
> Copy /var/www, of course. I'm not sure why Nagy advised you not to copy
> /var/lib/mysql; that should work just fine. When mysqld starts it will
> upgrade them. But just in case, before upgrading, use mysqldump to dump all
> databases.
> 
> Do not upgrade via do-release-upgrade or dist-upgrade. Reinstall from
> scratch. If you were using 10.10 64-bit, this would be fine, but changing
> architectures requires a reinstall. I've upgraded from maverick through
> natty and oneric to precise on one LAMP server without incident using
> do-release-upgrade.
> 
> Finally, do take a complete backup. Something as simple as the following
> will save you a lot of trouble later:
> 
> rsync -av /bin /boot /etc /home /initrd* /lib* /opt /root /sbin /srv /usr
> /var /vmlinu* /media/mounted_usb_disk
> 
> Regards,
> Tyler
> 
> -- 
> "Any advert in a public space that gives you no choice whether you see it
> or not is yours. It’s yours to take, re-arrange and re-use. You can do
> whatever you like with it. Asking for permission is like asking to keep
> a rock someone just threw at your head. You owe the companies nothing."
>    -- Banksy on Advertising
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to