Rex's 備忘錄

Debian install XMR-STAK

出處

If you want to use your GPU for mining, do the following-
for AMD GPU’s-

Install drivers for your card

download the latest APP SDK from here. It should have the name AMD-APP-SDKInstaller-v(version number)-GA-linux64.tar.bz2

Extract it

Open the terminal wherever it is located

(optional) name it to something simpler

In the terminal, type ./(name).sh

After installing, you should be good.

for nVidia GPU’s-

Install drivers for your card

Download the latest CUDA Toolkit from here.

Download the base installer and follow the compilation instructions

Download every patch one-by-one in order and apply the patches

After that, you should be good.

Open the terminal and install dependencies by running this command-

sudo apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev

Clone the package-

git clone https://github.com/fireice-uk/xmr-stak.git

To remove donations, type-

gedit xmr-stak/xmrstak/donate-level.hpp

Change-

`constexpr double fDevDonationLevel = 2.0 / 100.0;`
to

`constexpr double fDevDonationLevel = 0.0 / 100.0;`
Make a directory-

mkdir xmr-stak/build

Move over there-

cd xmr-stak/build

Run cmake-

cmake ..

If you don’t have nVidia GPUs, type-

`cmake .. -DCUDA_ENABLE=OFF`
If you don’t have AMD GPUs, type-

`cmake .. -DOpenCL_ENABLE=OFF`
If you have neither (only CPU mining) type-

`cmake .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF`
Finish building it-

make install

XMR-Stak will now be located in /home/user/xmr-stak/build/bin

In the terminal, type-

ccmake ..

(install if not installed, sudo apt install cmake-curses-gui)

Using the Up and Down arrows, scroll to the 2nd page. Then, on XMR-STAK_CURRENCY, press enter to change it to turtlecoin (if needed, you can make personal tweaks by reading the descriptions of each value).

Once you're done, press c and then g on your keyboard.

Type-

sysctl -w vm.nr_hugepages=128

./xmr-stak

Check XMR-Stak Setup and Configuration

If you see something like this, that means it’s working!

MONERO XMR 換現金方法 XMR要怎麼換成台幣

今天無聊測試看看XMR要怎麼換成台幣

1. 註冊 "幣安" https://www.binance.com ,將XMR轉到幣安,然後去交易 XMR->BTC

2. 註冊 "幣託" https://www.bitoex.com ,帳號要升級到B或A才能賣出BTC與提領現金,並綁定銀行帳號,將BTC轉到幣託,賣出後即可

 

其實還蠻簡單的

Debian9 架設 Monero XMR 礦池步驟

Debian9 架設礦池,指令完成基本上就可以了

 

apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev

apt-get install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-server

add-apt-repository ppa:bitcoin/bitcoin

apt-get update

apt-get install libdb-dev libdb++-dev

apt-get update

apt-get install build-essential libssl-dev

curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash

source ~/.profile

nvm --version

nvm install 0.10.48

nvm use 0.10.48

nvm alias default 0.10.48

nvm use default

 

 

wget -c --progress=bar https://downloads.getmonero.org/blockchain.raw

./monero-blockchain-import --verify 0 --input-file ./blockchain.raw

./monerod --detach

 

First remove NodeJS:
sudo ap-get remove npm nodejs -y

Then download and unzip NodeJS v0.10.25
wget https://nodejs.org/dist/v0.10.25/node-v0.10.25.tar.gz && tar xvzf node-v0.10.25.tar.gz

Compile and Install NodeJS and NPM from the source:

cd node-v0.10.25
make
sudo make install

Make sure to remove node_modules directory before you run npm update

 

48nTGUiJxaa1W7ddzCt3VfcqB37QoX6bcNqEbCYXU7Cf1CPca8CYXrB32QkFEqnEhARbWEjFoTSyJDDLCyuN8zXbMusE4V9

xmr.omine.org:3000

Monero (XMR) 門羅幣 挖礦/算力CPU、GPU測試

最近最熱門的虛擬貨幣 門羅幣/Monero,剛好近期有時間就也來玩一下看看

近幾年挖礦用GPU優勢沒有以前那麼多了,現在很多都用CPU在挖,效率也不錯

下面列出我所測試的CPU跟GPU的數據,

 

1. Intel Xeon E3-1225 v5 

4核心4線程,平均單核算力為66 H/s,使用3核共200 H/s算力

undefined

 

2. Intel Xeon E3-1230 v3 + MSI R7970 Lightning + MSI R9 270X Gaming

CPU4核心4線程,平均單核算力也差不多66 H/s

GPU R7970 算力449 H/s

GPU R270x 算力340 H/s

算力共1018 H/s

undefined

 

3. Intel Xeon E5-2620 v4

此為Esxi VM虛擬機,雙CPU架構

16核心32線程,平均單核算力差不多38 H/s (因有開啟HT超執行緒,Hyper-Threading又是虛擬機,不知道會不會失準)

使用6核共236 H/s

undefined

 

4. Intel Xeon E5-2620

有開啟HT超執行緒,Hyper-Threading

共170 H/s

undefined

 

5. Intel Xeon E5520

舊型雙CPU 8核心

共100 H/s

undefined

 

 6. Intel Xeon E5620

舊型單CPU 4核心

共155 H/s

undefined

 

7. Intel i7-6700 + MSI R7970 Lightning

4核心,使用3核

CPU+GPU算力共 630 H/s

undefined

 

8. Intel Xeon E5-2650L v2 (最猛的,核心多好處多)

雙CPU也是虛擬機,關閉 HT超執行緒,共20核心

使用19核心總算力為 600 H/s

undefined

 

以上就是我所有的CPU跟GPU的算力測試

現在很多幣種都是用CPU在挖,核心用多效益越大

但是,CPU Xeon 的很貴,算一算還是買GPU來挖比較划算

Home