added Ubuntu package prereqs

This commit is contained in:
ahrenholz 2010-06-17 18:53:10 +00:00
parent d112ae9bca
commit 18b45b96ba

View file

@ -12,11 +12,30 @@ You do not need to patch your kernel in order to use network namespaces. Modern
The development snapshot of CORE supports network namespaces for virtualization and does not require OpenVZ. The next 4.0 release of CORE (July 2010) will feature this support. Until that release is completed you can try the development snapshot: The development snapshot of CORE supports network namespaces for virtualization and does not require OpenVZ. The next 4.0 release of CORE (July 2010) will feature this support. Until that release is completed you can try the development snapshot:
# install Ubuntu 10.04 or 9.10, or Fedora 13 or 12 (namespace support is built-in!)<br>note that for simplicity, the Fedora 12 instructions (package names, etc.) are shown below # install Ubuntu 10.04 or 9.10, or Fedora 13 or 12 (namespace support is built-in!)
# freshen your kernel version using {{{ yum update }}} # make sure your system is up to date (fresher kernels are generally better):
{{{
# for Ubuntu: you can also use synaptic or
# update-manager instead of apt-get update/dist-upgrade
sudo apt-get update
sudo apt-get dist-upgrade
# for Fedora:
yum update
}}}
# install the packages required to compile CORE: # install the packages required to compile CORE:
{{{ yum install autoconf automake bash bridge-utils ebtables gcc libev-devel libtool make pkgconfig python-devel readline-devel sudo tcl tk urw-fonts xauth xorg-x11-server-utils xterm }}} {{{
# turn off SELINUX by setting `SELINUX=disabled` in `/etc/sysconfig/selinux`; turn off iptables and ip6tables firewalls (`chkconfig iptables off`,`chkconfig ip6tables off`) or you will need to configure permissive rules for CORE; turn on IP forwarding in `/etc/sysctl.conf` (`net.ipv4.ip_forward = 1`, `net.ipv6.conf.all.forwarding = 1`) # for Ubuntu:
sudo apt-get install bash bridge-utils ebtables iproute \
libev3 libtk-img python tcl tk xterm autoconf \
automake gcc libev-dev libtool make pkg-config \
python2.6-dev libreadline-dev
# for Fedora:
yum install autoconf automake bash bridge-utils ebtables \
gcc libev-devel libtool make pkgconfig python-devel \
readline-devel sudo tcl tk tkimg urw-fonts xauth \
xorg-x11-server-utils xterm
}}}
# Fedora only: turn off SELINUX by setting `SELINUX=disabled` in `/etc/sysconfig/selinux`; turn off iptables and ip6tables firewalls (`chkconfig iptables off`,`chkconfig ip6tables off`) or you will need to configure permissive rules for CORE; turn on IP forwarding in `/etc/sysctl.conf` (`net.ipv4.ip_forward = 1`, `net.ipv6.conf.all.forwarding = 1`)
# install Quagga; if you are building it from source, you should configure it to use state directories with CORE: # install Quagga; if you are building it from source, you should configure it to use state directories with CORE:
{{{ {{{
./configure --enable-user=root --enable-group=root --with-cflags=-ggdb \ ./configure --enable-user=root --enable-group=root --with-cflags=-ggdb \