mirror of https://github.com/F-Stack/f-stack.git
Merge branch 'master' of https://github.com/F-Stack/f-stack
This commit is contained in:
commit
e4ae9a659b
|
@ -83,6 +83,15 @@ Currently, besides authorized DNS server of DNSPod, there are various products i
|
||||||
make
|
make
|
||||||
make install
|
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 <ipaddr> netmask <netmask> broadcast <broadcast> hw ether <mac addr>
|
||||||
|
route add -net 0.0.0.0 gw <gateway> dev veth0
|
||||||
|
# route add -net ... # other route rules
|
||||||
|
|
||||||
## Nginx Testing Result
|
## Nginx Testing Result
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
make
|
make
|
||||||
|
|
||||||
# Compile Nginx
|
# Compile Nginx
|
||||||
cd ../app/nginx-1.11.10
|
cd ../app/nginx-1.11.10
|
||||||
./configure --prefix=/usr/local/nginx_fstack --with-ff_module
|
./configure --prefix=/usr/local/nginx_fstack --with-ff_module
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
Loading…
Reference in New Issue