Sunday, October 8, 2023
HomeLitecoin NewsRemotely monitoring your CGMiner Mining Rig with Miner.php on Ubuntu

Remotely monitoring your CGMiner Mining Rig with Miner.php on Ubuntu

Advertisement


If in case you have CGMiner put in in your litecoin mining then it’s possible you’ll of observed a file known as miner.php discovered within the root folder.

This can assist you to monitor your server over the web remotely everytime you want.

You do must take a number of steps first to get this working although. This methodology is for individuals who are utilizing Linux. I’m operating XUbuntu

Set up Apache

sudo apt-get set up apache2

Set up PHP & MYSQL

sudo apt-get set up php5
sudo apt-get set up php5-mysql
sudo apt-get set up libapache2-mod-php5

Now that you must restart Apache. You have to do that for it to work

sudo /and so forth/init.d/apache2 restart

To check Apache is working level your internet browser to

http://localhost

Should you learn “It really works! then your Apache is working okay

Open up miner.php present in your CGMiner root listing in your editor
Now make the next adjustments

$readonly = true; # A good suggestion if that is purely for monitoring
$autorefresh = 30; # This permits automated refresh

Now save the file as miner.php

The subsequent step is to repeat miner.php out of your CGMiner folder
Copy this file into /var/www/

Begin CGMiner making certain you add the next switches –api-listen and –api-network to have the ability to discuss to the webpage

Examine CGMiner is operating with ps -ef|grep cgminer
Then open up http://localhost/miner.php in your internet browser

Now hopefully this could present your realtime stats for CGMiner.
You’ll be able to then setup your router to permit distant entry from wherever
utilizing your Web IP tackle.


miner_stats
Screenshot of Miner.php monitoring device for cgminer

Advertisement
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments