Install BTCPayServer

Admin

hi
Staff member
Joined
Jan 14, 2015
Messages
130
Points
28
Credits
78,125
Username Style
---install docker first
https://docs.docker.com/install/linux/docker-ce/debian/


sudo apt-get update

sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -


sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"

sudo apt-get update

sudo apt-get install docker-ce


sudo docker run hello-world



install BTCPayServer


git clone https://github.com/btcpayserver/btcpayserver-docker

cd btcpayserver-docker

export NBITCOIN_NETWORK="mainnet"
export BTCPAYGEN_CRYPTO1="btc"
export BTCPAYGEN_CRYPTO2="ltc"
export BTCPAYGEN_CRYPTO3="dash"
export BTCPAYGEN_LIGHTNING="lnd"
export BTCPAY_HOST="YOURDOMAIN"
export LETSENCRYPT_EMAIL="YOUREMAIL"
export BTCPAYGEN_ADDITIONAL_FRAGMENTS="opt-save-storage-s"


export ACME_CA_URI="https://acme-staging.api.letsencrypt.org/directory"
ssh-keygen -t rsa -f /root/.ssh/id_rsa_btcpay -q -P ""
cat /root/.ssh/id_rsa_btcpay.pub >> /root/.ssh/authorized_keys
export BTCPAY_HOST_SSHKEYFILE=/root/.ssh/id_rsa_btcpay



. ./btcpay-setup.sh -i
 
The Biggest Forums - The Biggest, Largest, Best, Most Popular Forums and Message Boards Top List on the Internet. Forum-List.com