Last active
August 30, 2016 00:27
-
-
Save wshen0123/a43b9bf75b0f69d6559e1e2fd7c3715e to your computer and use it in GitHub Desktop.
This file contains 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
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* ~/ |
This file contains 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
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 |
This file contains 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
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