Update nginx doc

This commit is contained in:
logwang 2017-09-04 16:31:00 +08:00
parent df692c6078
commit 05d2ac0fd3
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[dpdk] [dpdk]
## Hexadecimal bitmask of cores to run on. ## Hexadecimal bitmask of cores to run on.
lcore_mask=3 lcore_mask=1
## Port mask, enable and disable ports. ## Port mask, enable and disable ports.
## Default: all ports are enabled. ## Default: all ports are enabled.
#port_mask=1 #port_mask=1

View File

@ -70,6 +70,9 @@
ifconfig eth0 down ifconfig eth0 down
python /data/f-stack/dpdk/tools/dpdk-devbind.py --bind=igb_uio eth0 python /data/f-stack/dpdk/tools/dpdk-devbind.py --bind=igb_uio eth0
# copy config.ini to $NGX_PREFIX/conf/f-stack.conf
cp /data/f-stack/config.ini /usr/local/nginx_fstack/conf/f-stack.conf
# start Nginx # start Nginx
/usr/local/nginx_fstack/sbin/nginx /usr/local/nginx_fstack/sbin/nginx