mirror of https://github.com/F-Stack/f-stack.git
Update Launch_F-Stack_on_AWS_EC2_in_one_minute.
This commit is contained in:
parent
df692c6078
commit
30a6a05765
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue