Pages:
Author

Topic: [SRC] Noobproof VPS SecureCoin/QuarkCoin All-In-One Pool Mining Script - page 2. (Read 16410 times)

legendary
Activity: 1694
Merit: 1054
Point. Click. Blockchain
Still having the problem.. being left at the > prompt

Try something for me real quick?  Remove the first line, the one that starts "#!/bin/bash" and try again?
Let me know if that works.

I've updated the script and removed the "#!/bin/bash", so hopefully that fixes it.

No, still leaves me at the > prompt and a return just gives me another.

Thanks for the help, i am a linux weakling - windows guy (oh no!)

I am using digital ocean if that makes a difference.  Also, when I paste i am at a:  ~# prompt


I ran the script again without the {} and now the script is running and doing its thing.


-tb-
sr. member
Activity: 388
Merit: 250
Save A Life, Adopt a Pet Today!
Still having the problem.. being left at the > prompt

Try something for me real quick?  Remove the first line, the one that starts "#!/bin/bash" and try again?
Let me know if that works.

I've updated the script and removed the "#!/bin/bash", so hopefully that fixes it.

No, still leaves me at the > prompt and a return just gives me another.

Thanks for the help, i am a linux weakling - windows guy (oh no!)

I am using digital ocean if that makes a difference.  Also, when I paste i am at a:  ~# prompt
full member
Activity: 168
Merit: 100
Still having the problem.. being left at the > prompt

Try something for me real quick?  Remove the first line, the one that starts "#!/bin/bash" and try again?
Let me know if that works.

I've updated the script and removed the "#!/bin/bash", so hopefully that fixes it.
sr. member
Activity: 388
Merit: 250
Save A Life, Adopt a Pet Today!
Still having the problem.. being left at the > prompt
full member
Activity: 168
Merit: 100
For those having issues with ">", try the script again.

I had a few lingering tab characters and I added a few newlines at the end for good measure.
legendary
Activity: 1694
Merit: 1054
Point. Click. Blockchain
Followed this step by step but after I copy the scrypt into Putty nothing happens (no script running)

Help me out giga!

Same here.  My putty session is sitting at the ">" prompt.  How do I know if it is running or not?

Thanks.


-tb-
legendary
Activity: 1274
Merit: 1050
I think you underestimate the noobishness of some of the readers of this thread. Namely ; me Cheesy

Why us e a VPS ? I though a VPS was only a place to run connections through. Or does it also have CPU's that you can use to mine ?

If so, how much does it cost to rent ? How profitable is it ?
hero member
Activity: 1232
Merit: 683
Tontogether | Save Smart & Win Big
Followed this step by step but after I copy the scrypt into Putty nothing happens (no script running)

Help me out giga!

full member
Activity: 168
Merit: 100
How can digitalocean see which compiler flags you use? The miner uses 100% cpu anyways, no matter if compiled for native, sse2 or mmx.
Personally I don't use scripts, makes me feel powerless (and the author could include anything). OK for noobs I guess, but I'd prefer them learning the basics, which aren't that hard to get and basically the same for every coin.

DigitalOcean doesn't see which flags, that's the job of the compiler.  When you supply "-march=native", the compiler tries to determine which CPU architecture you have, then generates object code based on what instructions your CPU has available.
I think the problem is with DigitalOcean and "-march=native" is how their virtualization works.  It reports the CPU architecture as K5 (don't quote me) but then complains that there's no valid target architecture.

Also, mining at 100% doesn't mean much, only your speeds do, so be sure to check your miner's output to see which works best for you.
hero member
Activity: 756
Merit: 501
How can digitalocean see which compiler flags you use? The miner uses 100% cpu anyways, no matter if compiled for native, sse2 or mmx.
Personally I don't use scripts, makes me feel powerless (and the author could include anything). OK for noobs I guess, but I'd prefer them learning the basics, which aren't that hard to get and basically the same for every coin.
full member
Activity: 168
Merit: 100
i prefer adding -march=native to the CFlags

I do too.  I left it out for maximum compatibility though.
Some VPS services like DigitalOcean crap their britches when you include it though, so your mileage may vary.
legendary
Activity: 1106
Merit: 1001
i prefer adding -march=native to the CFlags
full member
Activity: 168
Merit: 100
RESERVED

Notes:
  • The script automatically runs the SecureCoin miner whenever the node is rebooted.  You can use this to your advantage!
    • Shut down your mining node and make a snapshot or backup image of it.
    • Create new nodes based on the snapshot/backup.
    • The new nodes will begin mining as soon as they boot!
  • SecureCoin uses the same hash algorithm as QuarkCoin.  If you want to mine QuarkCoins instead of SecureCoins, just change the pool info to point to a QuarkCoin pool!  See below for an example.

Quark Mining Config (example):
Code:
SECURECOIN_WORKER="your_quarkcoin_address"
SECURECOIN_PASS="x"
SECURECOIN_POOL="http://qrkpool.tk:8868"
full member
Activity: 168
Merit: 100
Hey guys!  This guide is going to be a bit shorter than the other ones.  I'm going to assume you know some of the basics of setting up a VPS node as outlined in my previous guides.  You'll also be needing to set up a pool mining account.

Once you have an Ubuntu 64-bit VPS running, this should be a walk in the park.

QUARKCOIN USERS: follow the instructions in this first post, then read the information in the second post for additional info.

Setting up a Securecoin Pool Miner on VPS for Absolute Noobs
Donations are appreciated!  If you enjoyed the guide, feel free to sign up using one of the referral links or maybe even send a few coins my way!  Wink
BTC: 1E2egHUcLDAmcxcqZqpL18TPLx9Xj1akcV
Ψ: AWHJbwoM67Ez12SHH4pH5DnJKPoMSdvLz2
SRC: sMCD2p55fkPD6s8EzDrL7vVp8EYqPkJ6mo

Before You Begin
  • Set up a SecureCoin pool mining account.  I would recommend one of the following pools:
  • Set up SecureCoin-QT on a computer and generate a SecureCoin address to receive your coins.
  • Download PuTTY (putty.exe) so you can connect to your VPS when the time comes.
  • Sign up for a DigitalOcean or Linode account.
    • During the creation process, be sure to create a node running Ubuntu 13.04/12.04 x64 (not x86)
  • If you signed up for DigitalOcean, check your email for your root password.  If you signed up for Linode, your password will be what you specified.
  • Run PuTTY and paste the node's IP address into the "Host Name" slot, then hit "Open" at the bottom. (figure 1)
  • PuTTY will ask you to confirm the SSH key, press Yes (it will only ask once) (figure 2)
  • Type or paste your password into PuTTY and press enter.  To paste, simply right click.
    • Note: You will not see the password characters!  This is normal.


Getting Down to Business
  • If you chose DigitalOcean, it's time to change the root password!  Type passwd, press enter, then enter a new password.  Just like before, the password characters will not show up. (figure 3)
  • Copy this automated setup script to notepad. (highlighted version)
  • At the top of the script, there are fields starting with "SECURECOIN_".  Fill these out with your desired info.  Be sure to keep the quotes!
    • SECURECOIN_POOL is the URL for the mining pool.  The script includes two example URLs to get you started.
    • SECURECOIN_WORKER is your SecureCoin pool worker name.  It's usually in the format of "username.workername"
    • SECURECOIN_PASS is your SecureCoin pool worker's password.  Usually it will be short and simple, like "x".  DO NOT USE YOUR ACCOUNT PASSWORD FOR YOUR WORKER PASSWORD.
  • Copy the entire modified script from notepad and paste it into your PuTTY window (right click), then hit enter.
  • The setup is now running.  It will take approximately 10 minutes to complete.
  • Once the script completes, you will see a brief help message and list of commands.[/url]

Congratulations!  You're now mining SecureCoins!

If you'd like to maximize your mining potential, please see my mini-guide on How to Clone DigitalOcean Droplets.



Changelog
  • 29 August 2013 - Fixed some issues, the script now runs correctly!  Sorry about that!
  • 29 August 2013 - Initial release!
Pages:
Jump to: