Lightning Terminal

Lightning Terminal on FreeBSD

https://github.com/lightninglabs/lightning-terminal/blob/master/doc/compile.md

Install

bash
VERSION=v0.9.2-alpha

# dependencies
pkg install -y gmake git node14 yarn-node14 python2
# Go
GOVERSION=1.20.3
wget https://go.dev/dl/go${GOVERSION}.freebsd-amd64.tar.gz
tar -xvf go${GOVERSION}freebsd-amd64.tar.gz
rm /usr/local/go
mv go /usr/local
mkdir ~/.gopkg
export GOROOT=/usr/local/go
export GOPATH=/root/.gopkg
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

mkdir lightning-terminal-source-$VERSION
cd lightning-terminal-source-$VERSION
wget -O lightning-terminal-source-$VERSION.tar.gz https://github.com/lightninglabs/lightning-terminal/releases/download/$VERSION/lightning-terminal-source-$VERSION.tar.gz

# verify
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 26984CB69EB8C4A26196F7A4D7D916376026F177
wget -O manifest-$VERSION.txt https://github.com/lightninglabs/lightning-terminal/releases/download/$VERSION/manifest-$VERSION.txt
wget -O manifest-$VERSION.sig https://github.com/lightninglabs/lightning-terminal/releases/download/$VERSION/manifest-$VERSION.sig
gpg --verify manifest-$VERSION.sig manifest-$VERSION.txt

shasum -a 256 -c manifest-$VERSION.txt --ignore-missing

# build and install
tar -xvf lightning-terminal-source-$VERSION.tar.gz
gmake install

ln -s /root/.gopkg/bin/litd /root/go/bin/
ln -s /root/.gopkg/bin/litcli /root/go/bin/

service litd start
service litd status

cd
rm -r lightning-terminal-source-$VERSION

Config file

adapted from the RaspiBlitz (same setup with separate LND):

Service file

Tor Hidden Service

  • Create in:

  • reload Tor

  • read the Hidden Service

  • Tor logs

Start

Logs

Log in to the webUI at:

Update

The binary will be installed in:

or in

In the second case create symlinks:

Last updated