Created
September 30, 2012 23:10
-
-
Save ehowardtillit/2bf8e9ac14bc0b28ef6b to your computer and use it in GitHub Desktop.
LXC at PMM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LXC | |
# What is lxc | |
# LXC vs the others (perf bench) | |
# installing | |
After installing a barebones Debian Squeeze we install LXC | |
.... | |
Then we install some things on the containers: | |
apt-get install -y vim dialog apt-utils | |
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen | |
apt-get -y --force-yes install locales | |
dpkg-reconfigure locales | |
apt-get --no-install-recommends install -y adduser apt-utils iproute netbase sudo iputils-ping iptables rsyslog | |
apt-get install --no-install-recommends -y openssh-blacklist openssh-blacklist-extra openssh-server | |
apt-get install -y net-tools ifupdown sockstat | |
apt-get install -y wget less lsof screen apt-utils nano telnet inetutils-ping psmisc | |
echo "deb http://ftp.fr.debian.org/debian/ squeeze main non-free contrib" > /etc/apt/sources.list | |
echo "deb-src http://ftp.fr.debian.org/debian/ squeeze main non-free contrib" >> /etc/apt/sources.list | |
echo "" >> /etc/apt/sources.list | |
echo "deb http://security.debian.org/ squeeze/updates main contrib non-free" >> /etc/apt/sources.list | |
echo "deb-src http://security.debian.org/ squeeze/updates main contrib non-free" >> /etc/apt/sources.list | |
echo "" >> /etc/apt/sources.list | |
echo "# squeeze-updates, previously known as 'volatile'" >> /etc/apt/sources.list | |
echo "deb http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free" >> /etc/apt/sources.list | |
echo "deb-src http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free" >> /etc/apt/sources.list | |
echo "" >> /etc/apt/sources.list | |
echo "# Dotdeb" >> /etc/apt/sources.list | |
echo "deb http://packages.dotdeb.org squeeze all" >> /etc/apt/sources.list | |
echo "deb-src http://packages.dotdeb.org squeeze all" >> /etc/apt/sources.list | |
wget http://www.dotdeb.org/dotdeb.gpg | |
cat dotdeb.gpg | sudo apt-key add - | |
apt-get update | |
apt-get upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
apt-get install -y curl