compose-website/INSTALL.cloud.md

37 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2016-09-02 14:16:01 +00:00
# Instructions to install libre.sh
2016-02-11 11:19:49 +00:00
## Recommendation
2016-11-26 16:31:06 +00:00
- you'd need API key on Namecheap (if you want to automatically buy and configure domain name)
2016-02-11 11:19:49 +00:00
2016-03-24 09:51:44 +00:00
## Installation
2016-02-11 11:19:49 +00:00
2016-11-26 16:31:06 +00:00
These instructions depend a bit on your cloud provider.
2016-03-24 09:28:07 +00:00
2016-11-26 16:31:06 +00:00
### [Digital Ocean](https://m.do.co/c/1b468ce0671f)
2016-02-11 11:19:49 +00:00
2016-11-26 16:31:06 +00:00
1. Install [doctl](https://github.com/digitalocean/doctl/)
2. Issue the following command:
2016-07-28 10:59:17 +00:00
```
2016-11-26 16:31:06 +00:00
doctl compute droplet create libre.sh --user-data-file ./user_data --wait --ssh-keys $KEY_ID --size 1gb --region lon1 --image coreos-stable
2016-07-28 10:59:17 +00:00
```
2016-11-26 16:31:06 +00:00
### Provider with user_data support
2016-03-24 10:37:15 +00:00
2016-11-26 16:31:06 +00:00
If you use a cloud provider that support `user_data`, like [Scaleway](http://scaleway.com/), just use [this user_data](https://raw.githubusercontent.com/indiehosters/libre.sh/master/user_data).
### Hetzner
You can also buy a baremetal at [Hetzner](https://serverboerse.de/index.php?country=EN) as they are the cheapest options around. Follow these [instructions](INSTALL_HETZNER.md) in this case.
### Provider without user_data support
Use boot a live cd, and issue that command:
2016-02-11 11:19:49 +00:00
2016-11-26 16:31:06 +00:00
```
wget https://raw.github.com/coreos/init/master/bin/coreos-install
bash coreos-install -d /dev/sda -c user_data
2016-03-24 09:51:44 +00:00
```
2016-03-24 10:37:15 +00:00
2016-09-02 14:16:01 +00:00
And voila, your first libre.sh node is ready!