Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TO INSTALL BLACKCOIN
- sudo apt-get install git
- sudo apt-get update
- mkdir -p blackcoin && cd blackcoin
- git clone https://github.com/Blackcoin/blackcoin.git
- sudo apt-get install build-essential
- sudo apt-get install libssl-dev
- sudo apt-get install libdb++-dev
- sudo apt-get install libboost-all-dev
- sudo apt-get install libqrencode-dev
- sudo apt-get install libminiupnpc-dev
- sudo apt-get install make
- sudo apt-get install qtchooser
- cd blackcoin
- cd src
- sync; echo 3 | sudo tee /proc/sys/vm/drop_caches --> to free up RAM
- make -f makefile.unix
- # create a blackcoin.conf where the wallet is
- # insert the following in:
- server=1 #makes your wallet a server
- daemon=1
- listen=1
- rpcuser=user # login username
- rpcpassword=pass # login password
- rpctimeout=30 #timeout duration
- rpcallowip=0.0.0.0 # by default, only localhost is allowed to make requests. Notice * for a wildcard
- rpcport=15715 #port on which to listen.
- iptables -I INPUT -p tcp --dport 15332 --syn -j ACCEPT
- chmod +x blackcoind
- ./blackcoind
- find public ip of instance
- change the sucurity group options to allow inboud 15715 custom tcp rule
- make sure outbound rules for client (hosting service) allow for port 15715
- make sure to allow outboud port connection to 15715 on you website's host
- COMMANDS
- ./blackcoind -daemon
- blackcoind getblockcount
- -- to close
- pidof blackcoind
- sudo kill ###
- -- to gain root access
- sudo su -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement