Skip to content

Latest commit

 

History

History
88 lines (77 loc) · 4 KB

POOL.md

File metadata and controls

88 lines (77 loc) · 4 KB

Mining pool installation

You can use this automatic script

wget https://raw.githubusercontent.com/lukasniedoba/altcoingenerator/master/installpool.sh
chmod u+x installpool.sh
./installpool.sh
# Just press return few times when prompted for redis port etc.
# Run pool like this or add it to your rc.local file for example: "nohup mono /root/coiniumservyescrypt/build/bin/Release/CoiniumServ.exe &"
mono /root/coiniumservyescrypt/build/bin/Release/CoiniumServ.exe
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/ubuntu stable-trusty main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt-get update
sudo apt-get install mono-devel mono-complete mono-dbg referenceassemblies-pcl mono-xsp4 ca-certificates-mono
  • Debian 8
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian stable-jessie main" | tee /etc/apt/sources.list.d/mono-official-stable.list
apt-get update
apt-get -y install mono-devel mono-complete mono-dbg referenceassemblies-pcl mono-xsp4 ca-certificates-mono
apt-get -y install mysql-server
mysql -u root -p
# set following
> CREATE DATABASE coinium;
> GRANT ALL PRIVILEGES ON coinium.* TO 'root'@'localhost' WITH GRANT OPTION;
> GRANT ALL ON coinium.* TO 'root'@'localhost' WITH GRANT OPTION;
> exit
cd ~
apt-get -y install build-essential
apt-get -y install tcl8.5
wget http://download.redis.io/releases/redis-stable.tar.gz
tar xzf redis-stable.tar.gz
cd redis-stable
make
make install
cd utils
./install_server.sh
service redis_6379 start
update-rc.d redis_6379 defaults
  • Build Coinium
cd ~
apt-get -y install git
apt-get -y install nuget
git clone https://niedoluk@bitbucket.org/niedoluk/coiniumservyescrypt.git
cd coiniumservyescrypt/
nuget restore
xbuild CoiniumServ.sln /p:Configuration="Release"
cp src/CoiniumServ/Algorithms/Implementations/libyescrypt.so build/bin/Release
Config file Description Link
coiniumservyescrypt/build/bin/Release/config/config.json General config file config.json
coiniumservyescrypt/build/bin/Release/config/pools/default.json Main pool config default.json
coiniumservyescrypt/build/bin/Release/config/pools/pool.json Per pool config file (there could be more pools) pool.json
coiniumservyescrypt/build/bin/Release/config/coins/elicoin.json Coin confuguration file. You must create this file elicoin.json
  • Running
cd coiniumservyescrypt/build/bin/Release
mono CoiniumServ.exe