Instructions to migrate/upgrade from 32 bit Debian to 64 bit

Any instructions/tut to upgrade entire environment from Debian 32bit to 64bit? Please.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

To do this you will want to start with a fresh droplet running the 64bit version and install any needed software using apt-get. The steps required will depend on the software you are running or plan to run on the new droplet. You tagged this with nginx so I’ll provide some basic information on migrating those services.

I will cover migrating a static site. If you’re running a full LEMP stack for PHP applications, follow this guide to set up your environment.

First install nginx:

apt-get update
apt-get install nginx

Now you can copy over your web files from your old server to the new one. Copy the entire directory to the same location on the new server.

Next you can copy your nginx configuration. Copy the files from /etc/nginx/sites-enabled on the old server to the new.

Now restart nginx

service nginx restart

If you have other services running, let me know and I can provide more information.