- ubuntu or debian based distribution
- AWS SES credentials
- root / user without sudo password
To install bitcoind,cln and lspd to your system simply run:
curl -sL https://raw.githubusercontent.com/breez/lspd/master/deploy/lspd-install.sh | sudo bash -
It will automatically configure your server and install all needed dependencies for running LSPD stack. You will have to manually change the name of your LSPD and your cln alias.
LSPD:
vim /home/lspd/.env
# change the name variable in the last line, it will have randomly generated name like "lsp-53v4"
NODES='[ { "name": "${LSPName}"
CLN:
vim /home/lightning/.lightning/config
# change alias row, it will have randomly generated name like "lsp-53v4"
alias="${LSPName}"
Edit file /home/lspd/.env
.
- set your SES credentials:
AWS_REGION="<REPLACE ME>"
AWS_ACCESS_KEY_ID="<REPLACE ME>"
AWS_SECRET_ACCESS_KEY="<REPLACE ME>"
- configure email
OPENCHANNEL_NOTIFICATION_TO='["REPLACE ME <[email protected]>"]'
OPENCHANNEL_NOTIFICATION_CC='["REPLACE ME <[email protected]>"]'
OPENCHANNEL_NOTIFICATION_FROM="[email protected]"
CHANNELMISMATCH_NOTIFICATION_TO='["REPLACE ME <[email protected]>"]'
CHANNELMISMATCH_NOTIFICATION_CC='["REPLACE ME <[email protected]>"]'
CHANNELMISMATCH_NOTIFICATION_FROM="[email protected]"
All credentials are generated automatically and are written down in /home/lspd/credentials.txt
Store them securely and delete the file.
Log file of deployment is written to /tmp/deployment.log
where you can see the entire output of what happend during deployment.