From 8ba865bafaf52b1d75f71da75f8c2647f7fde9ac Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 28 May 2018 17:11:06 +0800 Subject: [PATCH] Update redis document. --- doc/F-Stack_Quick_Start_Guide.md | 36 ++++++++++++++------------------ 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/doc/F-Stack_Quick_Start_Guide.md b/doc/F-Stack_Quick_Start_Guide.md index ef9c3103..cd1d6df6 100644 --- a/doc/F-Stack_Quick_Start_Guide.md +++ b/doc/F-Stack_Quick_Start_Guide.md @@ -7,18 +7,11 @@ See Intel DPDK [linux_gsg](http://dpdk.org/doc/guides/linux_gsg/index.html) -## Clone F-Stack +## clone F-Stack mkdir /data/f-stack git clone https://github.com/F-Stack/f-stack.git /data/f-stack -## Install libnuma-dev - - # on Centos - yum install numactl-devel - # on Ubuntu - sudo apt-get install libnuma-dev - ## Compile DPDK Read DPDK Quick Started Guide or run the command below @@ -50,20 +43,20 @@ The mount point can be made permanent across reboots, by adding the following li ## offload NIC - modprobe uio - insmod /data/f-stack/dpdk/x86_64-native-linuxapp-gcc/kmod/igb_uio.ko - insmod /data/f-stack/dpdk/x86_64-native-linuxapp-gcc/kmod/rte_kni.ko - python dpdk-devbind.py --status - ifconfig eth0 down - python dpdk-devbind.py --bind=igb_uio eth0 # assuming that use 10GE NIC and eth0 + modprobe uio + insmod /data/f-stack/dpdk/x86_64-native-linuxapp-gcc/kmod/igb_uio.ko + insmod /data/f-stack/dpdk/x86_64-native-linuxapp-gcc/kmod/rte_kni.ko + python dpdk-devbind.py --status + ifconfig eth0 down + python dpdk-devbind.py --bind=igb_uio eth0 # assuming that use 10GE NIC and eth0 ## Compile lib - export FF_PATH=/data/f-stack - export FF_DPDK=/data/f-stack/dpdk/x86_64-native-linuxapp-gcc - cd ../../ - cd lib - make + export FF_PATH=/data/f-stack + export FF_DPDK=/data/f-stack/dpdk/x86_64-native-linuxapp-gcc + cd ../../ + cd lib + make ### Compile Nginx @@ -79,5 +72,8 @@ The mount point can be made permanent across reboots, by adding the following li cd app/redis-3.2.8/ make - make install + # run with start.sh + ./start.sh -b ./redis-server -o /path/to/redis.conf + # or run like this: + #./redis-server --conf=config.ini --proc-type=primary --proc-id=0 /path/to/redis.conf