Created
March 31, 2018 05:22
-
-
Save ChrisChiasson/206b2500d1792135ef7e41dc825f8122 to your computer and use it in GitHub Desktop.
livepeer transcoder setup in bash on ubuntu 17.10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install golang-go | |
go get github.com/livepeer/go-livepeer/cmd/livepeer | |
cd ~/go/src/github.com/livepeer/go-livepeer/ | |
go get ./... | |
sudo apt-get install autoconf | |
./install_ffmpeg.sh | |
export PKG_CONFIG_PATH=$HOME/compiled/lib/pkgconfig | |
go build ./cmd/livepeer/livepeer.go | |
go build ./cmd/livepeer_cli/*.go | |
sudo vim /etc/security/limits.conf | |
#edit file to add two lines without the quotes "* hard nofile 4096" and "* soft nofile 40960" | |
sudo vim /etc/pam.d/common-session | |
#add a line at the end without the quotes "session required pam_limits.so" | |
sudo reboot | |
cd ~/go/src/github.com/livepeer/go-livepeer/ | |
screen | |
#Enter | |
./livepeer --transcoder --rinkeby | |
#Ctrl+a, d | |
./livepeer_cli | |
#choose get ETH, follow instructions | |
#choose get LPT, follow instructions | |
#Ctrl+c | |
./livepeer_cli --transcoder | |
#choose become a transcoder, read "Transcoder() Transaction" section's three bullet points of the livepeer whitepaper, set parameters |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment