Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. Before using the Bitcoin Core daemon, bitcoind, you need to create its configuration file with a user name and password. First create the .bitcoin directory, create (touch) the file, and set the file’s permissions so that only your user account can read it. From your terminal or console, type:
  2.  
  3. mkdir ~/.bitcoin
  4. touch ~/.bitcoin/bitcoin.conf
  5. chmod 600 ~/.bitcoin/bitcoin.conf
  6.  
  7. Then you can run the command bitcoind. It will print output similar to this:
  8.  
  9. bitcoind
  10. Error: To use the "-server" option, you must set a rpcpassword in the configuration file:
  11. /home/bitcoinorg/.bitcoin/bitcoin.conf
  12. It is recommended you use the following random password:
  13. rpcuser=bitcoinrpc
  14. rpcpassword=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  15. (you do not need to remember this password)
  16. The username and password MUST NOT be the same.
  17. If the file does not exist, create it with owner-readable-only file permissions.
  18. It is also recommended to set alertnotify so you are notified of problems;
  19. for example: alertnotify=echo %s | mail -s "Bitcoin Alert" admin@foo.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement