Pages:
Author

Topic: I need a virtual desktop for cloud mining, suggestions? (Read 1369 times)

newbie
Activity: 38
Merit: 0
In cases of not having "screen" on your device (normally it's included in a server based system)
go "sudo apt-get update && sudo apt-get install screen" (without quotes)
newbie
Activity: 38
Merit: 0
To get the .., type
screen -ls

For accidents

When quit without detaching the process, you may receive a message of "no process detached"
type "screen -d -r .." (without quotes)

When detached two or more process instead of one
type "screen -r .." (without quotes)

Have fun Cheesy
newbie
Activity: 38
Merit: 0
Here's the deal, I am from Europe and I have my uncle in Brazil has granted me access to the infrastructure of computers of his company, I've been cloud mining for the past few hours and I got decent results, I'm mining on multipool and I'm getting about 7 Mh/s, I have a problem though, my computer cannot be online for to long, it's a very poor machine, constantly overheating and crashing, but considering that I can only cloud mine through SSH on putty, if I turn off my computer, the cloud mining stops, I need some sort of virtual desktop on the web from which I can control the remote computers, in a way that I am able to shutdown my machine and the process keeps doing.

Any suggestion?
by using ssh
you can use the command
"screen"
it enables detach of the process(still running, just functioning like minimize in windows) thus running even when you're off
How to use:
Detaching(doing this when want to mine and let it be)
1. logon the ssh console as you should be
2. type "screen" (without the quotes) and press enter
3. press space to acknowledge the rules(ain't reading for sure Grin)
4. type your miner command as usual
5. when the thing starts press CTRL+A(hold the both) and tap D (tap!)
6. you will see a message Process detached from ..
7. done! (you can close the ssh console with the process detached from foreground and still running)
Attaching(doing this when want to see the current status of the miner or making changes or whatever operation involved)
1. logon the ssh console as normally
2. type "screen -r" (without the quotes) and press enter
3. you will see your mining status
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
Oh, sorry, I never explained myself, I'm not mining SHA256, I'm mining Scrypt altcoins! Wink

Gotcha.  That makes far more sense.  Your Uncle is a very nice guy if he's letting you peg all those CPUs to 100% all the time.  You should tell him to pick up a couple of those Scrypt blade miners and hook them into a single machine in his data center.  You'd get greater hash rate, and he'd not have to worry about you burning out his machines.

Well, those computers are used mainly for storage, so the CPU resources are never really used in any profitable way, that is why he granted me the logins.

What are those scrypt blade miners, how do they work, and more importantly, how much do they cost?


The Scrypt blade miners are ASIC hardware for mining coins like LTC, DOGE, etc.  At present Gridseed manufactures them, along with their 5-chip dual miners.  The miners are dual blades, with each blade having 40 chips, for a total of approximately 5.2 MH/s from the unit, all for about 140 watts.  You can pick them up for about $1500 USD give or take.  If you were to pick one up for yourself, you'd have to deal with VAT and customs fees (depending on where in Europe you are).  I'm not sure what kind of tax/import fees there are in Brazil.

That's pretty expensive, considering that I can get about 7 Mh/s for free.



LOL... you might be getting it for free, your Uncle certainly isn't.  He's paying for the electricity costs of all of those 1500 instances, which by the way will certainly increase because they are now drawing far more power than they were before when they were sitting idle doing nothing but storage as you said.  He's also dealing with the risk associated with you pegging all of those CPUs to 100%.  To him, it is likely very worth the investment of a couple of those blade miners.  He'd make the investment back on power savings alone.
member
Activity: 75
Merit: 10
Oh, sorry, I never explained myself, I'm not mining SHA256, I'm mining Scrypt altcoins! Wink

Gotcha.  That makes far more sense.  Your Uncle is a very nice guy if he's letting you peg all those CPUs to 100% all the time.  You should tell him to pick up a couple of those Scrypt blade miners and hook them into a single machine in his data center.  You'd get greater hash rate, and he'd not have to worry about you burning out his machines.

Well, those computers are used mainly for storage, so the CPU resources are never really used in any profitable way, that is why he granted me the logins.

What are those scrypt blade miners, how do they work, and more importantly, how much do they cost?


The Scrypt blade miners are ASIC hardware for mining coins like LTC, DOGE, etc.  At present Gridseed manufactures them, along with their 5-chip dual miners.  The miners are dual blades, with each blade having 40 chips, for a total of approximately 5.2 MH/s from the unit, all for about 140 watts.  You can pick them up for about $1500 USD give or take.  If you were to pick one up for yourself, you'd have to deal with VAT and customs fees (depending on where in Europe you are).  I'm not sure what kind of tax/import fees there are in Brazil.

That's pretty expensive, considering that I can get about 7 Mh/s for free.

legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
Oh, sorry, I never explained myself, I'm not mining SHA256, I'm mining Scrypt altcoins! Wink

Gotcha.  That makes far more sense.  Your Uncle is a very nice guy if he's letting you peg all those CPUs to 100% all the time.  You should tell him to pick up a couple of those Scrypt blade miners and hook them into a single machine in his data center.  You'd get greater hash rate, and he'd not have to worry about you burning out his machines.

Well, those computers are used mainly for storage, so the CPU resources are never really used in any profitable way, that is why he granted me the logins.

What are those scrypt blade miners, how do they work, and more importantly, how much do they cost?


The Scrypt blade miners are ASIC hardware for mining coins like LTC, DOGE, etc.  At present Gridseed manufactures them, along with their 5-chip dual miners.  The miners are dual blades, with each blade having 40 chips, for a total of approximately 5.2 MH/s from the unit, all for about 140 watts.  You can pick them up for about $1500 USD give or take.  If you were to pick one up for yourself, you'd have to deal with VAT and customs fees (depending on where in Europe you are).  I'm not sure what kind of tax/import fees there are in Brazil.
member
Activity: 75
Merit: 10
Oh, sorry, I never explained myself, I'm not mining SHA256, I'm mining Scrypt altcoins! Wink

Gotcha.  That makes far more sense.  Your Uncle is a very nice guy if he's letting you peg all those CPUs to 100% all the time.  You should tell him to pick up a couple of those Scrypt blade miners and hook them into a single machine in his data center.  You'd get greater hash rate, and he'd not have to worry about you burning out his machines.

Well, those computers are used mainly for storage, so the CPU resources are never really used in any profitable way, that is why he granted me the logins.

What are those scrypt blade miners, how do they work, and more importantly, how much do they cost?
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
Oh, sorry, I never explained myself, I'm not mining SHA256, I'm mining Scrypt altcoins! Wink

Gotcha.  That makes far more sense.  Your Uncle is a very nice guy if he's letting you peg all those CPUs to 100% all the time.  You should tell him to pick up a couple of those Scrypt blade miners and hook them into a single machine in his data center.  You'd get greater hash rate, and he'd not have to worry about you burning out his machines.
full member
Activity: 236
Merit: 100
★ Always strive for the best ★
As above, Screen is used to keep things alive.

This guide (little easier than above) will make everything run fine!

1. sudo apt-get install screen
2. let it download and install
3. in the terminal: screen -R miner1
4. hit enter, a new screen will load, its blank
5. enter the CLI (command line) for your miner
6. do CTRL+A+D to leave the screen (the screen is still running)


Done!

If you wanna monitor the screen:
1. screen -r miner1
2. CTRL+A+D to leave the screen again.

If you want to destory the screen:
1. screen -r miner1
2. CTRL+D (may have to press it twice)
3. Screen is dead.


member
Activity: 75
Merit: 10
Oh, sorry, I never explained myself, I'm not mining SHA256, I'm mining Scrypt altcoins! Wink
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
You're using Putty.  All you have to do is start your remote miners with the nohup command added to them.  Example:

nohup ./bfgminer -o stratum+tcp://stratum.somepool.com:3333 -u workerName -p workerPassword &

If you were to use screen as was suggested earlier, you'd have to install it on the remote machine.  Not sure what Linux flavor those remote machines are running, but if they're on a Debian-derived distro, you'd just do this:

sudo apt-get install screen

Then, you'd start your miners like this:

sudo screen -dmS MyMiners ./bfgminer -o stratum+tcp://stratum.somepool.com:3333 -u workerName -p workerPassword

This starts up a session in the background.  To access it, you'd just do this:

sudo screen -dR MyMiners

Then, once you're in the screen, to get out of it, all you need to do is hold down the control key and hit a then d.

And with this method, can I just set it and forget it?

Setup, install, run and never login to it again?

Pretty much.

Also, something to consider, as I mentioned earlier, my uncle has provided me access to its server infrastructure in Brazil, but he has given me this access under the form of 1500 DIFFERENT VPS Logins, which means that the 7 Mh/s that I mentioned earlier is only possible by being connected to 1500 INDIVIDUAL SSH sessions.

I had to MANUALLY install cpuminer in 1500 different sessions, which in of itself took me nearly 4 days.

Please tell me I'm not reading this correctly or that you've misrepresented your hash rate, or you're mining something other than BTC.  1500 sessions.  7MH/s???  I get far greater rate than that out of my MacBookPro running CPU miner.
member
Activity: 75
Merit: 10
You're using Putty.  All you have to do is start your remote miners with the nohup command added to them.  Example:

nohup ./bfgminer -o stratum+tcp://stratum.somepool.com:3333 -u workerName -p workerPassword &

If you were to use screen as was suggested earlier, you'd have to install it on the remote machine.  Not sure what Linux flavor those remote machines are running, but if they're on a Debian-derived distro, you'd just do this:

sudo apt-get install screen

Then, you'd start your miners like this:

sudo screen -dmS MyMiners ./bfgminer -o stratum+tcp://stratum.somepool.com:3333 -u workerName -p workerPassword

This starts up a session in the background.  To access it, you'd just do this:

sudo screen -dR MyMiners

Then, once you're in the screen, to get out of it, all you need to do is hold down the control key and hit a then d.

And with this method, can I just set it and forget it?

Setup, install, run and never login to it again?

Also, I'm running cpuminer, not bfminer, does this also work with cpuminer? Considering that I would have to manually install bfminer in 1500 different sessions to make this change effective?
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
You're using Putty.  All you have to do is start your remote miners with the nohup command added to them.  Example:

nohup ./bfgminer -o stratum+tcp://stratum.somepool.com:3333 -u workerName -p workerPassword &

If you were to use screen as was suggested earlier, you'd have to install it on the remote machine.  Not sure what Linux flavor those remote machines are running, but if they're on a Debian-derived distro, you'd just do this:

sudo apt-get install screen

Then, you'd start your miners like this:

sudo screen -dmS MyMiners ./bfgminer -o stratum+tcp://stratum.somepool.com:3333 -u workerName -p workerPassword

This starts up a session in the background.  To access it, you'd just do this:

sudo screen -dR MyMiners

Then, once you're in the screen, to get out of it, all you need to do is hold down the control key and hit a then d.
newbie
Activity: 1
Merit: 0
https://wiki.archlinux.org/index.php/GNU_Screen


You don't need a virtual desktop. You need to use "screen"

Please elaborate? I have a very, very limited knowledge of Linux.

You're saying that I have to install the GNU screen application on the mining VPS servers? Is that it?

That is correct.  You only need to run your process via screen and the process will continue running whether you are connected or not.

Alternatively you could put a reference to your script into rc.d and it will run when the system boots.


You've got lots of options.
member
Activity: 75
Merit: 10
Also, something to consider, as I mentioned earlier, my uncle has provided me access to its server infrastructure in Brazil, but he has given me this access under the form of 1500 DIFFERENT VPS Logins, which means that the 7 Mh/s that I mentioned earlier is only possible by being connected to 1500 INDIVIDUAL SSH sessions.

I had to MANUALLY install cpuminer in 1500 different sessions, which in of itself took me nearly 4 days.
member
Activity: 75
Merit: 10
https://wiki.archlinux.org/index.php/GNU_Screen


You don't need a virtual desktop. You need to use "screen"

Please elaborate? I have a very, very limited knowledge of Linux.

You're saying that I have to install the GNU screen application on the mining VPS servers? Is that it?
member
Activity: 75
Merit: 10
So did it work? Smiley

I signed up with them last night, but for some reason I'm unable to get it to work, when I go to the console it says that I need to subscribe to the workspaces to be able to access them, but in other page it says I'm already registered.

I'm trying to read the documentation, but it seems I did everything correctly, so I'm not understanding where exactly have I failed.
newbie
Activity: 1
Merit: 0
https://wiki.archlinux.org/index.php/GNU_Screen


You don't need a virtual desktop. You need to use "screen"
legendary
Activity: 2422
Merit: 1451
Leading Crypto Sports Betting & Casino Platform
So did it work? Smiley
member
Activity: 75
Merit: 10
Well,I think that amazon workplaces has a similar service. Not really sure though. I don't have any technical knowledge with it. Now that you find out about it I guess you could do your own research about it and see if it works for you.

here's a link: https://aws.amazon.com/workspaces/

Thanks, I believe that is what I was looking for, and it also seems to have a fairly decent free tier. By looking at the specs, it seems that it could also potentially be another good platform for cloud mining, I wonder if anyone has tried it?

Also, are you aware of other similar services? Nowadays it's really not good to keep all your eggs in one basket!
Pages:
Jump to: