К основному контенту

Сообщения

Сообщения за Сентябрь, 2019

How update Debian 7 (Wheezy) to 8/9 (Jessie/Stretch) in OpenVZ

OpenVZ allows you to create a virtual system (container) of a Linux system at the system level, with a common core.
Often, the most cheap VPS works on this technology.
Unfortunately, the OpenVZ project is developing poorly, new containers with fresh distributions do not come out.
However, you can simply update the system inside the container (in this case, Debian 7) to more relevant and fresh.
On some small VPS LES projects, I needed to use the current version of Debian, with i386 architectures, but only the Debian 7 wheezy assemblies were available, as the latest ones for this architecture.

No problem, update the system to a fresh release. The best solution would be to upgrade the system stepwise, upgrading the version by one after each update.
First, open the file /etc/apt/sources.list and change wheezy to jessie, so
deb http://ftp.debian.org/debian jessie main contrib Save, exit, and execute apt-get update
root@de:~# apt-get update Get:1 http://ftp.debian.org jessie Release.gpg [16…