Advertisement
Ajes1337

Untitled

Nov 1st, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.56 KB | None | 0 0
  1.  
  2. Pressing ENTER will use the default value for the next prompts.
  3.  
  4. Add swap space? (Recommended) [Y/n] :
  5. Swap Size [2G] : 4G
  6. Install Fail2ban? (Recommended) [Y/n] :
  7. Install UFW and configure ports? (Recommended) [Y/n] :
  8.  
  9. Adding swap space...
  10. Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
  11. no label, UUID=044f9c99-4d23-451d-a3dd-ff76873ee7a4
  12. swapon: /swapfile: swapon failed: Operation not permitted
  13. /swapfile none swap sw 0 0
  14. sysctl: setting key "vm.swappiness": Read-only file system
  15. sysctl: setting key "vm.vfs_cache_pressure": Read-only file system
  16. vm.swappiness=10
  17. vm.vfs_cache_pressure=50
  18. groupadd: group 'masternode' already exists
  19. useradd: user 'masternode' already exists
  20.  
  21. Upgrading system...
  22. Hit:1 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu xenial InRelease
  23. Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
  24. Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
  25. Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
  26. Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
  27. Reading package lists... Done
  28. Reading package lists... Done
  29. Building dependency tree
  30. Reading state information... Done
  31. Calculating upgrade... Done
  32. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  33.  
  34. Installing bitcoin PPA...
  35. Reading package lists... Done
  36. Building dependency tree
  37. Reading state information... Done
  38. software-properties-common is already the newest version (0.96.20.7).
  39. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  40. gpg: keyring `/tmp/tmpsfdf681x/secring.gpg' created
  41. gpg: keyring `/tmp/tmpsfdf681x/pubring.gpg' created
  42. gpg: requesting key 8842CE5E from hkp server keyserver.ubuntu.com
  43. gpg: /tmp/tmpsfdf681x/trustdb.gpg: trustdb created
  44. gpg: key 8842CE5E: public key "Launchpad PPA for Bitcoin" imported
  45. gpg: no ultimately trusted keys found
  46. gpg: Total number processed: 1
  47. gpg:               imported: 1  (RSA: 1)
  48. OK
  49. Hit:1 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu xenial InRelease
  50. Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
  51. Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
  52. Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
  53. Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
  54. Reading package lists... Done
  55.  
  56. Installing base packages...
  57. Reading package lists... Done
  58. Building dependency tree
  59. Reading state information... Done
  60. libboost-dev is already the newest version (1.58.0.1ubuntu1).
  61. libboost-program-options-dev is already the newest version (1.58.0.1ubuntu1).
  62. libboost-chrono-dev is already the newest version (1.58.0.1ubuntu1).
  63. libboost-filesystem-dev is already the newest version (1.58.0.1ubuntu1).
  64. libboost-system-dev is already the newest version (1.58.0.1ubuntu1).
  65. libboost-test-dev is already the newest version (1.58.0.1ubuntu1).
  66. libboost-thread-dev is already the newest version (1.58.0.1ubuntu1).
  67. git is already the newest version (1:2.7.4-0ubuntu1.5).
  68. libevent-dev is already the newest version (2.0.21-stable-2ubuntu0.16.04.1).
  69. libminiupnpc-dev is already the newest version (1.9.20140610-2ubuntu2.16.04.2).
  70. wget is already the newest version (1.17.1-1ubuntu1.4).
  71. libdb4.8-dev is already the newest version (4.8.30-xenial4).
  72. libdb4.8++-dev is already the newest version (4.8.30-xenial4).
  73. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  74.  
  75. Installing fail2ban...
  76. Reading package lists... Done
  77. Building dependency tree
  78. Reading state information... Done
  79. fail2ban is already the newest version (0.9.3-1).
  80. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  81.  * Restarting authentication failure monitor fail2ban                                                                                                   ERROR  No file(s) found for glob /var/log/auth.log
  82. ERROR  Failed during configuration: Have not found any log file for sshd jail
  83.                                                                                                                                                  [fail]
  84.  
  85. Installing UFW...
  86. Reading package lists... Done
  87. Building dependency tree
  88. Reading state information... Done
  89. ufw is already the newest version (0.35-0ubuntu2).
  90. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  91.  
  92. Configuring UFW...
  93. Default incoming policy changed to 'deny'
  94. (be sure to update your rules accordingly)
  95. Default outgoing policy changed to 'allow'
  96. (be sure to update your rules accordingly)
  97. ERROR: initcaps
  98. [Errno 2] iptables v1.6.0: can't initialize iptables table `filter': Permission denied (you must be root)
  99. Perhaps iptables or your kernel needs to be upgraded.
  100.  
  101. ERROR: initcaps
  102. [Errno 2] iptables v1.6.0: can't initialize iptables table `filter': Permission denied (you must be root)
  103. Perhaps iptables or your kernel needs to be upgraded.
  104.  
  105. ERROR: problem running ufw-init
  106. /lib/ufw/ufw-init: 118: /lib/ufw/ufw-init: modprobe: not found
  107. /lib/ufw/ufw-init: 118: /lib/ufw/ufw-init: modprobe: not found
  108. /lib/ufw/ufw-init: 118: /lib/ufw/ufw-init: modprobe: not found
  109. iptables-restore v1.6.0: iptables-restore: unable to initialize table 'filter'
  110.  
  111. Error occurred at line: 1
  112. Try `iptables-restore -h' or 'iptables-restore --help' for more information.
  113. iptables-restore v1.6.0: iptables-restore: unable to initialize table 'filter'
  114.  
  115. Error occurred at line: 1
  116. Try `iptables-restore -h' or 'iptables-restore --help' for more information.
  117. iptables-restore v1.6.0: iptables-restore: unable to initialize table 'filter'
  118.  
  119. Error occurred at line: 1
  120. Try `iptables-restore -h' or 'iptables-restore --help' for more information.
  121. iptables-restore v1.6.0: iptables-restore: unable to initialize table 'filter'
  122.  
  123. Error occurred at line: 1
  124. Try `iptables-restore -h' or 'iptables-restore --help' for more information.
  125. iptables-restore v1.6.0: iptables-restore: unable to initialize table 'filter'
  126.  
  127. Error occurred at line: 1
  128. Try `iptables-restore -h' or 'iptables-restore --help' for more information.
  129. iptables-restore v1.6.0: iptables-restore: unable to initialize table 'filter'
  130.  
  131. Error occurred at line: 12
  132. Try `iptables-restore -h' or 'iptables-restore --help' for more information.
  133. iptables-restore v1.6.0: iptables-restore: unable to initialize table 'filter'
  134.  
  135. Error occurred at line: 12
  136. Try `iptables-restore -h' or 'iptables-restore --help' for more information.
  137. iptables-restore v1.6.0: iptables-restore: unable to initialize table 'filter'
  138.  
  139. Error occurred at line: 1
  140. Try `iptables-restore -h' or 'iptables-restore --help' for more information.
  141. iptables-restore v1.6.0: iptables-restore: unable to initialize table 'filter'
  142.  
  143. Error occurred at line: 1
  144. Try `iptables-restore -h' or 'iptables-restore --help' for more information.
  145. iptables-restore v1.6.0: iptables-restore: unable to initialize table 'filter'
  146.  
  147. Error occurred at line: 1
  148. Try `iptables-restore -h' or 'iptables-restore --help' for more information.
  149. sysctl: setting key "net.ipv4.conf.default.rp_filter": Read-only file system
  150. sysctl: setting key "net.ipv4.conf.all.rp_filter": Read-only file system
  151. sysctl: setting key "net.ipv4.conf.default.accept_source_route": Read-only file system
  152. sysctl: setting key "net.ipv4.conf.all.accept_source_route": Read-only file system
  153. sysctl: setting key "net.ipv6.conf.default.accept_source_route": Read-only file system
  154. sysctl: setting key "net.ipv6.conf.all.accept_source_route": Read-only file system
  155. sysctl: setting key "net.ipv4.conf.default.accept_redirects": Read-only file system
  156. sysctl: setting key "net.ipv4.conf.all.accept_redirects": Read-only file system
  157. sysctl: setting key "net.ipv6.conf.default.accept_redirects": Read-only file system
  158. sysctl: setting key "net.ipv6.conf.all.accept_redirects": Read-only file system
  159. sysctl: setting key "net.ipv4.icmp_echo_ignore_broadcasts": Read-only file system
  160. sysctl: setting key "net.ipv4.icmp_ignore_bogus_error_responses": Read-only file system
  161. sysctl: setting key "net.ipv4.icmp_echo_ignore_all": Read-only file system
  162. sysctl: setting key "net.ipv4.conf.default.log_martians": Read-only file system
  163. sysctl: setting key "net.ipv4.conf.all.log_martians": Read-only file system
  164. sysctl: setting key "net.ipv4.tcp_syncookies": Read-only file system
  165.  
  166. Problem loading ipv6 (skipping)
  167. Problem running '/etc/ufw/before.rules'
  168. Problem running '/etc/ufw/after.rules'
  169. Problem running '/etc/ufw/user.rules'
  170.  
  171.  
  172. Firewall installed and enabled!
  173.  
  174. Downloading Galactrum v1.1.6...
  175. --2018-11-01 20:44:00--  https://github.com/galactrum/galactrum/releases/download/v1.1.6/galactrum-1.1.6-linux64.tar.gz
  176. Resolving github.com (github.com)... 140.82.118.3, 140.82.118.4
  177. Connecting to github.com (github.com)|140.82.118.3|:443... connected.
  178. HTTP request sent, awaiting response... 302 Found
  179. Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/113705153/0cc49000-2f5d-11e8-9995-49b09f594a14?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181101%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181101T204401Z&X-Amz-Expires=300&X-Amz-Signature=9f3e294691e10bf2074c792927be1863c59740f91c3260b026737515b857a968&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgalactrum-1.1.6-linux64.tar.gz&response-content-type=application%2Foctet-stream [following]
  180. --2018-11-01 20:44:01--  https://github-production-release-asset-2e65be.s3.amazonaws.com/113705153/0cc49000-2f5d-11e8-9995-49b09f594a14?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181101%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181101T204401Z&X-Amz-Expires=300&X-Amz-Signature=9f3e294691e10bf2074c792927be1863c59740f91c3260b026737515b857a968&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgalactrum-1.1.6-linux64.tar.gz&response-content-type=application%2Foctet-stream
  181. Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.164.171
  182. Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.164.171|:443... connected.
  183. HTTP request sent, awaiting response... 200 OK
  184. Length: 27658727 (26M) [application/octet-stream]
  185. Saving to: 'galactrum-1.1.6-linux64.tar.gz'
  186.  
  187. galactrum-1.1.6-linux64.tar.gz        100%[=========================================================================>]  26.38M  13.9MB/s    in 1.9s
  188.  
  189. 2018-11-01 20:44:03 (13.9 MB/s) - 'galactrum-1.1.6-linux64.tar.gz' saved [27658727/27658727]
  190.  
  191. galactrum-1.1.6/
  192. galactrum-1.1.6/bin/
  193. galactrum-1.1.6/bin/galactrum-cli
  194. galactrum-1.1.6/bin/galactrumd
  195. galactrum-1.1.6/bin/galactrum-qt
  196. galactrum-1.1.6/bin/galactrum-tx
  197. galactrum-1.1.6/bin/test_galactrum
  198. galactrum-1.1.6/include/
  199. galactrum-1.1.6/include/galactrumconsensus.h
  200. galactrum-1.1.6/lib/
  201. galactrum-1.1.6/lib/libgalactrumconsensus.so
  202. galactrum-1.1.6/lib/libgalactrumconsensus.so.0
  203. galactrum-1.1.6/lib/libgalactrumconsensus.so.0.0.0
  204.  
  205. Installing Galactrum v1.1.6...
  206.  
  207. Configuring Galactrum v1.1.6...
  208.  
  209. rpcuser=REmoved for pasterbin..
  210. rpcpassword=REmoved for pasterbin..
  211. rpcallowip=127.0.0.1
  212. listen=1
  213. server=1
  214. daemon=0 # required for systemd
  215. logtimestamps=1
  216. maxconnections=256
  217. externalip=REmoved for pasterbin..
  218. masternodeprivkey=SECRETDSKLSDAKLDASDKDLÆSA REmoved for pasterbin..
  219. masternode=1
  220.  
  221.  
  222. Starting Galactrum Daemon...
  223. [Unit]
  224. Description=galactrumd
  225. After=network.target
  226.  
  227. [Service]
  228. Type=simple
  229. User=masternode
  230. WorkingDirectory=/home/masternode
  231. ExecStart=/usr/local/bin/galactrumd -conf=/home/masternode/.galactrum/galactrum.conf -datadir=/home/masternode/.galactrum
  232. ExecStop=/usr/local/bin/galactrum-cli -conf=/home/masternode/.galactrum/galactrum.conf -datadir=/home/masternode/.galactrum stop
  233. Restart=on-abort
  234.  
  235. [Install]
  236. WantedBy=multi-user.target
  237.  
  238. Failed to connect to bus: No such file or directory
  239.  
  240. Installing Sentinel...
  241. Reading package lists... Done
  242. Building dependency tree
  243. Reading state information... Done
  244. python-pip is already the newest version (8.1.1-2ubuntu0.4).
  245. virtualenv is already the newest version (15.0.1+ds-3ubuntu1).
  246. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  247. fatal: destination path '/home/masternode/sentinel' already exists and is not an empty directory.
  248. Running virtualenv with interpreter /usr/bin/python2
  249. New python executable in /home/masternode/sentinel/venv/bin/python2
  250. Not overwriting existing python script /home/masternode/sentinel/venv/bin/python (you must use /home/masternode/sentinel/venv/bin/python2)
  251. Installing setuptools, pkg_resources, pip, wheel...done.
  252. Requirement already satisfied: inflection==0.3.1 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 1)) (0.3.1)
  253. Requirement already satisfied: peewee==2.8.3 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 2)) (2.8.3)
  254. Requirement already satisfied: py==1.4.31 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 3)) (1.4.31)
  255. Requirement already satisfied: pycodestyle==2.3.1 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 4)) (2.3.1)
  256. Requirement already satisfied: pytest==3.0.1 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 5)) (3.0.1)
  257. Requirement already satisfied: python-bitcoinrpc==1.0 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 6)) (1.0)
  258. Requirement already satisfied: simplejson==3.8.2 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 7)) (3.8.2)
  259. galactrum_conf=/home/masternode/.galactrum/galactrum.conf
  260.  
  261. Masternode setup complete!
  262. alias galactrum-cli='galactrum-cli -conf=/home/masternode/.galactrum/galactrum.conf -datadir=/home/masternode/.galactrum'
  263.  
  264. Now run 'source ~/.bash_aliases' (without quotes) to use galactrum-cli
  265. root@5ba186a56f6c:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement