Post
Topic
Board Bitcoin Technical Support
Re: Questions RE: setting up Lightning Node on Raspberry Pi with Stadicus' guide
by
Zand_
on 17/01/2019, 15:40:54 UTC
Should I delete what I have and paste your copy?

No, that will probably break something. We have to get rid of everything related to Go. Remove the following lines and save the file.

Code:
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi
export GOPATH=$HOME/go
PATH="$HOME/go/bin:$PATH"
export GOPATH=$HOME/go
PATH="$HOME/go/bin:$PATH"
export GOPATH=$HOME/go
PATH="$HOME/go/bin:$PATH"
export GOPATH=$HOME/go
PATH="$HOME/go/bin:$PATH"
export GOPATH=$HOME/go
PATH="$HOME/go/bin:$PATH"

Now, you can use echo 'PATH="$PATH:/usr/local/go/bin"' >> ~/.profile. Log out and try to use the command from Zap connect.

Ok sounds good, will have to try this when I get home. Speaking of which, do you know of a way I can connect to my node from an outside network? This way I can play around with it when I have free time at work.