techxplore blog
03Nov

Install Linux Container (LXC) in Oracle Linux 6.4

Virtualization solutions offers a popular solution for our work use in beta testing applications and system installation. I’ve encountered Linux Containers or LXC which is something relatively new which is a hybrid of chroot and full virtual machine.

LXC is a userspace interface for the Linux kernel containment features. Through a powerful API and simple tools, it lets Linux users easily create and manage system or application containers.

source: http://linuxcontainers.org/

Thus, I’ve explored to install this on Oracle Linux 6.4. The steps for Linux Container installation is pretty simple.

1. Login as root
2. Set the appropriate repository
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol6.repo
3. Install LXC
# yum install lxc
4. Check LXC installation
# rpm -qa lxc
lxc-0.7.5-2.0.4.el6.i686

After installation I could now create Linux containers in Oracle Linux 6.4 as intended.

Leave a Reply