AWS Node Installation Instructions

Doug Petkanics edited this page Jun 16, 2017 · 1 revision

Used the Ubuntu t2.micro quick start template on AWS (1GB Ram only).

SSH’ed in.

Install ffmpeg:

Install golang:

Install Livepeer.

  • run go get github.com/livepeer/go-livepeer/cmd/livepeer

Ran into memory issues on a micro install compiling livepeer. Followed these instructions to add 1GB of swap space https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04

ubuntu@ip-172-31-5-96:~/go/src/github.com/livepeer/go-livepeer$ sudo fallocate -l 1G /swapfile
ubuntu@ip-172-31-5-96:~/go/src/github.com/livepeer/go-livepeer$ sudo chmod 600 /swapfile
ubuntu@ip-172-31-5-96:~/go/src/github.com/livepeer/go-livepeer$ sudo mkswap /swapfile
ubuntu@ip-172-31-5-96:~/go/src/github.com/livepeer/go-livepeer$ sudo swapon /swapfile
ubuntu@ip-172-31-5-96:~/go/src/github.com/livepeer/go-livepeer$ echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.