Skip to content

Zebra Server

evaachim edited this page Mar 23, 2023 · 9 revisions

How to execute the zebra server and the db script

This is for issue #180

Use all of the following commands:

Note: to connect to the db, this can be done with remote access.

cat run_zebra.sh

rm -rf ./simulator/simulator-store && ./herd --store ./simulator/simulator-store && ./migrate --migrate ./simulator/simulator-store rm -f ./simulator/zebra-simulator.json rm -f ./simulator/admin.yaml

./zebra -c ./simulator/admin.yaml config init https://0.0.0.0:8000 ./zebra -c ./simulator/admin.yaml config email [email protected] ./zebra -c ./simulator/admin.yaml config user admin ./zebra -c ./simulator/admin.yaml config ca-cert ./simulator/zebra-ca.crt ./simulator/gen_certs.sh "./simulator" "sapshah-cs-bld.insieme.local" "1.1.1.1" ./zebra-server -c ./simulator/zebra-simulator.json init --auth-key "AvadaKedavra" --user="./simulator/admin.yaml" --password "Riddikulus" --cert "./simulator/zebra-server.crt" --key "./simulator/zebra-server.key" -a "tcp://0.0.0.0:8000" --store="./simulator/simulator-store" ./zebra-server --config ./simulator/zebra-simulator.json

How to access the db from the server:

Via remote access/connection to the db (through mysql).

Clone this wiki locally