![]() ![]() Within the phpminer_rpcclient directory, there exists a file phpminer_rpc.Some of the disadvantages of using this method are: ![]() Running RPC Client on system start Linux Debian based Open the file config.php within this directory on each rig and change the config to your needs. Required setup'sĬopy the directory phpminer_rpcclient to each mining rig which you want to connect. If you don't have a domain you can set it to what ever you want, just make sure you edit your local hosts file to point the fantasy domain to the ip-address if the mining machine. # Possible values include: debug, info, notice, warn, error, crit,ĬustomLog $ - The domain to the machine. Options Indexes FollowSymLinks MultiViews Please add a file named phpminer to /etc/cron.d/ with the following contents: Please create a database and a user which has access to read / write data and create tables.Īfter you have created them, copy the file config/ to config/config.php and fill in your database credentials. It's just a little help to let me know that you want updates in the future and this tells me that my work with PHPMiner was useful. So this will not have a real effect of your profit. 15 Minutes within 24 Hours are just 1% if the hole mining time. PHPMiner will detect when your workers have mined 24 hours, then PHPMiner will switch to donation pools where your workers will mine for me for 15 Minuntes.Īfter this time PHPMiner will switch back to your previous pool group. To support further updates and help to improve PHPMiner, I decided to implement an auto donation system which you can disable at any time. However you can also let the setting "Enable donation" enabled. NOTE: Replace the user www-data with your user which runs the phpminer_rpcclient. With debian/ubuntu, this is normally already installed. You either need to run the phpminer_rpcclient/index.php as root or the user which runs the phpminer_rcpclient needs sudo access to reboot without password. ![]() ![]() If you want to allow PHPMiner to reboot your machine after it detects a defunced CGMiner/SGMiner script. Requirements for rebooting machine on defunc CGMiner/SGMiner process. you will not miss updates from cgminer, because cgminer v3.7.2 is the last versions with scrypt support and the author will not update it, so you just benefit from my repo. To have the best experience get the forked version and use them instead of the original, I only improved the API commands, the rest works as the original. In a fork of cgminer v3.7.2 I implented some more API Commands including to retrieve the current mining pool directly. With the original CGMiner/SGMiner, PHPMiner have to wait that each device send a accepted share to the new pool after switching pool groups, else it can not determine that the pool switch succeed. However some API commands are slowing down PHPMiner experience like switching pools. The original CGMiner v3.7.2 or SGMiner >= 4.1.0 is required.
0 Comments
Leave a Reply. |