Skip to content

Instantly share code, notes, and snippets.

@wshen0123
Last active August 30, 2016 00:27
Show Gist options
  • Save wshen0123/a43b9bf75b0f69d6559e1e2fd7c3715e to your computer and use it in GitHub Desktop.
Save wshen0123/a43b9bf75b0f69d6559e1e2fd7c3715e to your computer and use it in GitHub Desktop.
sudo apt update
sudo apt install -y zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
mkdir workspace && cd workspace
git clone http://bitbucket.org/wshen0123/wconf
cd wconf
cp -r .zsh* .vim* ~/
DPDK_VER=16.04
DPDK_TAR="dpdk-$DPDK_VER.tar.xz"
DPDK_URL="http://fast.dpdk.org/rel/$DPDK_TAR"
DPDK_DIR=dpdk-$DPDK_VER
DPDK_TARGET=x86_64-native-linuxapp-gcc
OVS_GIT="https://github.com/openvswitch/ovs.git"
OVS_COMMIT="096d713"
OVS_DIR=~/ovs
wget $DPDK_URL
tar xf $DPDK_TAR
pushd .
cd $DPDK_DIR
make install T=$DPDK_TARGET -j
popd
mkdir $OVS_DIR
git clone $OVS_GIT
pushd .
cd $OVS_DIR
git checkout $OVS_COMMIT
DEPS="build-essential git autoconf libtool"
sudo apt update
sudo apt install $DEPS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment