From 18b45b96ba1d2373715d7655400e170a33baa061 Mon Sep 17 00:00:00 2001 From: ahrenholz Date: Thu, 17 Jun 2010 18:53:10 +0000 Subject: [PATCH] added Ubuntu package prereqs --- wiki/Namespaces.wiki | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/wiki/Namespaces.wiki b/wiki/Namespaces.wiki index 060cc687..cd8d1cc7 100644 --- a/wiki/Namespaces.wiki +++ b/wiki/Namespaces.wiki @@ -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: - # install Ubuntu 10.04 or 9.10, or Fedora 13 or 12 (namespace support is built-in!)
note that for simplicity, the Fedora 12 instructions (package names, etc.) are shown below - # freshen your kernel version using {{{ yum update }}} + # install Ubuntu 10.04 or 9.10, or Fedora 13 or 12 (namespace support is built-in!) + # 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: - {{{ 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: {{{ ./configure --enable-user=root --enable-group=root --with-cflags=-ggdb \