Cryptocurrency Mining Setup and Notes: Difference between revisions

From myWiki
No edit summary
No edit summary
Line 3: Line 3:
Ethereum (geth)
Ethereum (geth)
  sudo add-apt-repository ppa:ethereum/ethereum -y
  sudo add-apt-repository ppa:ethereum/ethereum -y
  sudo so apt update
  sudo apt update
  sudo apt install ethereum -y
  sudo apt install ethereum -y


Line 11: Line 11:
AMDGPU-PRO 17.50-511655 (--compute has been deprecated)
AMDGPU-PRO 17.50-511655 (--compute has been deprecated)
  amdgpu-pro-install --opencl=legacy,rocm --headless
  amdgpu-pro-install --opencl=legacy,rocm --headless
  sudo apt-get install mesa-common-dev
  sudo apt install mesa-common-dev
sudo apt install clinfo


Notes:
Notes:

Revision as of 14:54, 20 January 2018

Setup Ubuntu Server 16.04.3

Ethereum (geth)

sudo add-apt-repository ppa:ethereum/ethereum -y
sudo apt update
sudo apt install ethereum -y

Import ethereum key or create new account

geth account list

AMDGPU-PRO 17.50-511655 (--compute has been deprecated)

amdgpu-pro-install --opencl=legacy,rocm --headless
sudo apt install mesa-common-dev
sudo apt install clinfo

Notes:

boot to onboard VGA first

cli: don't start GUI in headless (server) setup

sudo systemctl set-default multi-user.target

Make user part of video user group

sudo usermod -a -G video <userid>

Static IP Edit /etc/network/interfaces assuming enp4s0 is the ethernet interface id.

auto enp4s0
iface enp4s0 inet static 
  address 192.168.0.x
  netmask 255.255.255.0
  network 192.168.0.0
  broadcast 192.168.0.255
  gateway 192.168.0.1
  dns-nameservers 192.168.0.1 8.8.8.8 8.8.4.4

If the hostname is modified, update /etc/hostname & /etc/hosts

Problems with DHCP timeout, edit /etc/dhcp/dhcpclient.conf

timeout 15 #from 300

Ethminer

git repository download

Zcash

website

Mining

ethermine.org (ethereum & zcash)