Latest posts

Browse topics

Mining with SAPPHIRE PULSE Radeon™ RX 560 4GD5 Review

This Sapphire Pulse Radeon RX 560 4GB graphics card is the first I've put on test for mining ethereum.

Bought it at about $190 at local Tbilisi electronics shop, but you could get this card from Amazon for about $130.

Out of the box, I was able to get 10.72MH/s for Ether and 85.74 MH/s for dual mining Siacoin, on average by mining with this card only I'm able to make about $0.98 daily, which gives about 190 days for ROI. See: I'm Making $0.98 Per Day By Mining Ethereum and Siacoin, and I want MORE!

Cat waiting for the first mining rig to be built

Cat waiting for the first mining rig to be built

Currently, this card is installed on a desktop PC (single graphics card mining) and while it was in closed tower noticed following measurements for temperature and fan speed

  • 75 Celsius
  • 48% Fan speed

As I was not happy with +75 Celsius, I decided to remove the cover and shortly temperature and fan speed dropped:

  • 67 Celsius
  • 27% Fan speed

Now, I believe lower temperatures and slower fan speed will extend the total lifetime of for this card. And that's great. 

I haven't yet performed optimization for this card (overclocking) but I believe it's possible to get about 10% improvement for it.

 

I'm Making $0.98 Per Day By Mining Ethereum and Siacoin, and I want MORE!

The fans are spinning and graphics cards are heating, it has been 24 hours since I started mining Ethereum and Siacoin. And in these 24 hours, I've made $0.96.

Ok, in fact, there is just one fan spinning and just one RadeonRX 560 card, which I bought a couple of days ago in Tbilisi, and decided to test the mining process at one of our spare office computers, before details for my 12 GPU mining rig arrives.

I feel glad I was so impatient and rushed to perform a test, as while doing test setup I discovered a few bottlenecks and faced some issue, also I accidentally damaged one HDD while installing Graphics card on the motherboard.

My total investment for this experiment was about $187 for purchasing the graphics card, I didn't have to pay for other items, as I already had a free system to install this card on. I believe it could take up to 190 days or little more than 6 months to get my initial investment back.

  Hashing Power   Mined Coins Exchange Rates Earnings      
GPU ETH SC Invested ETH SC ETH SC ETH SC Total How many days
1 10.67 85.74 $187.00 0.00136945 2.63 $696.86 $0.01 $0.95 $0.03 $0.98 190.70

The graphics card used for this setup is a cheap Radeon RX 560 4GB card, producing about 10.67MH/s for Ethereum and 85.74MH/s for Siacoin dual - mining. I haven't performed any optimization yet, the numbers are straight out of the box, but I believe there is a room for about 10% improvement by overclocking BIOS.

For mining, I decided to use Simple Mining OS, run from a USB stick. SimpleMining comes with a cost - $2/mo per mining rig. Which is fair IMHO. In coming days I will make an article on how to mine ether on Simple Mining OS.

Now, as for 2017, I've been actively investing in stocks, peer to peer lending and of course in cryptocurrencies, mining ether seems second most profitable investment option after buying coins directly from exchanges. 

So far, peer to peer lending generates me a passive income of about $1.5 per day,  dividend payments in 2017 have generated on average about $0.82 per day in 2017. If combined all together it would make about $3.3 daily. Not bad. But here is one but:

My current (2017) stock dividend yield is ~5%, peer to peer lending ~ 8%, now when speaking about mining - I can see a yield of 50-100% in a year. Am, I happy with 5% dividend yield with stocks? Sure dude, anything above 3% seems more than inflation, 8% at peer to peer lending? Amazing, wish we could have such interest rates at savings accounts. 50-100%? Too good to be true, but I'm in!

As I'm still waiting for equipment for 12 GPU mining rig to arrive (in fact there should arrive one graphics card at about 22MH/s - next week) - I'm looking to increase daily and monthly return for mining to about $3 per day by the end of 2017.

If things will turn out bright - average daily revenue from mining operations should produce the highest daily average income from my investments portfolio.

How to Install Drupal 8 with Nginx, PHP-FPM, MySQL, phpMyAdmin on Ubuntu 16.04 - Linode Guide

In this article, you will learn how to set up a Drupal 8 with Nginx, PHP-FPM, MySQL and phpMyAdmin.

This article might not be complete, but you will find a lot of useful information

Update: How to Install Drupal 8 with Nginx, PHP-FPM 7.2, MySQL, phpMyAdmin on Ubuntu 18.04 - Linode Guide

Prerequisites

  • Ubuntu 16.04 - 64bit version.
  • Root privileges.

You can get a cheap VPS for $10/mo from Linode. As I've few test Linodes already purchased I'm going to use one of them

Follow basic security guide, see: Securing Your Server

I will use Putty for Windows to access SSH

Secure your server

Create the user, replacing example_user with your desired username. You’ll then be asked to assign the user a password:

adduser example_user


Add the user to the sudo group so you’ll have administrative privileges:

adduser example_user sudo

Disallow root logins over SSH. This requires all SSH connections be by non-root users. Once a limited user account is connected, administrative privileges are accessible either by using sudo or changing to a root shell using su -.

sudo nano /etc/ssh/sshd_config

Under # Authetification section change to

# Authentication: ...

PermitRootLogin no

Update the Ubuntu system

sudo apt-get update

Install Nginx and PHP-FPM

Install Nginx with the following apt command:

sudo apt-get install nginx -y

Next, install php7.0-fpm with php-gd extension that is required by Drupal core:

sudo apt-get install php7.0-fpm php7.0-cli php7.0-gd php7.0-mysql php7.0-xml -y

Configure Nginx and PHP-FPM

In this step, we will configure Nginx to use php-fpm to serve HTTP requests for PHP pages. Go to the php-fpm directory "/etc/php/7.0/fpm" and edit the "php.ini" file:

sudo nano /etc/php/7.0/fpm/php.ini

Un-comment the cgi.fix_pathinfo line and change the value to "0"

When using nano command you can use CTRL+W to locate that line. Once changed press CTRL+O to save changes and CTRL+X to exit from nano editor

Now we should modify the default Nginx virtual host configuration. Edit the "default" file and enable the php-fpm directive.

sudo nano /etc/nginx/sites-available/default

Un-comment  location ~ \.php$ section, so it look like this

location ~ \.php$ {
include snippets/fastcgi-php.conf;
# With php7.0-cgi alone:
#fastcgi_pass 127.0.0.1:9000;
# With php7.0-fpm:
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}

CTRL+O and CTRL+X

Then test the Nginx configuration with the command "nginx -t" to ensure that it is valid:

nginx -t

If there is no error, restart nginx and the php-fpm service:

systemctl restart nginx
systemctl restart php7.0-fpm

PHP Info file (Optional)

Next, test that php-fpm is working properly with nginx by creating new php info file in the web directory "/var/www/html"

cd /var/www/html/
echo "<?php phpinfo(); ?>" > info.php

Visit the info.php file at the server IP  in a web browser. The result should be similar to the screenshot below.

PHP Version Info log

PHP Version Info log

Configure the VirtualHost for Drupal

We will install Drupal 8 in the directory "/srv/www/reinisfischer.com". Please replace my domain name in your installation with the domain name of the website that you want to use this Drupal installation for. So let's create the directory:

sudo mkdir -p /srv/www/reinisfischer.com/{public_html,logs}
sudo usermod -a -G www-data admin
sudo chown -R www-data:www-data /srv/www
sudo chmod -R 775 /srv/www
sudo nano /etc/nginx/sites-available/felicia.com

Paste the Nginx configuration for Drupal 8:

server {
    server_name reinisfischer.com;
    root /srv/www/reinisfischer.com/public_html; ## <-- Your only path $
    access_log /srv/www/reinisfischer.com/logs/access.log;
    error_log /srv/www/reinisfischer.com/logs/error.log;

    listen 80;
    listen [::]:80;


    location = /favicon.ico {
        log_not_found off;
        access_log off;
    }

    location = /robots.txt {
        allow all;
        log_not_found off;
        access_log off;
    }

    # Very rarely should these ever be accessed outside of your lan
    location ~* \.(txt|log)$ {
        allow 192.168.0.0/16;
        deny all;
    }

    location ~ \..*/.*\.php$ {
        return 403;
    }

    location ~ ^/sites/.*/private/ {
        return 403;
    }

    # Block access to "hidden" files and directories whose names begin with a
    # period. This includes directories used by version control systems such
    # as Subversion or Git to store control files.
    location ~ (^|/)\. {
        return 403;
    }

    location / {
        # try_files $uri @rewrite; # For Drupal <= 6
        try_files $uri /index.php?$query_string; # For Drupal >= 7
    }

    location @rewrite {
        rewrite ^/(.*)$ /index.php?q=$1;
    }

    # In Drupal 8, we must also match new paths where the '.php' appears in the middle,
    # such as update.php/selection. The rule we use is strict, and only allows this pattern
    # with the update.php front controller.  This allows legacy path aliases in the form of
    # blog/index.php/legacy-path to continue to route to Drupal nodes. If you do not have
    # any paths like that, then you might prefer to use a laxer rule, such as:
    #   location ~ \.php(/|$) {
    # The laxer rule will continue to work if Drupal uses this new URL pattern with front
    # controllers other than update.php in a future release.
    location ~ '\.php$|^/update.php' {
        fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
        #NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
        include fastcgi_params;
        include snippets/fastcgi-php.conf;
        fastcgi_param SCRIPT_FILENAME $request_filename;
        fastcgi_intercept_errors on;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }

    # Fighting with Styles? This little gem is amazing.
    # location ~ ^/sites/.*/files/imagecache/ { # For Drupal <= 6
    location ~ ^/sites/.*/files/styles/ { # For Drpal >= 7
        try_files $uri @rewrite;
    }

    location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
        expires max;
        log_not_found off;
    }
}

CTRL+O and CTRL + X

The Drupal virtual host file has been created, now we have to activate it by creating a symlink to the file in the "sites-enabled" directory:

ln -s /etc/nginx/sites-available/reinisfischer.com /etc/nginx/sites-enabled/

Test the Nginx configuration and if there is no errors restart Nginx:

nginx -t
systemctl restart nginx

Install MySQL

sudo apt-get install mysql-server
​sudo mysql_secure_installation

Install phpMyAdmin

sudo apt-get install phpmyadmin

Hit ESC when the installation prompts you for auto-configuration, because there is no option for Nginx.

Make an easy accessible symlink

sudo ln -s /usr/share/phpmyadmin/ /srv/www/reinisfischer.com/public_html/phpmyadmin

​

Install and Configure Drupal

Enter the directory that we created earlier and download Drupal with wget. I'm using the latest Drupal 8.2.7. release as of March 23, 2017, make sure you are downloading latest version by visiting Drupal 8 download page and writing down the last numbers (version)

cd /srv/www/reinisfischer.com
sudo wget https://ftp.drupal.org/files/projects/drupal-8.2.7.tar.gz
sudo tar -xvzf drupal-8.2.7.tar.gz
sudo cp drupal-8.2.7/* public_html/ -R
sudo chown www-data:www-data public_html -R

Now visit your Drupal site in the web Browser, you should see following screen

Drupal 8 welcome screen

Drupal 8 welcome screen

Now, it's just time to connect database and set up your Drupal 8 website

Buying Graphic Cards (GPU) and Computer Parts in Tbilisi, Georgia

It should be noted that buying GPU's in Tbilisi is not a very cost-effective option, better use Amazon.com and service like usa2georgia.com to deliver your goodies to Georgia.

But if you are in rush, as I was today, and you are desperate to have a GPU right now, while in Tbilisi - there are several electronic stores I could recommend.

While I was still waiting for goodies from the US to be shipped to Georgia, I decided to buy an additional cheap GPU and put in on test at one of our spare office computers. Doing my due diligence I found Sapphire Pulse X560 4GB GDDR5 card at pshop.ge for GEL 499 (USD 187), unfortunately, I was not able to find this card on Amazon store, and I believe this card is sold in European and CIS markets.

Cat waiting for the first mining rig to be built

Cat waiting for the first mining rig to be built

Another option was Asus ROG Strix GeForce GTX 1050 Ti OC Edition 4GB GDDR5  card sold at AltaOk store for GEL 779 (USD 292). This card though is sold on Amazon for just ~ $190. The savings are huge. I was able to track down this card at MetroMart store in Tbilisi for GEL 699 (USD 262)

See: Top 14 Best Selling GPU Cards 2018

As both cards promise a similar mining power (~11-14 MH/s), with GeForce version being a slightly better in most of the benchmarks, I still decided to stick with cheaper Sapphire Pulse X560 4GB GDDR5,  probably by saving a $100 I made a fatal error, who knows. I'm planning to put this card to test soon and will share the results. Not sure yet, but planning to mine ethereum, zcash and monero, see: To Mine or Buy Ethereum/Zcash/Monero in 2018

There is a great comparison video on YouTube for both cards, see it here: Sapphire RX 560 Pulse OC 4GB Review vs. GTX 1050 & More

From my personal experience dealing with buying computers and computer parts, I would recommend following stores - AltaOk, MetroMart, PC shop.

Building a 12 GPU Ethereum Mining Rig From Scratch - Part 1: Ordering Details

I love testing ideas and even more than just testing new ideas I love testing them using Minimum viable product approach.  

I've been in a crypto craze for a while already - started with buy and hold, added little speculative trades, tried an ICO and now even considering to start mining. Totally insane? Well, I can only agree!

In fact, that doesn't even sound like me - you see, I like buying and holding, I even enjoy doing a few swing trades once in a while, but to run a mining rig? Totally not me. It sounds like a lot of hassle to me. 

But still - starting a mining - is the latest crazy idea I've been thinking lately. And here you go, just ordered some goodies from Amazon.

Inspiration for ordering these goodies comes from these two great articles (make sure to read them out)

In short, when looking for most affordable options for GPU mining rig I was worried about two positions, motherboard and graphics cards.

Luckily there is a great motherboard priced just a little bit above $200 with up to 13 GPU - ASRock H110 Pro BTC+ 13GPU Mining Motherboard CryptoCurrency 

When speaking about graphics cards I was struck between EVGA GeForce GTX 1060  6GB GDDR5 and ZOTAC GeForce GTX 1070 Mini 8GB GDDR5 

After a brief rethinking I decided to stick with the cheaper EVGA GeForce GTX 1060  6GB GDDR5 card:

So here comes my shopping list:

A quick note: Items listed below contains affiliate links to Amazon.com, by clicking on links on this page and by making a purchase on Amazon site, I will earn an affiliate income at no cost to you

Total: $856.04

Apparently, I purchased two 120GB SSD. As in total, I paid $ 906.  Well, not a big issue as there are never too few SSD. I will put this SSD in one of our office PCs as a backup drive. 

Now, as you can see I've paid about $850 for the bare minimum with just one EVGA Geoforce GTX 1060 6GB card. I didn't order more cards - as I was looking for a minimum viable product approach, purchasing just the bare minimum to setup and run a mining rig, at the start with just one GPU. Later, if things will turn out good, I plan to add a new GPU once per month, kind of dollar cost averaging, the same approach I'm using to buy coins once in a month, see: Dollar-Cost Averaging as part of Cryptocurrency Portfolio . This time instead of buying more coins I plan to buy more graphics cards.  Sounds crazy? Probably it is!

If you would purchase 12 GPU all at once, such mining rig would cost you $3,880.93. Yikes, a pretty huge investment in a hobby experiment. 

Now, as I have access to "cheap" electricity here in Georgia, at about $0,06 per kWh, I did simple calculations, assuming 22 MH/S per GPU

GPU Hashing Power MH/S Invested Profit per month
How many months
1 22 $856.04 $38.40 22.29
2 44 $1,131.03 $76.80 14.73
3 66 $1,406.02 $115.21 12.20
4 88 $1,681.01 $153.61 10.94
5 110 $1,956.00 $192.01 10.19
6 132 $2,230.99 $230.41 9.68
7 154 $2,505.98 $268.81 9.32
8 176 $2,780.97 $307.21 9.05
9 198 $3,055.96 $345.62 8.84
10 220 $3,330.95 $384.02 8.67
11 242 $3,605.94 $422.42 8.54
12 264 $3,880.93 $460.82 8.42

As of writting this - Mining metrics are calculated based on a network hash rate of 113,391 GH/s and using a ETH - USD exchange rate of 1 ETH = $ 421.43. These figures vary based on the total network hash rate and on the ETH to USD conversion rate. Block reward is fixed at 3 ETH and future block reward reductions are not taken into account. The average block time used in the calculation is 15 seconds. The electricity price used in generating these metrics is $ 0.06 per kWh.

It would ask me about 22 months just to get my investment back on this mining rig if I would decide to stick with just one GPU.

As I'm planning to add at least one more new GPU to the rig per month I can see that with more GPU's connected mining ethereum seems really tempting. Getting back an investment in just 8 and a half months (with 12 GPU) to me sounds like a 50% profit in a year.