Setting up Cloud Miner
Cloud Miner Server Installation:
For server installation just follow this DigitalOcean document for LAMP setup
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-
php-lamp-stack-on-ubuntu-16-04
Requirements:
The following are the basic requirements for the server to run this application
PHP >= 7.1.3
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Install Composer Globally:
https://getcomposer.org/doc/00-intro.md-installation-linux-unix-osx
Deploying code on the server:
Unzip or clone the repo in /var/www/html folder and create a vhost directed to this folder
Copy .env.example file to .env
Edit the .env file and enter the database details
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=database_name
DB_USERNAME=database_username
DB_PASSWORD=database_password
Configure the email the below configuration for using gmail SMTP
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=gmail_email
MAIL_FROM_ADDRESS=gmail_email
MAIL_FROM_NAME=gmail_form_name
MAIL_PASSWORD=gmail_password
MAIL_ENCRYPTION=tls
Run this command for key generation
php artisan key:generate
Migration and seeding
php artisan migrate --seed
Installing dependencies
composer install
Folder Permissions
sudo chmod -R 777 storage bootstrap/cache
User Details:
URL: http://domain.com
Username: [email protected]
Password: 123456
Admin Details:
URL: http://domain.com/admin
Username: [email protected]
Password: 123456
Setting up Bitcoin Miner
ASIC or FPGA on Mine Pool:
We prefer you set up a mine farm of Antminer. You can buy them from
https://shop.bitmain.com/
Comparison of miners can be found at
https://en.bitcoin.it/wiki/Mining_hardware_comparison
Instructions to set up the same can be found at
https://www.youtube.com/watch?v=MyXjdm81PhE
CPU or GPU based mining:
If you own a farm of CPUs or GPUs you can set up miners there by following these
instructions.
You can setup a miner instance on Linux instance with graphic cards as miner hardware.
1. Setup a Linux Ubuntu Instance.
2. Download the miner executable from http://ck.kolivas.org/apps/cgminer/4.10/
3. Make sure the application is available in path.
4. Run using following instructions
Single pool:
cgminer -o http://pool:port -u username -p password
Multiple pools:
cgminer -o http://pool1:port -u pool1username -p pool1password –o http://pool2:port -u pool2usernmae -p
pool2password
Single pool with a standard http proxy:
cgminer -o "http:proxy:port|http://pool:port" -u username -p password
Single pool with a socks5 proxy:
cgminer -o "socks5:proxy:port|http://pool:port" -u username -p password
Single pool with stratum protocol support:
cgminer -o stratum+tcp://pool:port -u username -p password
Solo mining to local bitcoind:
cgminer -o http://localhost:8332 -u username -p password --btc-address
15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
More instructions can be found here
https://github.com/ckolivas/cgminer
Setting up Ethereum Miner
Ethereum Miner Setup:
Ethereum miners are set up using racks of CPUs and GPUs with the mining powers
combined together. The machines can be run preferably using Linux ubuntu.
Hardware, HashRate and Cost:
GPU Core/Memory HashRate HW Cost Power
AMD RX-580 ** 8GB 1150/2275 30 MHs $220 120 W
AMD RX-480 ** 1150/2200 29 MHs $220 130 W
AMD RX-470 ** 1150/1850 26 MHs $180 110 W
AMD RX-460 1200/1750 12 MHs $130 90 W
AMD R9-390 1020/1500 26 MHs $330 275 W
AMD R9-380 1000/1500 22 MHs $200 205 W
AMD R9-290* 1000/1250 24 MHs $180 260 W
AMD R9-280* 1000/1500 20 MHs $150 220 W
AMD R7-370 1050/1400 16 MHs $150 130 W
AMD R9-270* 1000/1400 14 MHs $120 140 W
Nvidia GTX 970 1400/3004 22 MHs $300 260 W
Nvidia GTX1080Ti 1900/5000 33 MHs
Miner Setup Instructions:
1. Setup hardware and install Linux Ubuntu/Windows on the PC.
2. Setup Ethereum wallet and generate address.
3. Download the latest miner from https://github.com/ethereum-
mining/ethminer/releases
4. Extract the files
5. Start mining by using the examples here https://github.com/ethereum-
mining/ethminer/blob/master/docs/POOL_EXAMPLES_ETH.md
Notes:
a. We prefer mining with ethermine.org as mine pool.
b. Use your wallet address when running the miners
c. Append ethermine.exe / ethermine before examples depending on which operating
system you’re using.