Install BTCPayServer

mar

bitcoin is freedom
Staff member
Joined
Jan 14, 2015
Messages
170
Points
28
Credits
55,526,874
Bronze Usergroup
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
 

mar

bitcoin is freedom
Staff member
Joined
Jan 14, 2015
Messages
170
Points
28
Credits
55,526,874
Bronze Usergroup
Username Style
On ubuntu

sudo apt-get update
sudo apt upgrade
sudo apt-get install apache2
sudo ufw allow 'Apache Full'
sudo systemctl enable apache2


sudo apt install mysql-server
sudo mysql_secure_installation

sudo apt install php php-pear
sudo apt install php-mysql
sudo apt install libapache2-mod-php
 
The Biggest Forums - The Biggest, Largest, Best, Most Popular Forums and Message Boards Top List on the Internet.
The Biggest Forums - The Biggest, Largest, Best, Most Popular Forums and Message Boards Top List on the Internet. Forum-List.com

Number of visitors since November 2018: