vde - Virtual Distributed Ethernet ChangeLog

HOWTO


# VDE 2.3.2
# =========
# OpenSSL
# libpcap
# Python >= 2.5 (for Python bindings)

# Get it
cd
mkdir -p -m 0700 installed
test -f installed/vde2-2.3.2.tar.bz2 && mv installed/vde2-2.3.2.tar.bz2 .
test ! -f vde2-2.3.2.tar.bz2 &&
wget http://downloads.sf.net/vde/vde2-2.3.2.tar.bz2

# Verify tarball w/ md5sum:
echo "46fbc5f97f03dc517aa3b2c9d9ea6628  vde2-2.3.2.tar.bz2" | md5sum -c

# Verify tarball w/ sha1sum:
echo "034aa28adab822cc314244b54155ffc998e068b9  vde2-2.3.2.tar.bz2" |\
sha1sum -c

# Extract the source
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "vde2-*" -exec rm -r {} \;
tar xjvf ~/vde2-2.3.2.tar.bz2
cd vde2-2.3.2
test $UID = 0 && chown -R root:root .

# Configure the build, build it
# Only use the LDFLAGS and CPPFLAGS parts if your OpenSSL is installed under
# /usr/local/ssl
LDFLAGS=-L/usr/local/ssl/lib CPPFLAGS=-I/usr/local/ssl/include \
./configure --mandir=/usr/local/man
make

# Become root to install it
su

# Install it
make install
ldconfig

# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .

# Become your non-root user again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/vde2-*.tar.*
mv -f vde2-2.3.2.tar.bz2 installed/


# If you ever want to uninstall VDE, this should do it (and then some):
cd
su
test -d src/vde2-* && ( cd src/vde2-* ; make uninstall )
( cd /usr/local/bin
  rm -f dpipe slirpvde unixcmd unixterm vde_autolink vde_cryptcab
   vde_l3 vde_over_ns vde_pcapplug vde_plug vde_plug2tap vde_switch
   vdeq vdeterm wirefilter )
test -d /usr/local/etc/vde2 && rm -r /usr/local/etc/vde2
( cd /usr/local/include
  rm -f libvdesnmp.h libvdemgmt.h libvdeplug.h libvdeplug_dyn.h libvdehist.h )
( cd /usr/local/lib
  rm -f libvdemgmt.* libvdesnmp.* libvdeplug.* libvdehist.* )
( cd /usr/local/lib/pkgconfig
  rm -f vdesnmp.pc vdemgmt.pc vdeplug.pc vdehist.pc )
test -d /usr/local/lib/vde2 && rm -r /usr/local/lib/vde2
for pydir in /usr/lib/python*/site-packages\
/usr/local/lib/python*/site-packages;
do ( cd $pydir ; rm -f VdePlug.py vdeplug_python.* ) ; done
(cd /usr/local/man/man1
  rm -f dpipe.1 slirpvde.1 unixcmd.1 unixterm.1 vde_autolink.1\
   vde_cryptcab.1 vde_l3.1 vde_over_ns.1 vde_pcapplug.1 vde_plug.1\
   vde_plug2tap.1 vde_switch.1 vdeq.1 vdetaplib.1 vdeterm.1 wirefilter.1 )
rm -f /usr/local/libexec/vdetap /usr/local/man/man8/vde_tunctl.8\
/usr/local/sbin/vde_tunctl
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "vde2-*" -exec rm -r {} \;
rm -f ~/installed/vde2-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2013-06-09 1:49am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]