ucloud-docs/lektor/content/install/contents.lr

70 lines
1.1 KiB
Text
Raw Normal View History

2019-10-10 16:39:15 +00:00
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
2019-10-12 15:16:06 +00:00
* uotp: an easy to use **o**ne **t**ime **p**assword implementation
2019-10-10 16:46:54 +00:00
* ucloud-api: allows to communicate with ucloud and is the only public
entrance point
2019-10-12 15:16:06 +00:00
* ucloud-scheduler: schedules VMs to hosts
2019-10-12 16:40:08 +00:00
* ucloud-pay: ordering/billing handling
2019-10-12 15:16:06 +00:00
2019-10-12 16:12:53 +00:00
## Installation steps for system requirements
2019-10-12 15:16:06 +00:00
### 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
```
2019-10-12 16:12:53 +00:00
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
2019-10-12 15:16:06 +00:00
### uotp
TBD
2019-10-12 16:12:53 +00:00
### ucloud-api
```
git clone https://code.ungleich.ch/ucloud/ucloud-api
cd ucloud-api
pipenv install
pipenv shell
python main.py
```
2019-10-12 16:40:08 +00:00
### ucloud-scheduler
```
git clone https://code.ungleich.ch/ucloud/ucloud-api
```