Help with creating LXC for Centos 5


Renowned Member
Feb 10, 2011
Hi there, I'm provisioning a PVE 5.2 system to be deployed to a remote colocation facility. The system has to support some older, legacy software that only will run on CentOS 5 (32 or 64 bit). I have been able to install CentOS 6 successfully on this PVE version using templates, but I don't see anything prior which is understandable.

Although I could use an ISO and do this with a VM, it is for a SQL database and our tests show a major degredation of performance when running as a VM vs. what was an OpenVZ instance. I suspect this has something to do with writes, but rather than dealing with that, I was just going to install CentOS 5 as a new server install on LXC.

It seems to me that I have two options - either to convert the older OpenVZ container to LXC (from PVE 3.4 to 4.x) first, and then upgrade it to 5.2. Or just find a template and build a new server from that. I'd prefer the latter, but I have no idea where to find such a template. If I have to create one, are there any step by step instructions on how to do this? Or does anyone have one of these already built that I could use, or could they point me in the direction of any repositories that might have them?

Thanks in advance for any advice.



The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!