Update docs

This commit is contained in:
logwang 2017-05-24 15:32:15 +08:00
parent 91a931fad7
commit 3377ed76b3
2 changed files with 8 additions and 8 deletions

View File

@ -63,10 +63,10 @@ Currently, besides authorized DNS server of DNSPod, there are various products i
#sudo apt-get install gawk # or execute `sudo update-alternatives --config awk` to choose gawk. #sudo apt-get install gawk # or execute `sudo update-alternatives --config awk` to choose gawk.
# Compile F-Stack # Compile F-Stack
cd ../../lib/
make
export FF_PATH=/data/f-stack export FF_PATH=/data/f-stack
export FF_DPDK=/data/f-stack/dpdk/x86_64-native-linuxapp-gcc export FF_DPDK=/data/f-stack/dpdk/x86_64-native-linuxapp-gcc
cd ../../lib/
make
#### Nginx #### Nginx

View File

@ -46,17 +46,17 @@ The mount point can be made permanent across reboots, by adding the following li
modprobe uio modprobe uio
insmod /data/f-stack/dpdk/x86_64-native-linuxapp-gcc/build/kmod/igb_uio.ko insmod /data/f-stack/dpdk/x86_64-native-linuxapp-gcc/build/kmod/igb_uio.ko
insmod /data/f-stack/dpdk/x86_64-native-linuxapp-gcc/build/kmod/rte_kni.ko insmod /data/f-stack/dpdk/x86_64-native-linuxapp-gcc/build/kmod/rte_kni.ko
python dpdk-devbind.py --status python dpdk-devbind.py --status
ifconfig eth0 down ifconfig eth0 down
python dpdk-devbind.py --bind=igb_uio eth0 # assuming that use 10GE NIC and eth0 python dpdk-devbind.py --bind=igb_uio eth0 # assuming that use 10GE NIC and eth0
## Compile lib ## Compile lib
cd ../../ export FF_PATH=/data/f-stack
export FF_DPDK=/data/f-stack/dpdk/x86_64-native-linuxapp-gcc
cd ../../
cd lib cd lib
make make
export FF_PATH=/data/f-stack
export FF_DPDK=/data/f-stack/dpdk/x86_64-native-linuxapp-gcc
### Compile Nginx ### Compile Nginx