Bitcoin Forum
May 12, 2024, 02:54:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: [XPM] Noobproof VPS Primecoin All-In-One EZ Setup Script (Updated)  (Read 17648 times)
superresistant
Legendary
*
Offline Offline

Activity: 2128
Merit: 1120



View Profile
August 25, 2013, 06:37:12 AM
Last edit: August 25, 2013, 07:29:53 AM by superresistant
 #41

Hello,

The command ./myinfo doesn't work for me even though all the rest seems to work.
Is there an other way to get my privatekey ?
Otherwise, how do I send coins ?

Thx

EDIT : Anyway... the ./myinfo is not working but I found an alternative : quarkcoind dumpprivkey "the adress"
1715482447
Hero Member
*
Offline Offline

Posts: 1715482447

View Profile Personal Message (Offline)

Ignore
1715482447
Reply with quote  #2

1715482447
Report to moderator
1715482447
Hero Member
*
Offline Offline

Posts: 1715482447

View Profile Personal Message (Offline)

Ignore
1715482447
Reply with quote  #2

1715482447
Report to moderator
1715482447
Hero Member
*
Offline Offline

Posts: 1715482447

View Profile Personal Message (Offline)

Ignore
1715482447
Reply with quote  #2

1715482447
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Pentel
Full Member
***
Offline Offline

Activity: 172
Merit: 100



View Profile
August 25, 2013, 11:11:26 AM
 #42

I have imported my private key however my coins have not yet appeared.

cross/\'kros/ n: a thing they nail people to. Vircurex - Exchnage
PGP Key
BM-NC5DsQck3UyTHFv3fKCMBprw7BNVHUwH
gigawatt (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
August 27, 2013, 07:39:53 PM
 #43

Lots of minor tweaks!  Many small bugs quashed!
See main post for details.

BTC: 1E2egHUcLDAmcxcqZqpL18TPLx9Xj1akcV   Ψ: AWHJbwoM67Ez12SHH4pH5DnJKPoMSdvLz2   Primecoin All-In-One VPS Setup Script   Quarkcoin All-In-One VPS Setup Script   Metiscoin VPS Pool Mining Script
soulmann
Full Member
***
Offline Offline

Activity: 221
Merit: 100


View Profile
September 16, 2013, 11:27:45 PM
 #44

Is it possible to mine with pool? For example with http://ypool.net?

Thank you.
gigawatt (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
September 17, 2013, 03:11:25 PM
 #45

Is it possible to mine with pool? For example with http://ypool.net?

Thank you.

Yep, I even have a short guide on the matter: https://bitcointalk.org/index.php?topic=265453.msg2840821#msg2840821
It doesn't work too well though.  Most of the mining scripts for primecoin were designed to run on windows.

BTC: 1E2egHUcLDAmcxcqZqpL18TPLx9Xj1akcV   Ψ: AWHJbwoM67Ez12SHH4pH5DnJKPoMSdvLz2   Primecoin All-In-One VPS Setup Script   Quarkcoin All-In-One VPS Setup Script   Metiscoin VPS Pool Mining Script
afr33sl4ve
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
November 28, 2013, 04:07:34 PM
 #46

gigawatt,

I followed your tutorial to the T and I could not get any of my miners to pull an address.

Is PRIMECOIN_USERNAME supposed to be unique per miner?
afr33sl4ve
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
November 29, 2013, 05:08:57 PM
Last edit: November 29, 2013, 05:19:04 PM by afr33sl4ve
 #47

A thousand apologies for the double post, however, I need help with this:

Code:
Averages:
awk: cmd. line:1: {s1+=$4;s2+=$6;s3+=$8;s4+=$10} END {printf"%10s: %10d\n%10s: %10d\n%10s: %10d\n%10s: %10.5f
awk: cmd. line:1:                                           ^ unterminated string
awk: cmd. line:1: {s1+=$4;s2+=$6;s3+=$8;s4+=$10} END {printf"%10s: %10d\n%10s: %10d\n%10s: %10d\n%10s: %10.5f
awk: cmd. line:1:                                           ^ syntax error
AnhBen
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile WWW
December 28, 2013, 05:59:49 PM
 #48

After reading mikaelh's Primecoin setup guide I decided to automate as much of the process as possible to make it noob friendly.

The result is this!

Setting up a Primecoin Miner on VPS for Absolute Noobs
Donations welcome!
BTC: 1E2egHUcLDAmcxcqZqpL18TPLx9Xj1akcV
Ψ: AWHJbwoM67Ez12SHH4pH5DnJKPoMSdvLz2

Before You Begin
  • 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 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 "PRIMECOIN_".  Fill these out with your desired info.  Be sure to keep the quotes!
    • PRIMECOIN_USERNAME is your primecoind username.  It's required for primecoind to work properly!
    • PRIMECOIN_SIEVESIZE, PRIMECOIN_SIEVEPCT, PRIMECOIN_SIEVEEXTENSIONS are parameters used by mikaelh's high-performance primecoin client (see link for info)
  • 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. (figure 4)

Congratulations!  You're now mining for primecoins!
It may take a few minutes before you actually begin mining.  This is normal.  Primecoin needs to download the blockchain before it can begin doing work.  After it's caught up, you should be able to run ./peek and see that it's generating primes.

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



What Now?
  • If you haven't already, download the latest version of the Primecoin client.
  • To "merge" your primecoin accounts into one, you'll need to gather the private keys from your VPS nodes
    • Log into your droplet like you did at the beginning of the setup.  This time your password will be what you set it to.
    • Run ./peek to verify that primecoind is running.  If it isn't, run ./start-primecoind and wait a few moments.
    • Run ./myinfo to dump your addresses and private keys values. (figure 5)
    • Copy the private key value (the random text after "PrivKey:") by highlighting it with your cursor.
    • On your main computer, open Primecoin and import the private key.
      • From the main Primecoin screen, click Help -> Debug Window
      • In the new popup, select Console
      • Type importprivkey YOUR_PRIVKEY SOME_LABEL and wait a few seconds.  YOUR_PRIVKEY is what you copied from PuTTY and SOME_LABEL is what you want the address to appear as in your address book. (figure 6)
      • Repeat this for as many private keys you wish to import.  Once finished, close and re-run the Primecoin client.  You should see the new addresses under "Receive".
    • Note: if an instance of primecoind mines a block, it may not be under the address you exported.  Wait for the block to be confirmed, then dump your addresses again.  Alternately, modify the notify-wallet script to FTP a backup of your wallet.dat file.
  • Occasionally you may wish to update your primecoin miner when new versions or patches are released.  To do this...
    • Log into your DigitalOcean droplet
    • Run ./stop-primecoind to stop the primecoind process
    • Run ./build-primecoin to update and rebuild primecoind
    • Run ./start-primecoind to start your primecoind process again
    • Wait a few minutes and run ./peek to make sure it's running correctly
  • If you'd like to remotely backup your wallet.dat file whenever you mint a new block, check this short guide.

Changelog
  • 27 August, 2013
    • Cron reboot script now works properly.  (Damn you cron and your newlines!)
    • ~/peek no longer shows orphaned blocks.  Balance will only include transactions with one or more confirmations.
    • ~/myinfo now shows all addresses, not just those in the last ~100 transactions.  The pattern matching has been made more generic, so it works with just about any coin on main/testnet.  It also only does a lookup on addresses that generated a block or received currency.
    • PRIMECOIN_ROUNDSIEVEPERCENTAGE has been removed, replaced with PRIMECOIN_SIEVEEXTENSIONS
    • Now includes a ~/restart-primecoind script
  • 20 August, 2013
    • Tweaked apt-get package names to grab most compatible package for the given install setup
    • Package list now includes fail2ban by default for some semblance of security
    • Package list now includes nano as a text editor.  Why some installs don't come with this is beyond me.
    • Swapfile now persists after reboot.
    • Auto reboot on kernel panic
  • 15 August, 2013 - Now Amazon EC2 compliant and primecoin runs at startup.
  • 12 August, 2013
    • Updated default parameters to match the newer hp9 client (1mil / 10% / 70%)
    • Runs apt-get update before installing things
    • ~/start-primecoind should no longer accidentally kill itself
    • Initial package install includes bc so ~/peek correctly shows all balances
    • Fixed haveged not running after setup.  There's been some debate on the usefulness haveged, but until it's definitively proven to be harmful, it will remain.
    • Post-install help screen now uses absolute paths instead of relative
    • Minor formatting chagnes
  • 01 August, 2013
    • ./peek now includes the chains/day metric (still in development).  It also shows "Immature Balance" instead of "Unconfirmed" to more accurately match the Primecoin-Qt client.
    • ./myinfo now correctly dumps all keys, not just confirmed
    • ./notify-wallet now has example headings
    • Install includes HAVEGED for increased entropy pool (thank you blackboy)
  • 29 July, 2013 - Lots of new stuff!
    • Added option: PRIMECOIN_ROUNDSIEVEPCT
    • PRIMECOIN_USERNAME is now required (I'm an idiot), but PRIMECOIN_PASSWORD is auto-generated.
    • Installs newest version of GMP before starting
    • notify-wallet now includes example on how to FTP a wallet backup
    • peek now dumps averages of "primemeter" stats.  This method provides much more accurate results than a single getmininginfo.  See an example here.
    • start-primecoind shouldn't kill itself anymore
  • 24 July, 2013
    • ./peek now shows confirmed/unconfirmed balance and pending "immature" transactions
    • ./config now reboots primecoind after config changes have been made
    • ./stop-primecoind now pauses after killing primecoind process to prevent running ./start-primecoind too early.  It will also force-kill primecoind if it's misbehaving.
    • When building primecoin, intermediate .tar.bz2 file is now removed
    • RPC username/password config removed.  They're not exactly "noob" features.
    • New Feature: run script when blockchain is updated or when wallet is updated.  By default it make a backup of wallet.dat whenever the wallet updates (usually from mining a block)
    • New Feature: whenever primecoind crashes, the time of crash is logged in ~/crash.log
  • 23 July, 2013
    • When updating primecoin, pull from SourceForge instead of bitbucket.

If you have any questions or comments, feel free to speak up.

What's the standard PPS to at least solve a block so that we don't need more power and to instead running multiple instances?

Twitter @iKcul
Best news agg: http://KculShare.com
XPM: AVmbdubJMrEDBgpvxaXGTqtdB8C2CRSk7f
AnhBen
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile WWW
December 28, 2013, 10:34:15 PM
 #49

Lots of minor tweaks!  Many small bugs quashed!
See main post for details.

I got better rate of PPS on Linode than the expensive DigitalOcean!

Twitter @iKcul
Best news agg: http://KculShare.com
XPM: AVmbdubJMrEDBgpvxaXGTqtdB8C2CRSk7f
tautvilis
Full Member
***
Offline Offline

Activity: 179
Merit: 100


View Profile
January 11, 2014, 10:02:17 PM
 #50

./myinfo doesnt work, it doesnt show anything
LiquidNitrogen
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
January 13, 2014, 07:15:30 PM
 #51

can anyone tell me how many primes/sec i should expect from each one of these services
Jazek
Full Member
***
Offline Offline

Activity: 243
Merit: 100


View Profile
January 14, 2014, 10:55:21 AM
 #52

./myinfo doesnt work for me too, and in DigitalOcean the primespersec that i get is 0-3 and the user usage is 46% i dont know wtf is going on, i followed your guide
AnhBen
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile WWW
January 17, 2014, 08:08:18 PM
 #53

Besides DO and Linode plus AWS EC2, what are other VPS that's affordable to mine XPM?

Twitter @iKcul
Best news agg: http://KculShare.com
XPM: AVmbdubJMrEDBgpvxaXGTqtdB8C2CRSk7f
LiquidNitrogen
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
January 17, 2014, 08:36:42 PM
 #54

is there any way to figure the current profitability of these services?
Billyboy402
Hero Member
*****
Offline Offline

Activity: 599
Merit: 500


View Profile
January 22, 2014, 03:41:49 AM
 #55

sorry for the noob questions but i have just forward you donation for your hard work

Is this scrip mining for a pool or solo miner  ( what pool ) ? beeeer.org

What is the command to see the current primes and working ?

When you close putty , will it keep mining?Huh
 like ( /etc/init.d/supervisor start ) from other mining on vps  http://techupdates.com/go/643377#

THIS ACCOUNT WAS HACK > SORRY FOR ANY ONE THAT HAS DEALT WITH THIS ACCOUNT.
BenAnh
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
March 11, 2014, 06:47:47 PM
 #56

How do you set it to send to your address/wallet automatically just in case a computer crashes or an instance gets terminated?
Pages: « 1 2 [3]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!