| #!bin/bash |
| echo "Prepare Docker on this machine" |
| sudo systemctl start docker.service |
| sudo systemctl enable docker.service |
| |
| sudo systemctl daemon-reload |
| sudo systemctl restart docker.service |
| |
| echo "Let's configure the network ports" |
| /usr/bin/bash moblab_configure |
| |
| |
| echo "Start the moblab networking service" |
| sudo systemctl start moblab-networking.service |
| sudo systemctl enable moblab-networking.service |
| sudo systemctl daemon-reload |
| sudo systemctl restart moblab-networking.service |
| |
| echo "install pip packages necessary for the functioning of moblab-host-server" |
| sudo pip install protobuf -U # to the latest |
| sudo pip install grpcio |
| |
| echo "Start the moblab-host-server service" |
| sudo systemctl start moblab-host-server.service |
| sudo systemctl enable moblab-host-server.service |
| sudo systemctl daemon-reload |
| sudo systemctl restart moblab-host-server.service |