Monday, April 16, 2018

Proxmox PVE How to convert OpenVZ to LXC

Sunday, April 15, 2018

Preparation commands I do for every LXC Container

Every Proxmox LXC container I configure should have a good base.  A good base for any type of server is having its Time Zone and Locales set correctly.  Another software which is usually required is the Ubuntu PPA software repository system.

Here are the commands I usually execute for every Ubuntu server I create:

UPDATE AND UPGRADE

apt-get update
apt-get -y dist-upgrade


SETTING TIME ZONE

dpkg-reconfigure tzdata


SETTING LOCALES

locale-gen en_US en_US.UTF-8

INSTALL PPA REPOSITORY SUPPORT

apt-get install software-properties-common python-software-properties


UNINSTALL POSTFIX (if you don't need to send email)

service stop postfix
apt-get remove postfix
apt-get purge
apt-get autoclean