|
|
|
|
|
|
|
|
Flash Hypriot |
|
|
Flash Hypriot |
|
|
------------- |
|
|
------------- |
|
|
|
|
|
|
|
|
You can check last images [here](http://blog.hypriot.com/downloads/) and use [flash tool](https://github.com/hypriot/flash) to flash your RespberryPi SD: |
|
|
|
|
|
|
|
|
You can check last images [here](http://blog.hypriot.com/downloads/) and use [flash tool](https://github.com/hypriot/flash) to flash your RaspberryPi SD: |
|
|
|
|
|
|
|
|
flash --hostname your-hostname https://github.com/hypriot/image-builder-rpi/releases/download/v1.4.0/hypriotos-rpi-v1.4.0.img.zip |
|
|
flash --hostname your-hostname https://github.com/hypriot/image-builder-rpi/releases/download/v1.4.0/hypriotos-rpi-v1.4.0.img.zip |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
passwd |
|
|
passwd |
|
|
|
|
|
|
|
|
You can also set up paswwordless access with: |
|
|
|
|
|
|
|
|
You can also set up paswordless access with: |
|
|
|
|
|
|
|
|
ssh-copy-id -i ~/.ssh/your-key_rsa.pub pirate@your-rpi -o "IdentitiesOnly yes" |
|
|
ssh-copy-id -i ~/.ssh/your-key_rsa.pub pirate@your-rpi -o "IdentitiesOnly yes" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo service dbus restart |
|
|
sudo service dbus restart |
|
|
sudo service avahi restart |
|
|
sudo service avahi restart |
|
|
|
|
|
|
|
|
|
|
|
Install missing `libnss-mdns` package (see explanation [here](https://paulnebel.io/api/containers/lean/node/raspberry_pi/swarm/2016/08/23/hypriotos-swarm-raspberry-pi-cluster/)): |
|
|
|
|
|
|
|
|
|
|
|
sudo aptitude install libnss-mdns |
|
|
|
|
|
|
|
|
|
|
|
Also make sure `avahi-daemon` works, and otherwise restart it. See [this issue](https://github.com/hypriot/image-builder-rpi/issues/170). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Swarm |
|
|
Swarm |
|
|
----- |
|
|
----- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ldapadd -W -D "cn=admin,dc=your-domain,dc=com" -f user_pwd.ldif |
|
|
ldapadd -W -D "cn=admin,dc=your-domain,dc=com" -f user_pwd.ldif |
|
|
|
|
|
|
|
|
You generate the password with: |
|
|
|
|
|
|
|
|
You can generate the password with: |
|
|
|
|
|
|
|
|
slappasswd -s your-password |
|
|
slappasswd -s your-password |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
./letsencrypt.sh <your-stack-name> |
|
|
./letsencrypt.sh <your-stack-name> |
|
|
|
|
|
|
|
|
|
|
|
Own registry |
|
|
|
|
|
------------ |
|
|
|
|
|
|
|
|
|
|
|
Follow the instructions [here](https://docs.docker.com/engine/swarm/stack-deploy/#set-up-a-docker-registry) to set up your own registry: |
|
|
|
|
|
|
|
|
|
|
|
docker service create --name registry --publish published=5000,target=5000 registry:2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dynamic DNS |
|
|
Dynamic DNS |
|
|
----------- |
|
|
----------- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---- |
|
|
---- |
|
|
|
|
|
|
|
|
- Install and enable Nextcloud apps automatically |
|
|
- Install and enable Nextcloud apps automatically |
|
|
- Let's Encrypt |
|
|
|
|
|
- DNS |
|
|
- DNS |
|
|
- XMPP |
|
|
- XMPP |
|
|
- Wordpress |
|
|
- Wordpress |
|
|
- Gitlab |
|
|
|
|
|
- VPN |
|
|
- VPN |
|
|
- Opens social networks (GNU social, Diaspora) |
|
|
|
|
|
|
|
|
- Open social networks (GNU social, Diaspora) |
|
|
- Transmission |
|
|
- Transmission |
|
|
- Sia storage |
|
|
- Sia storage |
|
|
- Use PHP7 for Nextcloud |
|
|
- Use PHP7 for Nextcloud |