Bitcoin Forum
May 27, 2024, 04:02:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [GUIDE] Setup your own ETH/ETC/EXP Parity node + Ethminer solo mining  (Read 2429 times)
megacrypto (OP)
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250



View Profile
December 10, 2016, 02:41:30 PM
 #1

This is based on Ubuntu server 16.04 and AMDGPU-Pro

From a fresh install, update system
Code:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

Install some useful utilities
Code:
sudo apt-get install screen htop tcptrack

For the miner (ethminer), you will need to install the AMDGPU-Pro, OpenCL (AMD SDK & ADL) .... if you need to get these steps PM me

If you, like me, will have parity run a PC and mining from a different one, then you could skip the GPU setup on the parity PC

there is a script for installing all dependencies needed for Parity:
Code:
bash <(curl https://raw.githubusercontent.com/ethcore/scripts/master/install-deps.sh -L)

I created a folder for the coins and installed parity in it
Code:
mkdir Coins
mkdir Coins/ETH
mkdir Coins/ETC
mkdir Coins/EXP
cd Coins
git clone https://github.com/ethcore/parity
cd parity
git submodule init
git submodule update
cargo build –release
sudo cp target/release/parity /usr/local/bin
cd ..

parity has a website to generate the toml config file
https://ethcore.github.io/parity-config-generator/

create 3 files and place each config.toml in designated folder for each coin
Code:
Coins/ETH/config.toml
Coins/ETC/config.toml
Coins/EXP/config.toml

# important toml configs
Code:
-	Mining section has to have the address that will collect the mined coins
- Use “local” or actual local IP for interfaces
- Using local will only allow connections from the same machine
- Using IP will allow the machine to listen to outside connections
- Open web UI with IP:ui port
- If problem with web ui connection, delete “authcodes” file in Sign folder
-       Make sure that ports for each coin are different (I use 8080, 8081, 8082 ... and same for all other needed ports)

# run each node
Code:
# eth
parity --config /home/user/Coins/ETH/config.toml
# etc
parity --config /home/user/Coins/ETC/config.toml
# exp
parity --config /home/user/Coins/EXP/config.toml


I use a different PC for running the miner, for that make sure that you have installed the GPU drivers (AMDGPU-Pro, SDK, etc..)

To install ethminer:
Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo add-apt-repository -y ppa:ethereum/ethereum-qt
sudo apt-get update
sudo apt-get install ethereum

sudo apt-get install git cmake libleveldb-dev libboost-all-dev libgmp-dev libreadline-dev libcurl4-gnutls-dev ocl-icd-libopencl1 opencl-headers mesa-common-dev libmicrohttpd-dev build-essential libjsoncpp-dev libjsonrpccpp-dev –y

git clone https://github.com/nerdralph/ethminer-nr.git
cd ethminer-nr
mkdir build
cd build
cmake -DBUNDLE=miner ..
make -j$(nproc)

for some reason Genoil did not compile, so I found this fork by nerdralph that works fine

to run ethminer:

Code:
./ethminer/ethminer -G -F <parity IP>:<rpc port>

make sure that each config.toml has the following:
Code:
[mining]
# Account address to receive reward when block is mined.
author = "your coin address"

Hope this is of help to you Smiley

Donations are always welcomed ;-)

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ZEROSTATEEMOTIONAL INTELLIGENCE                                   ● INSTAGRAMFACEBOOK TWITTER
POWERED BY BLOCKCHAIN                                         ● MEDIUMANN THREAD
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
MegaHustlr
Hero Member
*****
Offline Offline

Activity: 601
Merit: 500


Vote 4fryn :)


View Profile
March 31, 2017, 09:11:02 AM
 #2

Domains changed to

- raw.githubusercontent.com/paritytech
- github.com/paritytech

etc.




                  ▄  ▀▄▄   ▀▄▄ ▀▄ ▀▄
             ▀█▄▄▄▄███▀▀▀▀▀▀▀█████████ ▄
         ▀████▀▀    ▄▄▄▄▄▄▄▄▄▄▄▄▄    ▀███▄
 ▄▄▄▄▄  ▄▄▀      ██▀▀     ▄██▀▀▀   █     ██
██    ▀█  ▄█▀▀▀▄  ▀█   ▄█▀   ▄▄▄ ▀██  █▀▀▄▀▄

▀▀▀   ▐█ █▌    ▐▌  █  ▐█ ▄█▀▀   █ █  ▄▀ ▄█ ▌
      ▐▌ ▀█ ▄▀▄█  █▀  █  █      ▐▌ █▀ █    ▀▄
      █     ▄█▀  ▀▀▀▀▄█  ▀█▄▄▀ ▄▀  █▄ █  ██ ▐▌
     █   ▄███▄▄███▄▄▄▄       ▄█▄▄▄▄ █▄    ▀  █ ▄
   ▄█▀▀▀▀     █▀      █   ▄█▀▀███    ▀▀▄▄   ▄██
  ▐█         ▐▌       ▐▌▄▀     ██        ▀███ ▐█
  █           ▀▄      ▐█▀       ▀█           ▀▀
  █▄           ██     ██         ██▄
   █▀            ▀     ▀          ▀█▀



.







                 ▄████▄▄    ▄
██             ████████████▀
████▄         █████████████▀
▀████████▄▄   █████████████
▄▄█████████████████████████
██████████████████████████
  ▀██████████████████████
   █████████████████████
    ▀█████████████████▀
      ▄█████████████▀
▄▄███████████████▀
   ▀▀▀▀▀▀▀▀▀▀▀




       ▄▄▄▄▄▄
    ▄████████
    █████▀▀▀▀
   ▐████
   ▐████
████████████
████████████
   ▐████
   ▐████
   ▐████
   ▐████




  ▄██▄▄                ▄▄██▄
  ████████▄▄▄▄▄▄▄▄▄▄▄███████
  ██████████████████████████
  ██████████████████████████
▄████████████████████████████▄
██████████████████████████████▌
█████▀                  ▀█████▌
████    ███▄      ▄███    ████▌
████   ▐████      ████▌   ████
 ███    ▀██▀      ▀██▀    ███▀
  ▀██▄                  ▄██▀
    ▀▀██████████████████▀▀




             ▄██▄
     ▄      ▐████   ▄▄
   █████     ██████████
    █████████████████▀
 ▄████████████▀████▌
██████████     ▀████    
 ▀▀   █████     ██████████
      ▀████▌▄████████████▀
    ▄▄▄███████████████▌
   ██████████▀    ▐████
    ▀▀▀  ████▌     ▀▀▀
         ▀███▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!