69 lines
1.1 KiB
Markdown
69 lines
1.1 KiB
Markdown
title: How to install ucloud
|
|
---
|
|
body:
|
|
|
|
**THIS SITE IS UNDER CONSTRUCTION**
|
|
|
|
![under construction](/underconstruction.jpg)
|
|
|
|
## Introduction
|
|
|
|
To operate ucloud, you need the following components:
|
|
|
|
* etcd: an easy to use, distributed data base
|
|
* uotp: an easy to use **o**ne **t**ime **p**assword implementation
|
|
* ucloud-api: allows to communicate with ucloud and is the only public
|
|
entrance point
|
|
* ucloud-scheduler: schedules VMs to hosts
|
|
* ucloud-pay: ordering/billing handling
|
|
|
|
## Installation steps for system requirements
|
|
|
|
### etcd
|
|
|
|
The installation and configuration of a production grade etcd cluster
|
|
is out of scope of this manual. For testing purposes, you can just
|
|
install etcd and run it as follows:
|
|
|
|
```
|
|
etcd
|
|
```
|
|
|
|
Arch Linux:
|
|
|
|
Install etcd from AUR, for instance via yaourt:
|
|
|
|
```
|
|
yaourt -S etcd
|
|
```
|
|
|
|
### pipenv
|
|
|
|
Arch Linux:
|
|
|
|
```
|
|
sudo pacman -Syu python-pipenv
|
|
```
|
|
|
|
## Installation steps for ucloud components
|
|
|
|
### uotp
|
|
|
|
TBD
|
|
|
|
### ucloud-api
|
|
|
|
```
|
|
git clone https://code.ungleich.ch/ucloud/ucloud-api
|
|
cd ucloud-api
|
|
pipenv install
|
|
pipenv shell
|
|
python main.py
|
|
```
|
|
|
|
### ucloud-scheduler
|
|
|
|
```
|
|
git clone https://code.ungleich.ch/ucloud/ucloud-api
|
|
|
|
```
|