Deploy Architecture
To make the system deploy, the minimum deployment architecture is shown below, which consist of:
Hardware
- Wearable Glass (Optional)
- Teacher Client-Side — Personal Computer with Camera
- Student Client-Side — Personal Computer with Camera
- Server Side — 8 Core 16G Virtual Machine on ARM or x86 Platform
Software
- Teacher Side: Windows 10 with a Web Browser that supports WebSockets.
- Student Side: Windows 10 with a Web Browser that supports WebSockets.
- Server Side: CentOS 7
Installation on the PC side(Teacher/Student Client)
- Install Windows 10
- Install camera driver
- Install Firefox browser
Installation on Jenkins Slave
- Install CentOS 7, refer to https://phoenixnap.com/kb/how-to-install-centos-7
- Install IEC, refer to IEC Type1&2 Installation Guide for R2
- Install Tars, refer to https://github.com/TarsCloud/Tars/blob/master/Install.md
- Install Virtual Classroom
- Install Java for Jenkins Slave
Installation on Jenkins Master
Installation Architecture
Due to the hardware source limitation, Connected Vehicle Blueprint is deployed in three Virtual Machines in Amazon Web Service.
(Visit CI Lab Environment Setup if you want to set up connected vehicle blueprint in CI Lab.)
The following picture depicts the deployment architecture.
Server A : Deploy Jenkins.
Server B : Deploy Tars Master Node.
Server C :Deploy Tars Slave(Node) and the connected vehicle applications.
Installation Hardware
Installation Software
- CentOS 7 centos-7_aarch64 - ami-012355fc520b79a12
- mysql Ver 14.14 Distrib 5.6.26, for Linux (aarch64) using EditLine wrapper
- OpenStack: Rocky
- k8s:1.15.0
Installation Step by Step
Step1: Launch Instance in the Cloud
For Tencent Cloud, refer to the following link to apply new instance:
https://intl.cloud.tencent.com/document/product/213/9384?lang=en
For AWS A1, apply new instance, refer to the following link to apply new instance:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts.html
Step2: Install Jenkins
Refer to the following link for installing Jenkins Mater and connect to Jenkins Slave.
https://github.com/qiuxin/Connected-Vechicle
Step3: Install Tarsframework
Refer to the following link for installing Tarsframework.
https://github.com/qiuxin/Tars/blob/arm/Install.md
The following is the picture for Tars Framework website.
Step4: Tars Node
Refer to the following link for installing Tarsnode and connect Tarsnode to Tarsframework.
https://github.com/qiuxin/Tars/blob/arm/Install.md
Step5: Launch CI jobs
Create CI jobs and launch CI jobs in the following way.
The detail of the Jenkins script is depicted in the Test Document.