From 5c7fa5d0dfe8e332c64867ebf4e6f4b81b98b9b7 Mon Sep 17 00:00:00 2001 From: Lihuanghe Date: Mon, 22 May 2017 09:38:39 +0800 Subject: [PATCH 1/3] document mistake --- doc/Launch_F-Stack_on_AWS_EC2_in_one_minute.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Launch_F-Stack_on_AWS_EC2_in_one_minute.md b/doc/Launch_F-Stack_on_AWS_EC2_in_one_minute.md index 4fc1b245a..b7bd5cbfe 100644 --- a/doc/Launch_F-Stack_on_AWS_EC2_in_one_minute.md +++ b/doc/Launch_F-Stack_on_AWS_EC2_in_one_minute.md @@ -58,7 +58,7 @@ make # Compile Nginx -   cd ../app/nginx-1.11.10 + cd ../app/nginx-1.11.10 ./configure --prefix=/usr/local/nginx_fstack --with-ff_module make make install From 8e26089a10f083b582ab6036bdc89cec6c349bfd Mon Sep 17 00:00:00 2001 From: johnjiang Date: Tue, 23 May 2017 16:01:51 +0800 Subject: [PATCH 2/3] add kni virtural nic config --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 532e59ea4..7404378f5 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,15 @@ Currently, besides authorized DNS server of DNSPod, there are various products i make make install +  If KNI is enabled in the configuration file, you should create a virtual NIC after F-Stack started, and set the ipaddr, netmask, mac addr, route table, etc. These addrs must be same with F-Stack. + + If you don't have another management port, you should execute a script like this. + + ./start.sh -b /usr/local/nginx_fstack/sbin/nginx -c config.ini +    sleep 10 +   ifconfig veth0 netmask   broadcast hw ether +   route add -net 0.0.0.0 gw dev veth0 +    # route add -net ... # other route rules ## Nginx Testing Result From 87255e88bcdf764a4b6db9c0f9e316709164c0a1 Mon Sep 17 00:00:00 2001 From: johnjiang Date: Tue, 23 May 2017 16:05:59 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7404378f5..1411387b5 100644 --- a/README.md +++ b/README.md @@ -88,10 +88,10 @@ Currently, besides authorized DNS server of DNSPod, there are various products i If you don't have another management port, you should execute a script like this. ./start.sh -b /usr/local/nginx_fstack/sbin/nginx -c config.ini -    sleep 10 -   ifconfig veth0 netmask   broadcast hw ether -   route add -net 0.0.0.0 gw dev veth0 -    # route add -net ... # other route rules + sleep 10 + ifconfig veth0 netmask   broadcast hw ether + route add -net 0.0.0.0 gw dev veth0 + # route add -net ... # other route rules ## Nginx Testing Result