System Installation
Install step-by-step
1. Clone the repo
git clone https://github.com/dingyiyi0226/standard-p1935.git
2. Install python 3.7 with requirements
pip install -r requirements.txt
3. Install MongoDB
4. Add users in database
mongo < init_db.js
(On a new Ubuntu device) Install by the init script
Edge/Fog Orchestrator
./misc/init.sh efo The script will i. Create a user p1935 with sudo privilege ii. Install dependencies iii. Install pyenv iv. Install mongodb and configure user data
Control/Compute Node VM Container (Used by creating VM feature on 1935 platform)
./misc/init.sh compute The script will i. Create a user p1935 with sudo privilege ii. Install virtualbox, virtualbox-ext-pack iii. Download k8s_base.ova
Start the system
1. (Optional) Switch the user to wmnlab by sudo su - wmnlab (Required if you need to create vm)
2. Activate the python environment by conda activate 1935env
3. Start Edge/Fog Orchestrator by executing ./run_dev.sh or ./run_prod.sh from develop/production mode.
4. Go to http://192.168.50.166:5000/ in web browser to access the UI of Edge/Fog Orchestrator.