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