daily pastebin goal
15%
SHARE
TWEET

Komodo installation

a guest Sep 21st, 2016 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --------------
  2. INSTALLATION:
  3. --------------
  4.  
  5. #If you do not have BDB installed, do the following:
  6. wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
  7. tar -xvf db-4.8.30.NC.tar.gz
  8. cd db-4.8.30.NC/
  9. mkdir -p build
  10. BDB_PREFIX=$(pwd)/build
  11. cd build
  12. ../dist/configure --disable-shared --enable-cxx --with-pic --prefix=$BDB_PREFIX
  13. make install
  14. cd ../..
  15.  
  16. --------------
  17. DEPENDENCIES:
  18. --------------
  19.  
  20. #The following packages are needed:
  21. sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev
  22.  
  23. --------------
  24. KOMODO:
  25. --------------
  26.  
  27. git clone https://github.com/jl777/komodo
  28. cd komodo
  29. ./autogen.sh
  30. ./configure --with-incompatible-bdb --with-gui
  31. # This command might finish with: configure: error: libgmp headers missing. This can be ignored.
  32. ./zcutil/fetch-params.sh
  33. cp ~/.zcash-params/testnet3/z9* ~/.zcash-params
  34. ./zcutil/build.sh -j8  # -j8 uses 8 threads
  35. #This can take some time.
  36.  
  37. --------------
  38. Create komodo.conf
  39. --------------
  40.  
  41. cd ~
  42. mkdir .komodo
  43. cd .komodo
  44. gedit komodo.conf
  45. #For the above, you can use any text editor other than gedit.
  46. #Add the following lines to the komodo.conf file:
  47.  
  48. rpcuser=bitcoinrpc
  49. rpcpassword=password
  50. addnode="5.9.102.210"
  51. addnode="78.47.196.146"
  52.  
  53. --------------
  54. Start mining:
  55. --------------
  56.  
  57. cd ~
  58. cd komodo
  59. #Go to your komodo directory
  60. ./src/komodod -gen=1 -genproclimit=1 &
  61. #This starts komodo as a process
  62. komodo/src/komodo-cli getinfo
  63.  
  64. #To view the process:
  65. ps aux | grep komodod
  66.  
  67. #To view komodod output:
  68. gedit ~/.komodo.debug.log
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top