Smart Citites R5 Installation Guide
Introduction
Smart Cities is an edge resource scheduling solution
PARSEC is an important open source component of Smart Cities, which provide a common API to secure services in a platform-agnostic way.
License
Apache License v2.0
How to use this document
The document describes how to compile and run parsec from source code.
The prerequisites and pre-installation software and hardware should be ready before executing the installation steps.
Deployment Architecture
PAESEC is deployed in a Virtual Machines in Amazon Web Service.
The following picture depicts the deployment architecture.
Pre-Installation Requirements
Hardware Requirements
Minimum Hardware Requirements
CPU core: 1
RAM: 1G
HDD: 16G
Recommended Hardware Requirements
CPU core: 2
RAM: 4G
HDD: 32G
Software Prerequisites
System: Ubuntu 18.04 LTS
Dependent package installation:
sudo apt-get install build-essential cmake clang
Rust installation:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Build PARSEC
git clone git clone "https://gerrit.akraino.org/r/a/cassini"
cd cassini/smartcities/parsec
cargo build --release --features "mbed-crypto-provider,direct-authenticator"
Running PARSEC
RUST_LOG=info ./target/release/parsec -c e2e_tests/provider_cfg/mbed-crypto/config.toml
STOP PARSEC
pkill parsec
Build Parsec Tool
git clone https://github.com/parallaxsecond/parsec-tool.git
cd parsec-tool
cargo build
Parsec Tool connect Parsec Service
export PARSEC_SERVICE_ENDPOINT=unix:/tmp/parsec.sock
./parsec-tool/target/debug/parsec-tool ping
Maintenance
Blue Print Package Maintenance
Frequently Asked Questions
N/A
License
Any software developed by the "Akraino Enterprise Applications on Smart Cities is licensed under the
Apache License, Version 2.0 (the "License");
you may not use the content of this software bundle except in compliance with the License.
You may obtain a copy of the License at <https://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
References
N/A
Definitions, acronyms and abbreviations
N/A