« on: January 17, 2019, 02:42:27 pm »
The following were tested in Ubuntu 14.04 and Ubuntu 16.04,
some dependencies can be different in other distros.- aptitude update -y && aptitude upgrade -y && apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
- dd if=/dev/zero of=/swapfile bs=1M count=4096
- mkswap /swapfile
- swapon /swapfile
- echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
- sudo apt-get install build-essential libssl-dev libboost-all-dev libdb5.3 libdb5.3-dev libdb5.3++-dev libtool automake libevent-dev bsdmainutils -y
- sudo apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat autotools-dev pkg-config libminiupnpc-dev libzmq3-dev -y
- sudo apt-get install libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev gettext
- git clone https://github.com/groestlcoin/groestlcoin
- cd groestlcoin
- ./autogen.sh
- ./configure
- make
- strip src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx src/groestlcoin-wallet
- sudo mv src/groestlcoind src/groestlcoin-cli src/groestlcoin-tx src/groestlcoin-wallet /usr/bin
- mkdir ~/.groestlcoin
- nano ~/.groestlcoin/groestlcoin.conf
- write:
listen=1
server=1
maxconnections=865
daemon=1
txindex=1
rpcuser=yourusernamehere
rpcpassword=yourpasswordhere
whitelist=127.0.0.1 - Crtl+o enter, ctrl X
- groestlcoind -testnet
- Let it sync (can take up to 2 hours), verify with groestlcoin-cli -testnet -getinfo
- git clone https://github.com/Groestlcoin/lightning.git
- cd lightning
- ./configure
- make
- strip lightningd/lightningd cli/lightning-cli
- mkdir ~/.lightning
- nano ~/.lightning/config
- write:
alias=Groestlcoin_testnet
network=testnet
bitcoin-rpcuser=yourusernamehere
bitcoin-rpcpassword=yourpasswordhere
bitcoin-rpcconnect=127.0.0.1
bitcoin-rpcport=17766
bind-addr=
announce-addr=YOURIPADDRESS:9735 - Crtl+o enter, ctrl X
- screen -S lightning
- ./lightningd/lightningd
- Crtl+A, ctrl+D
- check if all is ok: ./cli/lightning-cli getinfo
- curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
- sudo apt-get install -y nodejs
- git clone https://github.com/groestlcoin/groestlcoin-spark
- cd groestlcoin-spark
- npm install
- npm run dist:npm --unsafe-perm
- screen -S Spark
- ./dist/cli.js -C ~/groestlcoin-spark/config --host YourIpAddressHere --no-tls --port 80 --ln-path ~/.lightning/testnet
- Crtl+A, ctrl+D
- Your username and password and accesskey are saved in ~/groestlcoin-spark/config (username:password:accesskey format)
- check if you can access and login to http://YourIpAddressHere/
- check if you can login with your windows/osx/linux/Android client with http://YourIpAddressHere/ and the accesskey
« Last Edit: August 11, 2020, 02:04:15 pm by jackielove4u »

Logged