Upgrade Debian Squeeze to Wheezy (7)

Daggerka

Verified User
Joined
Feb 4, 2012
Messages
27
Hey!

It's safe to upgrade Debian Squeeze to Wheezy?
Support Squeezy ends at May 2014. It's time to move on...

I should edit sourcelist

Code:
deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ squeeze-updates main contrib non-free

And just:
Code:
apt-get update & upgrade & dist-upgrade

Or its something like:
Code:
cd /usr/local/directadmin/custombuild
./build NEW-GREAT-DEBIAN
 
No you have to email directadmin support and ask for a license change.
 
Yes its pretty simple on debian to upgrade os.

You can fill out this form and tell them you want to change your OS license to debian 7.

https://www.directadmin.com/clients/safesubmit.php

Sometimes they require you to login to directadmin.com/clients and make a new license file but not pay for it and they activate it for you later.
 
I did this:
First send an e-mail to DA to change your License. Then change sources.list:

Code:
deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ squeeze-updates main contrib non-free

After that:

Code:
apt-get update & upgrade & dist-upgrade

My system did hang on a file-only filesystem. Just reboot the system one or two times.

Then run the pre-install commands again:

Code:
apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev bzip2 automake autoconf libtool cmake pkg-config python libdb-dev libsasl2-dev libncurses5-dev

After that you can recompile your server. (to be sure that everything is working ok)

That's all I did.
 
Back
Top