Skip to content

Commit

Permalink
Updated install.sh and setenv.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
archit-p committed Oct 13, 2019
1 parent c28ad84 commit fb4f6ae
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ BASE_DIR=$(pwd)
# update
sudo apt-get update

cd $RTE_SDK
sudo make install T=$RTE_TARGET
#compile onvm
cd $ONVM_HOME/scripts
./install.sh

cd $ONVM_HOME/onvm && make

Expand All @@ -30,15 +31,21 @@ autoheader
automake -a
autoreconf -fvi

./configure --with-dpdk-includes=$RTE_SDK/$RTE_TARGET/include --with-dpdk-libraries=$RTE_SDK/$RTE_TARGET/lib --with-netvm-includes=$ONVM_HOME/onvm --with-netvm-libraries=$ONVM_HOME/onvm --enable-static --disable-shared
./configure --enable-static --disable-shared --with-dpdk-includes=$RTE_SDK/$RTE_TARGET/include --with-dpdk-libraries=$RTE_SDK/$RTE_TARGET/lib --with-netvm-includes=$ONVM_HOME/onvm --with-netvm-libraries=$ONVM_HOME/onvm


make clean
make -j7
sudo make install

# Compile snort
cd $BASE_DIR/snort*
./configure --enable-sourcefire --enable-static --disable-shared
cd $BASE_DIR/snort-2.9*
aclocal
autoconf
autoheader
automake -a
autoreconf -fvi
./configure --enable-static --disable-shared --with-dpdk-includes=$RTE_SDK/$RTE_TARGET/include --with-dpdk-libraries=$RTE_SDK/$RTE_TARGET/lib --with-netvm-includes=$ONVM_HOME/onvm --with-netvm-libraries=$ONVM_HOME/onvm

make clean
make -j7
Expand Down

0 comments on commit fb4f6ae

Please sign in to comment.