Minera is a complete system to manage and monitor your Gridseed Blade/Mini devices. (Support for much more devices is on roadmap, stay tuned!)
By now Minera supports only the new cpuminer-gc3355 by sandor111 please refer to https://github.com/siklon/cpuminer-gc3355.
If you like it, please consider a donation:
Bitcoin: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
Thanks.
Download minera-latest.img.zip
Look below for how to install / use it.
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.
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
- Miner details table with per device sort, search, pagination
- Pools table with ON-THE-FLY pool switch
- Devices tree with cool graph
- Hashrate history
- Errors/Rejects history
- Sysload monitor
- Bitcoin/Crypto currencies rates
- Average hashrate stats
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
- Dashboard refresh time
- Minera password management
Minera should be installed on the Gridseed controller, usually a Raspberry, with a Debian-like Linux distribution and of course an internet connection.
You can choose for a img file to put in your SD Card or for a manual install.
Image file (img)
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:
Download minera-latest.img.zip (md5 93252505d41cf7fedf7d0e0fe918b0d0)
Default passwords are "minera" you should change them as well as the miner settings.
Manual install
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
Skip this step and continue below if you have a web server with PHP just installed.
sudo apt-get install -y lighttpd php5-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 php5-cli php5-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
Minerd (CPUMiner-gc3355)
The minerd binary path is:
minera-bin/minerd
It's pre-compiled for Raspberry (ARM) with the latest version available, please refer to https://github.com/siklon/cpuminer-gc3355 if you wanna recompile it.
For Ubuntu user only
In the same path you can find also minerd-ubuntu-64bit file, this one is pre-compiled for Ubuntu 64bit, you should copy it overwriting minerd if you run Minera on Ubuntu.
cd /var/www/minera/minera-bin
sudo cp minerd-ubuntu-64bit minerd
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.
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 :)
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
Create an img file “plug&play”Add some errors control to installerAdd daily/weekly/monthly chartsAdd 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 JSON config support
Click for hi-res images.
Lockscreen:
Dashboard:
Charts:
Settings:
Minera is a free and Open Source software, if you like it, please consider a donation to support it:
Bitcoin: 1AmREReHNLec9EaW7gLRdW31LNSDA9SGR1
Litecoin: LLPmAT9gDwmiSdqwWEZu6mpUDmrNAnYBdC
Dogecoin: DLAHwNxfUTUcePewbkvwvAouny19mcosA7
Thanks and happy mining!
I wish to thank every plugin, libraries, framework, icons, etc authors for their great job, in random order:
- CPUMiner-GC3355 author
- Codeigniter PHP Framework
- Raspbian Raspberry Debian distribution
- Jquery Javascript libraries
- Morris.js for some of the charts
- Ion Rangeslider for the sliders
- AdminLTE for the awesome HTML/CSS/JS default template
- Jquery Knob for circled charts
- Jquery DataTables for the amazing tables
- Twitter Bootstrap for the HTML/CSS theme
- Font Awesome, Ion icons and Glyphicon for the stunning well...icons of course :)
Copyright 2014 Michele Marcucci
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.