Advertisement
Guest User

Untitled

a guest
Dec 5th, 2015
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.81 KB | None | 0 0
  1. Last login: Fri Dec 4 21:38:34 on ttys015
  2. Chriss-MacBook-Pro-4:~ chris$ ssh pi@fullnode.local
  3. pi@fullnode.local's password:
  4. Linux fullnode 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l
  5.  
  6. The programs included with the Debian GNU/Linux system are free software;
  7. the exact distribution terms for each program are described in the
  8. individual files in /usr/share/doc/*/copyright.
  9.  
  10. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  11. permitted by applicable law.
  12. Last login: Fri Dec 4 22:44:33 2015
  13. pi@fullnode ~ $ mkdir ~/bitcoinData
  14. pi@fullnode ~ $ sudo blkid
  15. /dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="15CD-3B79" TYPE="vfat"
  16. /dev/mmcblk0p2: UUID="13d368bf-6dbf-4751-8ba1-88bed06bef77" TYPE="ext4"
  17. /dev/sda1: LABEL="BLOCKCHAIN" UUID="C796-1410" TYPE="vfat"
  18. pi@fullnode ~ $ sudo nano /etc/fstab
  19.  
  20.  
  21. pi@fullnode ~ $ sudo nano /etc/fstab
  22. pi@fullnode ~ $ sudo shutdown -r now
  23.  
  24. Broadcast message from root@fullnode (pts/1) (Fri Dec 4 23:06:34 2015):
  25.  
  26. The system is going down for reboot NOW!
  27. pi@fullnode ~ $ Connection to fullnode.local closed by remote host.
  28. Connection to fullnode.local closed.
  29. Chriss-MacBook-Pro-4:~ chris$ ssh pi@fullnode.local
  30. pi@fullnode.local's password:
  31. Linux fullnode 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l
  32.  
  33. The programs included with the Debian GNU/Linux system are free software;
  34. the exact distribution terms for each program are described in the
  35. individual files in /usr/share/doc/*/copyright.
  36.  
  37. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  38. permitted by applicable law.
  39. Last login: Fri Dec 4 22:56:15 2015 from chriss-macbook-pro-4.local
  40. pi@fullnode ~ $ cd ~/bitcoinData/
  41. pi@fullnode ~/bitcoinData $ nano bitcoin.conf
  42. pi@fullnode ~/bitcoinData $ bitcoind -datadir=/home/pi/bitcoinData -daemon
  43. Bitcoin server starting
  44. pi@fullnode ~/bitcoinData $ bitcoind getinfo
  45. Error: There is no RPC client functionality in bitcoind anymore. Use the bitcoin-cli utility instead.
  46. pi@fullnode ~/bitcoinData $ bitcoin-cli getinfo
  47. error: You must set rpcpassword=<password> in the configuration file:
  48. /home/pi/.bitcoin/bitcoin.conf
  49. If the file does not exist, create it with owner-readable-only file permissions.
  50. pi@fullnode ~/bitcoinData $ bitcoin-cli getinfo -rcpuser=bitcoinrpc -rcppassword=raspberry
  51. error: You must set rpcpassword=<password> in the configuration file:
  52. /home/pi/.bitcoin/bitcoin.conf
  53. If the file does not exist, create it with owner-readable-only file permissions.
  54. pi@fullnode ~/bitcoinData $ bitcoin-cli getinfo
  55. error: You must set rpcpassword=<password> in the configuration file:
  56. /home/pi/.bitcoin/bitcoin.conf
  57. If the file does not exist, create it with owner-readable-only file permissions.
  58. pi@fullnode ~/bitcoinData $ Bitcoin-cli stop
  59. -bash: Bitcoin-cli: command not found
  60. pi@fullnode ~/bitcoinData $ bitcoin-cli stop
  61. error: You must set rpcpassword=<password> in the configuration file:
  62. /home/pi/.bitcoin/bitcoin.conf
  63. If the file does not exist, create it with owner-readable-only file permissions.
  64. pi@fullnode ~/bitcoinData $
  65. Broadcast message from root@fullnode (Fri Dec 4 23:55:15 2015):
  66.  
  67. The system is going down for reboot NOW!
  68. Connection to fullnode.local closed by remote host.
  69. Connection to fullnode.local closed.
  70. Chriss-MacBook-Pro-4:~ chris$ ssh pi@fullnode.local
  71. pi@fullnode.local's password:
  72. Linux fullnode 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l
  73.  
  74. The programs included with the Debian GNU/Linux system are free software;
  75. the exact distribution terms for each program are described in the
  76. individual files in /usr/share/doc/*/copyright.
  77.  
  78. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  79. permitted by applicable law.
  80. Last login: Fri Dec 4 23:58:14 2015
  81. pi@fullnode ~ $ sudo chown pi:pi /home/pi/bitcoinData/
  82. pi@fullnode ~ $ sudo chmod 777 /home/pi/bitcoinData/
  83. pi@fullnode ~ $ bitcoind -datadir=/home/pi/bitcoinData -daemon
  84. Bitcoin server starting
  85. pi@fullnode ~ $ bitcoin-cli getinfo
  86. error: You must set rpcpassword=<password> in the configuration file:
  87. /home/pi/.bitcoin/bitcoin.conf
  88. If the file does not exist, create it with owner-readable-only file permissions.
  89. pi@fullnode ~ $
  90. Broadcast message from root@fullnode (Sat Dec 5 00:04:09 2015):
  91.  
  92. The system is going down for reboot NOW!
  93. Connection to fullnode.local closed by remote host.
  94. Connection to fullnode.local closed.
  95. Chriss-MacBook-Pro-4:~ chris$ ssh pi@fullnode.local
  96. pi@fullnode.local's password:
  97. Linux fullnode 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l
  98.  
  99. The programs included with the Debian GNU/Linux system are free software;
  100. the exact distribution terms for each program are described in the
  101. individual files in /usr/share/doc/*/copyright.
  102.  
  103. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  104. permitted by applicable law.
  105. Last login: Fri Dec 4 23:58:44 2015 from chriss-macbook-pro-4.local
  106. pi@fullnode ~ $ sudo chown -r pi:pi /home/pi/bitcoinData/
  107. chown: invalid option -- 'r'
  108. Try `chown --help' for more information.
  109. pi@fullnode ~ $ sudo chown pi:pi /home/pi/bitcoinData/ -r
  110. chown: invalid option -- 'r'
  111. Try `chown --help' for more information.
  112. pi@fullnode ~ $ sudo chown pi:pi /home/pi/bitcoinData/ -R
  113. pi@fullnode ~ $ ok
  114. -bash: ok: command not found
  115. pi@fullnode ~ $ bitcoind -datadir=/home/pi/bitcoinData -daemon
  116. Bitcoin server starting
  117. pi@fullnode ~ $ bitcoin-cli getinfo
  118. error: You must set rpcpassword=<password> in the configuration file:
  119. /home/pi/.bitcoin/bitcoin.conf
  120. If the file does not exist, create it with owner-readable-only file permissions.
  121. pi@fullnode ~ $ sudo reboot
  122.  
  123. Broadcast message from root@fullnode (pts/0) (Sat Dec 5 00:08:26 2015):
  124.  
  125. The system is going down for reboot NOW!
  126. pi@fullnode ~ $ Connection to fullnode.local closed by remote host.
  127. Connection to fullnode.local closed.
  128. Chriss-MacBook-Pro-4:~ chris$ ssh pi@fullnode.local
  129. pi@fullnode.local's password:
  130. Linux fullnode 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l
  131.  
  132. The programs included with the Debian GNU/Linux system are free software;
  133. the exact distribution terms for each program are described in the
  134. individual files in /usr/share/doc/*/copyright.
  135.  
  136. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  137. permitted by applicable law.
  138. Last login: Sat Dec 5 00:08:53 2015
  139. pi@fullnode ~ $ bitcoind -datadir=/home/pi/bitcoinData -daemon
  140. Bitcoin server starting
  141. pi@fullnode ~ $ Error: To use bitcoind, or the -server option to bitcoin-qt, you must set an rpcpassword in the configuration file:
  142. /home/pi/bitcoinData/bitcoin.conf
  143. It is recommended you use the following random password:
  144. rpcuser=bitcoinrpc
  145. rpcpassword=B6wtSQNFSZV85cZiuUSVokd6fjNwsyM7fR4QxxAJY9iW
  146. (you do not need to remember this password)
  147. The username and password MUST NOT be the same.
  148. If the file does not exist, create it with owner-readable-only file permissions.
  149. It is also recommended to set alertnotify so you are notified of problems;
  150. for example: alertnotify=echo %s | mail -s "Bitcoin Alert" admin@foo.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement