Minera v0.9.1 – mining dashboard Antminer/CPUminer/CGminer/BFGminer

Support

If you need support please try to look at the main forum thread here. If you found a bug, want to propose some changes, want a new feature, please write down an issue here in Github so we can take everything organised.


Features

This is a list of some of the Minera’s features:

Dashboard

  • Hashrate widget
  • Errors widget
  • Last share widget
  • Temperature widget
  • Main pool widget
  • Uptime widget
  • Local Miner details table with per device sort, search, pagination
  • Local Pools table with on-the-fly pool switch
  • Network Miner details table with per device sort, search, pagination
  • Network Pools table with on-the-fly pool changes
  • Devices tree with cool graph
  • Hashrate history
  • Errors/Rejects history
  • Sysload monitor
  • Bitcoin/Crypto currencies rates
  • Average hashrate stats
  • Web terminal window (like full SSH login)

Charts

  • Hashrate and Acceptes/Rejected/Errors
  • Hourly, daily, monthly, yearly

Settings

  • Pools setting with main/failovers
  • Mobileminer support – Remote monitoring (http://www.mobileminerapp.com/#miners)
  • Donations time based
  • Guided or Manual miner configuration
  • Device autotune
  • Device autodetection
  • Logging
  • Start frequency
  • Auto-recover mode
  • System timezone
  • Extra options
  • Scheduled event (reboot/restart)
  • Dashboard refresh time
  • Minera password management
  • Hostname change
  • System password change
  • Ability ato add custom miner software (like forks)
  • Skin selection

Requirements

Minera should be installed on the mining controller, usually a Raspberry, with a Debian-like Linux distribution and of course an internet connection.

Note: You need a decent modern browser, Minera web interface it’s NOT tested (and never will be) against IE, so please if you want have the best user experience DO NOT use Internet Explorer as browser.


Installing

You can choose for a img file to put in your SD Card or for a manual install.

Image file (img) v0.9.0 (Recommended)

This is the Minera image file for Raspberry PI, you have only to download it and put in your SD Card.

You need at least a 4GB SD Card:

Official Europe server:

Download minera-latest.img.zip

Download from Torrent minera-latest.img.zip

Magnet link: magnet:?xt=urn:btih:4c77cb95769cba095b31993303304a15637b0024&dn=minera-latest.img.zip

After boot up your controller, point your browser to:

http://<your-controller-ip>/minera/

Default passwords are “minera” you should change them as well as the miner settings.


Manual install (Some skills needed)

If you prefer you can simply install Minera on your current Linux controller. Check if it’s a debian based one otherwise download and install a right distribution. If you have a Raspberry, I suggest you to install Raspbian you can get it here:

http://downloads.raspberrypi.org/raspbian_latest

Simply download and put it in your SD card (there are tons of guide to do this, google it).

When you have your system ready, ssh into it and install Minera

You can use this script to install everything you need, (it’s good for any kind of Debian system: Ubuntu, Raspbian, ecc…) or use the manual steps below:

curl -o- https://raw.githubusercontent.com/getminera/minera/master/install_minera_ubuntu.sh | sudo bash

Skip this step and continue below if you have a web server with PHP just installed.

sudo apt-get install -y lighttpd php7.0-cgi
sudo lighty-enable-mod fastcgi
sudo lighty-enable-mod fastcgi-php
sudo service lighttpd force-reload

When your web server is ready you can install Minera:

sudo apt-get install -y redis-server git screen php7.0-cli php7.0-curl
cd /var/www
sudo git clone https://github.com/getminera/minera
cd minera
sudo ./install_minera.sh

The installer will configure the system requirements and will tell you the URL to connect to.

Default URL: http://<your-controller-ip>/minera/

Default password: minera

Important: minera system user has password “minera”, you should change it if your system is a public host with SSH access.

sudo passwd minera

This isn’t the web password, to change the web password, login into the web interface and go to Miner -> Settings

Miner command

The miner command binary path is:

minera-bin/<miner>

They are pre-compiled for Raspberry (ARM) with the latest version available, please refer to each one if you wanna recompile it or use the build script.

For Ubuntu user only

If you want use any miner software on Ubuntu (or any other system architecture) you need to compile it and put the binary file in “minera-bin/” directory, pre-built miners are only for ARM architecture.


Upgrading

Minera will show you a notification icon in the upper right corner if a new version is available. Click the link to run the upgrade. Your miner will not be stopped, but you should restart it to take full advantages of updates.

If you wanna run and update manually or if you are in trouble and you wanna get a fresh updated code, just SSH into Minera and run these commands:

cd /var/www/minera
sudo git fetch --all
sudo git reset --hard origin/master
sudo ./upgrade_minera.sh

Your Minera system should be upgraded with the latest commit available.


Configuring

Minera has a complete settings page where you can choose many options to start your miners.

You can add or remove pools for failover and select to be guided or to write your own configuration.

Go to settings (Miner -> Settings) and choose your preferred options.

A sample settings is pre-configured when you run the install_minera.sh script.

Please remember to change your minera’s settings or you will mine for my workers 🙂


Building miner software

Since version 0.3.6 Minera comes with a script to build updated version of every single miner software.

If you are in trouble with your binary file of Bfgminer for example, you can simply connect in SSH and run this:

cd /var/www/minera
./build_miner.sh <miner-name>

The script will do everything you need to have the binary file in the correct place and updated.

If you need a list of miner available just run the command without any argument.


Troubleshooting

If you wanna check your minera’s screen session just SSH into it and attach the session:

ssh minera@<your-minera-ip>
screen -r

If you receive the following error:

Cannot open your terminal '/dev/pts/0' - please check.

Please run this commands:

script /dev/null
screen -r

If you have guided/manual options both selected in the settings page try run this:

echo -n "1" | redis-cli -x set guided_options
redis-cli del manual_options

If you wanna check the raw JSON stats from your minerd, please point your browser to:

http://<your-minera-ip>/minera/index.php/app/stats

If you wanna use a new Raspberry PI 2 and you are running a Minera version <= 0.4.0, you need to first upgrade packages from an old Raspberry, then you can use the same SD Card on the new one. Get a Raspberry PI (not 2), push the Minera SD Card on it, turn on and SSH into it, then run these commands:

sudo apt-get update
sudo apt-get upgrade

This could take a while (I mean also an hour, it’s slow), but after that you can run your Minera SD Card in any Raspberry PI model, new ones included.


TODO

  • Create an img file “plug&play”
  • Add some errors control to installer
  • Add daily/weekly/monthly charts
  • Add more crypto-currencies exchange rates
  • Add more system monitor (CPU/Mem)
  • Add system temperature
  • Add cgminer/bfgminer support
  • Add email notification
  • Add start/stop daemon
  • Add Mobileminer actions
  • Add JSON config support

Official Github repository https://github.com/getminera/minera
NOW SUPPORTING ALSO ANTMINER S9 / S9i / Z9 / Z9 mini / V9 / L3+ / L3++ / D3
Hello there!

I’m very glad to announce the first release of Minera a new web management system for your Gridseed (Mini/Blade) mining devices.

Minera includes as miner software:

* CPUminer-GC3355 fork
* BFGminer latest original version
* CGminer latest original version
* CGminer Dmaxl Zeus fork

It should support every CGminer/BFGminer forks as well.

Since the 0.9.x version Minera supports also network miners as:

* Antminer S9
* Antminer L3+
* Antminer D3

Since the 0.5.x version Minera supports also network miners as:

* Antminer S1 / S3 / S5
* Rockminer
* Any network miner with cgminer/bfgminer
* Other Minera system

Please read more how to config network miners here

Here you can find the complete Minera image file for Raspberry PI

v0.9.1 -> http://getminera.com/download/latest

Torrent -> https://getminera.com/releases/minera-latest.img.zip.torrent

**Magnet link: magnet:?xt=urn:btih:4c77cb95769cba095b31993303304a15637b0024&dn=minera-latest.img.zip**
Please refer to the README here for image or manual installation.

There is a wiki page to get started with Minera: https://github.com/getminera/minera/wiki/Getting-started

For help and setup please look at the Help page at http://getminera.com/help

Feedbacks are very welcome!

Please refer to Github page for all the info and support (found a bug? open an issue on github!)

If you like Minera please consider a donation to support its development: you can donate to my BTC address: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1

If you can’t donate Bitcoin, please consider to create a new Coinbase wallet following this referral link, if you complete the registration/verification we get both some bitcoins free!

Getting started

Michele Marcucci edited this page on Sep 20, 2017 · 4 revisions

Requirements

To run a Minera system you need some kind of hardware running Linux Debian (or any Debian based distribution).

Minera image file is built to run on any Raspberry PI model.

If you want to run it in a different hardware please check the manual install.

For standard install (Raspberry) you need a SD Card with at least 4GB.

Standard install

The recommended and simplest way to get your Minera system is using the image file.

  • Download the latest release
  • Unzip it
  • Put the image into your SD Card (specific software required, read below)
  • Insert the SD Card into your Raspberry
  • Turn on your Raspberry
  • Find the Raspberry IP
  • Go to http://[raspberry-ip]/minera/

Flashing the SD Card

Windows -> If you are on Windows you can use Win32DiskImager

Mac OS X -> If you are on a Mac OS X you can use ApplePi-Baker

Linux -> If you are on Linux you can use ImageWriter or the command line below.

dd bs=4M if=minera-latest.img of=/dev/your-sd-card

Manual install

Prepare

You can simply install Minera on your current Linux controller. Check if it’s Debian based otherwise download and install a right distribution like Ubuntu.

When you have your system ready, ssh into it and install Minera.

You can use this script to install everything you need, or use the manual step below:

curl -o- https://raw.githubusercontent.com/michelem09/minera/master/install_minera_ubuntu.sh | sudo bash

Skip this step and continue below if you have a web server with PHP installed.

sudo apt-get install -y lighttpd php7.0-cgi
sudo lighty-enable-mod fastcgi
sudo lighty-enable-mod fastcgi-php
sudo service lighttpd force-reload

Install

When your web server is ready you can install Minera:

sudo apt-get install -y redis-server git screen php7.0-cli php7.0-curl
cd /var/www
sudo git clone https://github.com/michelem09/minera
cd minera
sudo ./install_minera.sh

The installer will configure the system requirements and will tell you the URL to connect to.

Default URL: http://[your-minera-ip]/minera/ Default password: minera

Important: minera system user has password “minera”, you should change it if your system is a public host with SSH access.

sudo passwd minera

This isn’t the web password, to change the web password, login into the web interface and go to Miner -> Settings

Miner binaries

The miner command binary path is:

minera-bin/[miner]

They are pre-compiled for Raspberry (ARM) with the latest version available.

To ensure you have every libraries installed I strongly recommend you to recompile the miner you need, Minera has a utility script to do this, please look below.

Build miners

Please follow the commands below to recompile/build your miner softwares (bfgminer, cpuminer, cgminer, cgminer-dmaxl):

cd /var/www/minera
./build_miner.sh [miner-name | or empty for usage]

Ready

Now you are ready to mine with your brand new Minera controller.

Update

Minera is frequently updated with new code to fix bugs and add new features. The author recommends to have always the latest version available running on your system.

Automatic update

When a new version is available you will notice a red “info” icon on the top right corner (near the link “Help”) of the web interface. Clicking it you will have a dropdown menu with the button to run the automatic update. Follow the steps and in about 3 minutes you will have your Minera completely updated.

Manual update

If you are in trouble with the automatic update or if you’d like to do the update manually just connect to your Minera via SSH (you can also use the web terminal window) and do:

cd /var/www/minera
sudo git fetch --all && sudo git reset --hard origin/master && sudo ./upgrade_minera.sh

This will run the git update (code) and the upgrade script needed in some circumstances.

You could want also to update only the code, for that just do this:

cd /var/www/minera
sudo git fetch --all && sudo git reset --hard origin/master

Get Minera your next Bitcoin mining dashboard – Try to trade with Bitcoin binary options

Release (ChangeLog)

Edit: 09 October 2018
Minera 0.9.1 is out!

* Login security bug fixed
* Scan network added network to be scanned
* Fixed bug preventing Minera to run in Raspberry 3 Model B+
* Fixed Cgminer to allow any Antminer model with or without JSON bug (S9, S9i, L3+, L3++, D3, Z9, Z9mini, V9)
* Changed way to purchase lifetime license ads-free
* Fixed price for license to 50$ (can be paid with several coins now)
* Local miners updated (Cgminer, Bfgminer)
* Added “Futurebit Moonlander 2” custom miner

Edit: 03 December 2017
Minera 0.9.0 is out!

* Added support for Antminer S9 / L3+ / D3
* Bugs fixed
* Manual install should work now

Edit: 25 September 2017
Minera 0.8.0 is out!

* Several bugs fixed
* Introduced Browser mining to remove ads

Edit: 3 September 2017
Minera 0.8.0 is out!

* Several bugs fixed
* Upgraded to lastest Codeigniter version (framework)
* Upgraded to latest Raspbian Strecth release (image file)
* Upgraded to use PHP7.0
* Added Minera ID to lock screen and sidebar
* Added BCH (Bitcoin Cash) to profitability table
* Added ccminer as local miner (need tests)

Edit: 14 April 2016
Minera 0.7.0 is out!

* Bug fix Limit on number of network miners
* Enhancement: hostname/system name of miner on login/lock page
* Updated miners with latest versions (Cgminer and Bfgminer)
* Updated Raspbian version to Jessie Debian release (You need to flash your SD Card read more below)
* Removed all save buttons and introduced the new one-save-button
* Added reset logs button to clean up log system files (only Minera and miners)
* Added system info at lockscreen
* Changed Refresh button position (on top!)
* Introduced Ads in Minera (yes I know, you don’t like)
* Introduced the Remove Ads button (only 0.01 Btc for system forever, read more below)
* Lot of other small fixes/enhancement

Edit: 07 December 2015
Minera 0.6.2 is out!

* This is only a maintenance version to update the dead Ghash.io Multi pool with the LTC one.
* Updated Bfgminer to latest version (5.4.1)

Edit: 03 July 2015
Minera 0.6.1 is out!

* Fixed time donation for cgminer users
* Fixed Cgminer Dmaxl pool hashrate bug
* Added remember dashboard panels status collapsed or not
* Added dashboard panel settings enable/disable
* Removed any reference to MobileMiner (service was shut down read here)
* Added bitstamp rates Usd + Eur in mining profitability panel
* Fixed bug with update…shit! I’m sorry for this

Sad

Edit: 17 June 2015
Minera 0.6.0 is out!

* Fixed various minor bugs
* Fixed altcoin data update
* Fixed change hostname
* Upgraded framework version (Codeigniter from 2.1.4 to 2.2.2)
* Fixed build script git clone
* Fixed export JSON bug
* Fixed dup labels in charts
* Added local pools dashboard actions (add/remove/select on the fly)
* Added default records per page setting
* Added factory reset
* Added general options (logs and json append) to manual local miner settings
* Added logs for custom miner softwares
* Added mining profitability box on dashboard
* Fixed sidebar scrolling
* Added sidebar dashboard icons/links
* Updated Minera system ID based on ethernet Mac Address
* Changed Minera username donation pool to reflect the Minera System ID
* Donation profit now got from live profit data
* Summer cleaning
* Added bower vendor packages
* Added Grunt task manager to build Minera files
* Added task for minify/uglify css/js
* Added environment configs
* Lock and sysop pages code rewritten
* Added CDNs for icon fonts (Awesome / Ionicons)
* Added Lighttpd conf to compress JSON calls and different mimetypes files (only on image build)
* Added script to install Minera on a non-Raspberry hardware

Edit: 10 April 2015
Minera 0.5.0 is out!

* Ability to add network miners like Antminer, Rockminer, etc…
* Ability to add other remote Minera system as network miner (this works only if the network Minera uses bfgminer/cgminer as local miner, doesn’t work for cpuminer)
* Automatically scan the LAN network to discover network miners
* Add/Remove/Select pools on the fly for network miners
* New network miners widgets
* Fixed change web password
* Fixed wrong current pool in Mobileminer
* Ability to change system hostname from settings page
* Ability to change system user password from settings page
* Added option to not append the JSON conf file to the local miner command
* Added Eur/Usd BTC rates
* Added errors from log file if miner won’t start
* Restyled dashboard page when local miner isn’t running (now it shows other info also if miner is stopped or it won’t start)
* Added network miners to Mobileminers (you will have a new miner system for every network miner you have)
* Updated Built-in local miners to the latest version
* Added fix for libusb library
* Added preconfigured miner options (I added several pre-configured options to the settings page so newbies have everything ready to start)
* Rewrote of topbar widgets now visible on every pages
* Fixed focus event on Firefox (duplicate table rows on page reload)
* Updated jQuery
* Lots of code rewrite

Edit: 28 February 2015
Minera 0.4.1 is out!

* Added pool proxy setup
* Added Github star button
* Added algo info to the stats
* Added auto switch donation pool based on algo (you can now donate mining time in SHA-256 too)
* Fix sending empty stats to mobileminer
* Pools bug fix
* New Minera image with Raspberry PI 2 support (Please refer to this wiki page if you are updating via web)

Edit: 22 December 2014
Minera 0.4.0 is out!

* Fixed security hole
* Fixed MHz bug
* Fixed simultaneous pool issue
* Recoded Mobileminer actions
* Improved security
* hashed web password
* Added Coinbase donation buttons
* Ability to add custom miners
* Skin selection (black/blue)
* New blue skin
* Minor fixes

Edit: 16 October 2014
Minera 0.3.8 is out!

* Fixed big bug on minerStop method, it prevented every miner excluding cpuminer from stopping
* Updated Bfgminer/Cgminer to latest versions

Edit: 10 October 2014
Minera 0.3.7 is out!

* Fixed MobileMiner SHA256 bug
* Updated Bfgminer/Cgminer to latest versions

Edit: 29 September 2014
Minera 0.3.6 is out!

* Updated miner binary files
* Small fixes
* Added script to build miner

Edit: 19 August 2014
Minera 0.3.5 is out!

* Added switcher instead checkbox
* Added export/import complete system settings
* Added save/load/share miner configs
* Fixed issue with cgminerStartupScript
* Updated BfGminer to 4.7.0 and CGminer to latest commit
* Added fixed header
* Many minor bug fixes

Edit: 03 August 2014
Minera 0.3.4 is out!

* Fixed big bug causing saved data lost if reboot, now each saves have a Redis BGSAVE included to persist the data in the disk immediately
* Added ability to start the miner process as superuser/root instead the minera one, this could be useful for some kind of devices that need access special stuff in the system
* Updated Bfgminer to 4.6.0-6-g8f60a5f and Cgminer to 4.5.0

Edit: 29 July 2014
Minera 0.3.3 is out!

* This release just updates Bfgminer and Cgminer to their latest relative versions.
* Reverted Cgminer Dmaxl Zeus fork to support Zeus & Gridseeds (Note, there are known bugs: https://github.com/dmaxl/cgminer/issues/17https://github.com/dmaxl/cgminer/issues/15)

Edit: 21 July 2014
Minera 0.3.2 is out!

* Added MobileMiner actions start,stop,restart,switch
* Added send anonymous stats
* Added temp/freq when available
* Fixed logging with cgminer and forks
* Fixed pool hashrate dmaxl
* Updated Bfgminer and Cgminer-Dmaxl to latest versions
* Added reset buttons
* Many bugs fixed

Edit: 15 July 2014
Minera 0.3.1 is out!

* Several bugs fixed after 0.3.0 release
* Added web terminal window to login into the system directly from the dashboard

Edit: 14 July 2014
Minera 0.3.0 is out!

* Added miner software switcher
* Included CPUminer, CGminer, BFGminer, CGminer Dmaxl Zeus fork
* Added scheduled event (reboot/restart)
* Added ajax methods for save settings and miner actions
* Various bug fixes

Refer to this post

Edit: 04 July 2014
Minera 0.2.3 is out!

* Added digital clock
* Fixed Cryptsy timeouts
* Added pool donation remove button
* Changed frequency step from 5 to 1
* Fixed display devices legend
* Added avg stats 1min,5min,1hour,1day
* Added charts hourly,daily,monthly,yearly
* Added average stats badge
* Various bug fixes

Edit: 16 June 2014
Minera 0.2.2 is out!

* Added donations time based
* Added temperature scales C°/F°
* Added sortable box for touch devices too
* Added earnings calculator to the dashboard
* Increasead altcoins to 5
* Added lockscreen autofocus
* Javascript code rewriting may be fixed datatable random issue (?)
* PHP code rewriting to add BFGMiner/CGMiner support
* Added credits in README
* Various fixes

Edit: 11 June 2014
Minera 0.2.1 is out!

* Added custom altcoins rates (go to settings and choose your preferred ones, max 3)
* Added autorestart if there are X devices possible dead (go to settings and enable it, if X devices won’t send shares for over than 10 minutes miner will be restarted)
* Added fixed Minera donation pool (Don’t panic! This doesn’t mean there is a Minera “fee”, you can still add as many pools as you want and keep the minera’s one for last)
* Removed url pool check when adding a new one (you can put any string you want as Pool url)
* Added system uptime
* only on fresh install – Added wicd-curses package to easily manage WiFi cards (if you wanna have it just run: sudo apt-get install wicd-curses)

Minera

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *