Pages:
Author

Topic: LINUX: wallet & miner in linux / cloud / raspberryPI (MANUALS, SCRIPTS) (Read 18612 times)

legendary
Activity: 2828
Merit: 5894
Meh.
Hello! Are you still active?

Any clue on how to start mining Verium? It's in wallet one click mining, so I'm not really sure on how to go about it.

I don't really understand linux so trying to learn it aswell.

Thanks!
hero member
Activity: 826
Merit: 1000
see my profile
temporary, provisional, tentative, interim...
# NEM
Linux Installation Manual
...


upgrading to newest NEM
incl. blockchain bootstrap download



Code:
apt-get update && apt-get upgrade
mv NEMpackage NEMpackage_0.6.25-BETA # old

nis-ncc-0.6.73
Code:
wget http://bob.nem.ninja/nis-ncc-0.6.73.zip
wget http://bob.nem.ninja/nis-ncc-0.6.73.zip.sig
gpg --recv-keys A46494A9
gpg --verify nis-ncc-0.6.73.zip.sig nis-ncc-0.6.73.zip
unzip nis-ncc-0.6.73.zip
mv package NEMpackage

blockchain
Code:
wget http://bob.nem.ninja/nis5_mainnet.h2.db.zip
wget http://bob.nem.ninja/nis5_mainnet.h2.db.zip.sig
gpg --verify nis5_mainnet.h2.db.zip.sig nis5_mainnet.h2.db.zip
unzip nis5_mainnet.h2.db.zip

mv nem/nis/data/nis5_mainnet.h2.db nem/nis/data/nis5_mainnet.h2.db_DELETE # old chain
mv nis5_mainnet.h2.db nem/nis/data/

rm nis-ncc-0.6.73.zip* nis5_mainnet.h2.db.zip*


start
Code:
cd NEMpackage
./nix.runMon.sh

iceweasel http://127.0.0.1:8989/

more info on the official site.

hero member
Activity: 826
Merit: 1000
see my profile
Hi
thanks for your questions.

> Hi, i would like to mine some mue and have some questions.
Best is probably if you ask in their MUE thread, and/or join their slack.


> I am NOT familiar with linux,
A good moment to learn that. You'll see, it will be easier than you think now. And VERY rewarding.
Get yourself a VPS for 5$ per month, and you can immediately start. All the infos here in this thread.
e.g. https://bitcointalksearch.org/topic/m.7169529

I am so happy that I made that step back then. It has been so useful, and in many respects, to have such a cheap, always on, virtual server.


> but i managed to get the palmd miner running,
congrats

> but it stopped my other minerd process
check all of their "nice levels" (NI)

Code:
top


>  and used 100%cpu.
Yes, the minerd will always use 100% cpu,
unless you use the free tool "cpulimit" (see below).


> I would like to know how i specify numbers of cores like in other minerds?
Not sure.

You can try to find the threads for the 'Neisklar', and the 'palmd' miners, and the 'uncle-bob' minerd forks - that were the ones that I described here how to install. Please post them here when you find them.

Does the "Neisklar quarkminer" behave the same?



> I would like to run2-3 cores at full speed without afecting my other mining processes.
Sounds as if you want to use 'cpulimit', to limit it to 60% - 70% of each cpu.

https://github.com/drakoin/LinuxWallet/blob/master/install-quarkminer-Neisklar.sh#L29
https://github.com/drakoin/LinuxWallet/blob/master/mueminerstart.sh#L52


I dimly remember that multicore cpu percentage is multiplied, so 4 cores max = 400%.
But you better do some research about that. My VPS is single-core.


>  This is a dedicated mining rigg with 4x xeon e5-4640 cpus.
Sounds like a powerful machine.

> 50% should mine xmg, some should mine mue
> and last should mine global boost or such.
As far as I understand it, if you run all minerd with the same "nicelevel" (look that up), the CPU time should be distributed evenly.

Additionally, you can limit per process ID (PID, look that up) ... using the suggested 'cpulimit'.



> Thank you in advance for your time, regards
Happy to help.

Here are several scripts: https://github.com/drakoin/LinuxWallet


If this ever works out for you, here is my donation address:
https://bitcointalk.org/index.php?action=profile


Enjoy

:-)
hero member
Activity: 826
Merit: 1000
see my profile
# COV2 - covend
# linux compilation instructions v7.0

# Thx to CV2 for the rebirth, and the simpler libdb++-dev installation, and to Schernikau for the secp256k1 help!
# this manual is copy-paste-able, that's what all the # are for, to mark them as comments

# Step 1: buy your cheap virtual server
# Using my link you should get 10 dollars welcome bonus.

# your wallet in the cloud - compile and install from github sources
# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 5$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur UK DE
# Quickstart described above in posting #38; longer manual is linked from there.


# Step 2: prepare the server

# dependencies
apt-get update -y
apt-get install sudo unzip nano git make automake build-essential libboost-all-dev libssl-dev libdb++-dev -y

# swap file, so compilation also works on small droplets
sudo dd if=/dev/zero of=/swap bs=50M count=16
chmod 0600 /swap
sudo mkswap /swap
sudo swapon /swap

# secp256k1 (Optimized C library for EC operations on curve secp256k1), use older version a1d5ae1
git clone http://www.github.com/bitcoin/secp256k1
cd secp256k1
git checkout a1d5ae1
./autogen.sh
./configure
make
make install
cd ..

# tell Debian how to find those libraries:
export LD_LIBRARY_PATH=/usr/local/lib


# Step 3: compile & configure covend
# Wallet sources from github, and build the headless server daemon "covend"

git clone https://github.com/covencoin2/coven2
cd coven2/src

# fix problems in the sourcepackage
mkdir obj/crypto                                    
cd leveldb
chmod 755 build_detect_platform
make libleveldb.a libmemenv.a
cd ..

# compile
# takes many minutes (contact me if there are errors)

make -f makefile.unix USE_UPNP=-

# copy binary to the other binaries, change directory to home
sudo cp covend /usr/local/bin          
cd ~

# create config file - copy-paste all in one go.
mkdir ~/.coven2
cat << "CONFIG" >> ~/.coven2/coven.conf
listen=1
server=1
daemon=1
testnet=0
rpcuser=LOCALUSER
rpcpassword=VERYSECURESUPERLONGSUPERSAFEPASSWORD
CONFIG
# only this user can see password, and folder with wallet.dat
chmod 700 ~/.coven2/coven.conf
chmod 700 ~/.coven2
ls -la ~/.coven2

# Make sure to change your password.
nano ~/.coven2/coven.conf

# (CTRL-X Y to save file and end nano editor)


# Step 4: sync the blockchain

# start server
# Should result in "Coven server starting":
covend
covend getinfo # repeat this, until you see it has fully synced

# if the blockchain syncing gets stuck, stop and restart:
covend stop
covend

# if you cannot sync at all, choose a seednode manually:
covend stop
killall covend
covend -seednode=ONE.OF.THE.ADDNODES


# Step 5: usage of covend

# see if the blockchain is synced ("blocks"), and connected to which peers
covend getinfo
covend getpeerinfo  

# most important RPC commands (try them one by one, no danger)
covend getbalance
covend getnewaddress forDonations

covend listtransactions forDonations

covend listreceivedbyaddress 0 true
covend listreceivedbyaddress

covend listaccounts
covend getaddressesbyaccount forDonations
covend getaddressesbyaccount ""

covend validateaddress CcsbswP4493EifxDK4zPDzc3kDGBV8RCA8

covend listunspent

# encrypt wallet - needed for staking!
# Do this with your full attention switched ON. Focus!
# Write passphrase on a piece of paper! Store that paper well:
covend encryptwallet ALONGBUTEASYTOREMEMBERPASSPHRASE
covend

# then to later unlock it for 10 minutes, use this command:
covend walletpassphrase ALONGBUTEASYTOREMEMBERPASSPHRASE 600


# for more RPC commands (explanations in the API calls list, and in more depth in the developer-reference)

covend help
covend help signmessage

# if this tutorial was useful, tip me some coven ( OR write on a PostIt(tm): "Tip drakoin some coins"  Wink )
# to my coven address CcsbswP4493EifxDK4zPDzc3kDGBV8RCA8 by using this command

# send money (from unlocked wallet)
covend sendtoaddress CcsbswP4493EifxDK4zPDzc3kDGBV8RCA8 20 ThanksToDrakoin ThanksForTutorial

# or tip me now in BTC 1EyyjBMMHjMfx6M3Ngu4sn5M4QJ6HAtWFG or other currencies at www.tiny.cc/drakointip,
# or pass on profitable hints to me (read www.tiny.cc/drakoinhints)


# stop the server:
covend stop

# if it is still running:
ps ux | grep covend
# ... then kill it the hard way:
killall covend

# tip me!
#
hero member
Activity: 826
Merit: 1000
see my profile
What is the proper way in (debian) Linux to get the above (start the wallet, enable staking) all done automatically at boot time? Who can help me with that? Thanks!
hero member
Activity: 826
Merit: 1000
see my profile
Staking

See the above posting for how to create your own 24/7 staking node.

Quote
Code:
walletpassphrase   [stakingonly]
Stores the wallet decryption key in memory for seconds.
if [stakingonly] is true sending functions are disabled.

So:

# It has to be encrypted first (necessary only once in the lifetime of this wallet)
Covend encryptwallet ALONGBUTEASYTOREMEMBERPASSPHRASE

# and restarted
Covend

# then unlocked with stakingonly=true, let us say ... for more than 24 hours (60*60*24=86400)
Covend walletpassphrase ALONGBUTEASYTOREMEMBERPASSPHRASE 100000 true

# if you want to lock it before the 100000 seconds are over
Covend walletlock

# getstakinginfo
Covend getstakinginfo


This is how I understand it. Please help if it is not true, or complete.

I offer to leave this wallet running, so there is a staking node. To improve the network.
If you want to increase the Stake Weight of this node, send some COV coins there. Every bit helps.

COV address of this 24/7 staking node: CQfH2dwUcGXcxvfxU2nqoqGC4qcbSipvRX
hero member
Activity: 826
Merit: 1000
see my profile
# Covend- your wallet in the cloud - new manual
# manual v6.42 Covend 22/5/2015
# this manual is copy-paste-able, that's what all the # are for, to mark them as comments

# Step 1: buy your cheap virtual server
# Using my link you should get 10 dollars welcome bonus.

# your wallet in the cloud - compile and install from github sources
# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 5$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur UK
# Quickstart described above in posting #38; longer manual is linked from there.

# Step 2: prepare the server
# Described above in posting #31 until this line:
#
# (SERVER IS PREPARED. FROM HERE ON YOU CAN INSTALL OTHER WALLETS)
#

# Step 3: compile & configure covend

# where to find db4.8 tell your system  (needs to be redone after reboot)
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"


# Wallet sources from github, and build the headless server daemon "covend"

# clone from bitbucket
# change directory to sourcecodefolder
git clone https://bitbucket.org/CovCOVEN/coven  
cd coven/src                        

# compile (takes many minutes, contact me if there are errors)
make -f makefile.unix USE_UPNP=-  

# copy binary to the other binaries, change directory to home
sudo cp Covend /usr/local/bin          
cd ~


# create config file - copy-paste all in one go.
mkdir ~/.Coven
cat << "CONFIG" >> ~/.Coven/Coven.conf
listen=1
server=1
daemon=1
testnet=0
rpcuser=LOCALUSER
rpcpassword=VERYSECURESUPERLONGSUPERSAFEPASSWORD
CONFIG
# only this user can see password, and folder with wallet.dat
chmod 700 ~/.Coven/Coven.conf
chmod 700 ~/.Coven
ls -la ~/.Coven

# Make sure to change your password.
nano ~/.Coven/Coven.conf

# (CTRL-X Y to save file and end nano editor)


# Step 4: usage of covend

# start server
# Should result in "Coven server starting":
Covend

# for some reason the blockchain stopped at 1400, so I stopped and restarted, now all is fine:
Covend stop
Covend

# Most important RPC commands:

# see if the blockchain is syncing (right now "blocks" : 2247), and connected to which peers
Covend getinfo
Covend getpeerinfo  

# most important RPC commands (try them one by one, no danger)
Covend getbalance
Covend getnewaddress forDonations

Covend listtransactions forDonations

Covend listreceivedbyaddress 0 true
Covend listreceivedbyaddress
Covend listreceivedbyaccount 0 true
Covend listreceivedbyaccount

Covend listaccounts
Covend getaddressesbyaccount forDonations
Covend getaddressesbyaccount ""

Covend validateaddress CfVTVDxKQQgKAcCn8u2B1n3Ph4afneL8n4

Covend listunspent

# Do this with your full attention switched ON. Focus!
# Write it on a piece of paper! Store that paper well:
Covend encryptwallet ALONGBUTEASYTOREMEMBERPASSPHRASE

# then to later unlock it for 2 minutes, use this command:
Covend walletpassphrase ALONGBUTEASYTOREMEMBERPASSPHRASE 120


# for more RPC commands (explanations in the API calls list, and in more depth in the developer-reference)

Covend help
Covend help signmessage

# if this tutorial was useful, tip me some coven ( OR write on a PostIt(tm): "Tip drakoin some coins"  Wink )
# to my coven address CfVTVDxKQQgKAcCn8u2B1n3Ph4afneL8n4 by using this command:
Covend sendtoaddress CfVTVDxKQQgKAcCn8u2B1n3Ph4afneL8n4 5 ThanksToDrakoin ThanksForTutorial

# or tip me now in other currencies at www.tiny.cc/drakointip,
# or pass on profitable hints to me (read www.tiny.cc/drakoinhints)


# stop the server:
Covend stop

# if it is still running:
ps ux | grep Covend
# ... then kill it the hard way:
killall Covend

# tip me!
#
legendary
Activity: 1232
Merit: 1001
mining is so 2012-2013
here is a simplified guide for getting NEM going on Ubuntu.

http://blog.nem.io/ubuntu-installation-guide-standalone/
hero member
Activity: 826
Merit: 1000
see my profile
temporary, provisional, tentative, interim...

# NEM
Linux Installation Manual

# Java 8: (is there a shorter way than this for debian installation of java8 ?)

# debian:
su -
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer screen -y
# switch the standard java to java 8:
sudo update-java-alternatives -s java-8-oracle
exit

# open question: How to automatically say yes to java license, without interaction necessary?




# download and verify Nix and Ncc:

wget http://bob.nem.ninja/nis-ncc-0.6.25.zip
wget http://bob.nem.ninja/nis-ncc-0.6.25.zip.sig

# open question: How to script an exit if signature is NOT fine?
gpg --recv-keys A46494A9
gpg --verify nis-ncc-0.6.25.zip.sig nis-ncc-0.6.25.zip


# unpack, and delete the zip
unzip nis-ncc-0.6.25.zip
rm nis-ncc-0.6.25.zip
cd package


screen -S Nis ./nix.runNis.sh
# (crtl-A D) for leaving that Nis screen

screen -S Ncc ./nix.runNcc.sh
# (crtl-A D) for leaving that Ncc screen



# to check what is going on:
ps aux | grep java
screen -ls
screen -r Nis
screen -r Ncc

# open browser and point to http://localhost:8989

Please do not forget to donate to me, drakoin, for this manual:  
NAVKYJ-ESROJR-R75TNT-VU6LTX-24RPYZ-5IQP7G-2HJS  
Thanks!

hero member
Activity: 826
Merit: 1000
see my profile
# COINNAMEd - your wallet in the cloud - new manual
# manual v6.38 = 13/Mar/2015 --> 1/4/2015 COINNAMED

Step 1: buy your cheap virtual server
Using my link you should get 10 dollars welcome bonus.

# your wallet in the cloud - compile and install from github sources
# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 5$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur UK
Quickstart described above in posting #38; longer manual is linked from there.


Step 2: prepare the server
Described above in posting #31 until this line:
#
# (SERVER IS PREPARED. FROM HERE ON YOU CAN INSTALL OTHER WALLETS)
#

Step 3: compile & configure COINNAMEd

# where to find db4.8 tell your system  (needs to be redone after reboot)
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"


# Wallet sources from github, and build the headless server daemon "COINNAMEd" (takes 7 minutes)

git clone https://github.com/iGotSpots/COINNAME  #clone from github

cd COINNAME/COINNAME/src                        #  change directory to sourcecodefolder
mkdir obj                                         # repair missing folder

make -f makefile.unix USE_UPNP=-   # compile (takes many minutes, contact me if there are errors)

sudo cp COINNAMEd /usr/local/bin           # copy binary to the other binaries
cd ~                                                # change directory to home


# create config file - copy-paste all in one go.
# Make sure to change your password.

mkdir ~/.COINNAME
cat << "CONFIG" >> ~/.COINNAME/COINNAME.conf
listen=1
server=1
daemon=1
testnet=0
rpcuser=LOCALUSER
rpcpassword=VERYSECURESUPERLONGSUPERSAFEPASSWORD
CONFIG
chmod 700 ~/.COINNAME/COINNAME.conf          # only this user can see password
chmod 700 ~/.COINNAME                            # only this user can see folder with wallet.dat
ls -la ~/.COINNAME


Step 4: usage of COINNAMEd

# start server
# Should result in "Monetaryunit server starting":
COINNAMEd

# Most important RPC commands:

# see if the blockchain is syncing (right now "blocks" : 69322)
COINNAMEd getinfo
  
# most important RPC commands (try them one by one, no danger)
COINNAMEd getbalance
COINNAMEd getnewaddress forDonations

COINNAMEd listtransactions forDonations
COINNAMEd listreceivedbyaddress 0 true

COINNAMEd listaccounts
COINNAMEd getaddressesbyaccount forDonations
COINNAMEd getaddressesbyaccount ""

# for more RPC commands (explanations in the API calls list)
COINNAMEd help


# if this tutorial was useful, tip me some COINNAME ( OR write on a PostIt(tm): "Tip drakoin some coins" Smiley )
# to my COINNAME address EtyfVMRR7TCbdqCe69K2k9zzBmiHjkMtZq by using this command:
COINNAMEd sendtoaddress EtyfVMRR7TCbdqCe69K2k9zzBmiHjkMtZq 1111 ThanksToDrakoin ThanksForTutorial

# or tip me now in other currencies at www.tiny.cc/drakointip,
# or pass on profitable hints to me (read www.tiny.cc/drakoinhints)


# stop the server:
COINNAMEd stop

# if it is still running:
ps ux | grep COINNAMEd
# ... then kill it the hard way:
killall COINNAMEd

# tip me!
#
hero member
Activity: 826
Merit: 1000
see my profile
CPU mining x13 on linux?

(N.B.: If you read this, and want to try it, but do not have Linux installed, just get a cheap VPS server for 5$/month.)

minerd --help
...

  -a, --algo=ALGO       specify the algorithm to use
                          scrypt    scrypt(1024, 1, 1) (default)
                          sha256d   SHA-256d
                          quark     Quarkcoin
...

So this "Neisklar-miner" supports only the ALGOs (scrypt, sha256d, quark).  Find one (in the forums, see above) which also supports x13.


Or -just to learn it- start mining MUE:

Code:
wget https://raw.githubusercontent.com/drakoin/LinuxWallet/master/mueminerstart.sh
chmod a+x mueminerstart.sh; ./mueminerstart.sh

of course, you then will want to change the wallet address that the money will end up in ;-)

Code:
nano ./mueminerstart.sh

Change line 10 ("POOLUSERNAME"), then press Ctrl-X Y to save and exit, and start the script again:

Code:
sudo killall minerd
./mueminerstart.sh

You can leave the screen by Ctrl-A D, and log out, or continue with other work.

To check the status, there are several ways:
  • ps aux | grep minerd
  • screen -r miner
  • top

Good?

Reward me
[MUE] 7JgWrpXtM67o4uWk7XVnMACMiTBZGGjjoF or
BTC 1M2zGd4LJTpt8fcsBTexFPQSq4gdYYHdA9 or
sign up for your own VPS www.tiny.cc/digocean
- thanks!
hero member
Activity: 826
Merit: 1000
see my profile
Get your own VPS server
The very basics, excessively detailed. You can do it!
12 steps ... take less than 12 minutes:
1) Sign up at www.tiny.cc/digocean - thank you for clickthrough  Wink

[...details above...]

...


Get your own VPS server,
already starting at 5$ / month,
that is only 0.25 BTC / year.


And you can do fabulous things with it  Smiley Cloudmining, Wallets,
Linux learning, your own webserver, your private cloud ... anything.


When you go through my link, you will probably still get a 10$ welcome bonus!

--> www.tiny.cc/digocean

Thx.

Mue
sr. member
Activity: 476
Merit: 250
MonetaryUnit. For Me,yoU,Everybody.
hero member
Activity: 826
Merit: 1000
see my profile
# P.S.: IF you are updating from an older version of MUE:
monetaryunitd stop

# it's always a good idea to backup the wallet.dat file (which holds your private keys!):
cd ~
cp .monetaryunit/wallet.dat .monetaryunit/wallet.dat.backup

# and you might want to delete, or at least rename the old files'n'folders:
mv MUE MUE-2014
sudo mv /usr/local/bin/monetaryunitd /usr/local/bin/monetaryunitd-2014

# and remove the old quickinstaller scripts (so that the above wget works like default)
rm walletSystemPrep.sh
rm walletInstallMUE.sh

# and, after the new compilation, simply edit out possibly duplicate lines from the .conf file:
nano ~/.monetaryunit/monetaryunit.conf
hero member
Activity: 826
Merit: 1000
see my profile
Mue
sr. member
Activity: 476
Merit: 250
MonetaryUnit. For Me,yoU,Everybody.
Hey drakoin, small update on this please as we have changed the source path.
It is now https://github.com/MonetaryUnit/MUE-Src
Thanks! Smiley

# monetaryunitd - your wallet in the cloud - new manual
# manual v5.2
...
hero member
Activity: 826
Merit: 1000
see my profile


Quarkminer Install for MUE monetaryunit
Scripts to install and run a quarkcpuminer on muepool.com

INSTALL Neisklar quarkminer - works on most linux systems, including raspberryPi
Code:
wget https://raw.githubusercontent.com/drakoin/LinuxWallet/master/install-quarkminer-Neisklar.sh
chmod a+x install-quarkminer-Neisklar.sh; ./install-quarkminer-Neisklar.sh

RUN mueminer, comfortably in its own screen (so that you can log off, and later get back to it)
Code:
wget https://raw.githubusercontent.com/drakoin/LinuxWallet/master/mueminerstart.sh
chmod a+x mueminerstart.sh; ./mueminerstart.sh

That's it. Easy. Please give me feedback about this. Thanks.
If something doesn't work, please work line by line through the scripts (click on the links above) to find the line which causes an error. Thanks.

Of course, you want to change the POOLUSERNAME= to your own MUE address  Wink
Code:
nano mueminerstart.sh
Ctrl-X Y to save & exit nano


---

Faster?

I found forks of the Neisklar miner, namely by uncle-bob, and palmd. Both are utilizing sse2 which unfortunately isn't supported on RaspberryPi's CPU - but they do work on Cloud-VPS.
When run with cpulimit 50% on the smallest DigitalOcean-droplet ( http://tiny.cc/digocean for 10$ welcome bonus, thanks for clickthrough ... for my manual scroll up) ... I get these approximate results:

Neisklar   21.3   khash/s
uncle-bob   41.6   khash/s
palmd   42.3   khash/s


If you want to try them yourself, I made scripts for you:

INSTALL palmd quarkminer
Code:
wget https://raw.githubusercontent.com/drakoin/LinuxWallet/master/install-quarkminer-palmd.sh
chmod a+x install-quarkminer-palmd.sh; ./install-quarkminer-palmd.sh
whereis minerd  # in my case /usr/local/bin/minerd --> that's why:
sudo cp /usr/local/bin/minerd /usr/local/bin/minerd.palmd # make a copy then you can switch between all three forks

INSTALL uncle-bob quarkminer
Code:
wget https://raw.githubusercontent.com/drakoin/LinuxWallet/master/install-quarkminer-uncle-bob.sh
chmod a+x install-quarkminer-uncle-bob.sh; ./install-quarkminer-uncle-bob.sh
whereis minerd   # in my case /usr/local/bin/minerd --> that's why:
sudo cp /usr/local/bin/minerd /usr/local/bin/minerd.uncle-bob # make a copy then you can switch between all three forks


EDIT: palmd and uncle-bob actually result in identical binaries:
Code:
diff  /usr/local/bin/minerd.palmd  /usr/local/bin/minerd.uncle-bob -s
# Files /usr/local/bin/minerd.palmd and /usr/local/bin/minerd.uncle-bob are identical


Do you know of any other quarkminers that are worthwhile trying?
Do you have any suggestions what to improve in my scripts?
Do you have a job for me?

 Cheesy

Reward me [MUE] 7JgWrpXtM67o4uWk7XVnMACMiTBZGGjjoF - thanks!
hero member
Activity: 826
Merit: 1000
see my profile
edit: v6.32 = 2015 February 11th
# Simpler MUE linux wallet install:
# I have made two scripts of the above, to simplify the whole process.

# STEP 1: http://tiny.cc/digocean then CREATE YOUR DROPLET AT DIGITALOCEAN
# Details are above, but these are the essentials:

# monetaryunitd - your wallet in the cloud - new manual
# manual v5.2

# ... on the smallest Digital Ocean 5$ droplet (0.5GB RAM) ! [...]
# Sign up at digital ocean http://tiny.cc/digocean NL USA Singapur - for my manual scroll up

# Create droplet: Choose hostname e.g. 'myLinux01'; 512MB; Region close to you; "Debian 7.0 x64".
# Wait for the email with the root password. To connect use ssh / putty.exe (data... auto-login: root)

# change password (at digitalocean now automatic when logging in for the first time)
# passwd


EDIT: NEW VERSION v6.32 -->

# STEP 2: PREPARE SYSTEM (5 min) and MUE-WALLET (6 min):
These two scripts contain all the steps:
Code:
wget https://raw.githubusercontent.com/drakoin/LinuxWallet/master/walletSystemPrep.sh
chmod a+x walletSystemPrep.sh; ./walletSystemPrep.sh  # make executable, and run System Preparation

wget https://raw.githubusercontent.com/drakoin/LinuxWallet/master/walletInstallMUE.sh
chmod a+x walletInstallMUE.sh; ./walletInstallMUE.sh    # make executable, and run MUE Wallet Install

# STEP 3:  Try out the RPC COMMANDS to CONTROL THE WALLET
# ... in the above posting  #31 www.tiny.cc/linuxMUE  scroll to the bottom third, for instructions.

# Enjoy :-)

# P.S.: About updating from an older version: https://bitcointalksearch.org/topic/m.10426300
hero member
Activity: 826
Merit: 1000
see my profile
# monetaryunitd - your wallet in the cloud - new manual
# manual v5.31 = 11/Feb/2015 (EDIT: SCRIPTED VERSION OF THIS IS BELOW)

# complete instructions how to compile monetaryunitd from github sources
# which was forked from ?, like a lot of other altcoins. So this manual should work for many other coins, too.

# I succeeded with this on Ubuntu 12.04 and Debian 7.0 x64.
# With swapfile, it will work even on the smallest Digital Ocean 5$ droplet (0.5GB RAM) !
# What?  "droplet"?  Your own server for 5$ per month!
# A cheap linux virtual server (VPS) in the cloud, created in 55seconds
# Sign up at digital ocean http://tiny.cc/digocean NL USA Singapur - for my manual scroll up
# You probably get 10$ welcome bonus if you go through my link before signing up.


# Create droplet: Choose 512MB; Region close to you; "Debian 7.0 x64".
# Wait for the email with the root password.
# To connect use ssh / putty.exe (data... auto-login: root)

# change password (at digitalocean now automatic when logging in for the first time)
# passwd

# become superuser
sudo -i

# update all software (all the installed packages)
apt-get update; apt-get upgrade

# prep the system to be able to git & compile & build
apt-get install git make automake build-essential libboost-all-dev

# might be necessary for other tools & distros (for this wallet on Debian 7 it is not):
# apt-get install yasm binutils libcurl4-openssl-dev openssl libssl-dev

# compiling needs a large SWAP file:
sudo dd if=/dev/zero of=/swapfile bs=80M count=16
sudo mkswap /swapfile; sudo swapon /swapfile


# For some reason, bitcoind is stuck in an old database version db4.8,
# which is not supported by newest ubuntu / debian anymore, so we get it manually:

# Get db4.8 source, compile and install (takes 5 minutes)
cd ~
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
tar zxf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix; ../dist/configure --enable-cxx
make; sudo make install
rm -R ~/db-4.8.30.NC*   # delete the sources

# Link the libraries
sudo ln -s /usr/local/BerkeleyDB.4.8/lib/libdb-4.8.so /usr/lib/libdb-4.8.so
sudo ln -s /usr/local/BerkeleyDB.4.8/lib/libdb_cxx-4.8.so /usr/lib/libdb_cxx-4.8.so

#
# (SERVER IS PREPARED. FROM HERE ON YOU CAN INSTALL OTHER WALLETS)
#



# where to find db4.8 tell your system  (needs to be redone after reboot)
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"


# Wallet sources from github, and
# build the headless server daemon "monetaryunitd" (takes 7 minutes)

 cd ~; git clone https://github.com/MonetaryUnit/MUE-Src

cd ~/MUE/src
mkdir obj; chmod a+x leveldb/build_detect_platform # fix 2 problems with these sources
make -f makefile.unix USE_UPNP=-
cp ~/MUE/src/monetaryunitd /usr/local/bin



# create config file - copy-paste all in one go. Make sure to change your password.

cd ~
mkdir ~/.monetaryunit
cat << "CONFIG" >> ~/.monetaryunit/monetaryunit.conf
listen=1
server=1
daemon=1
testnet=0
rpcuser=LOCALUSER
rpcpassword=VERYSECURESUPERLONGSUPERSAFEPASSWORD
rpcport=29947
CONFIG
chmod 700 ~/.monetaryunit/monetaryunit.conf
chmod 700 ~/.monetaryunit
ls -la ~/.monetaryunit


# start server
# Should result in: "Monetaryunit server starting":

monetaryunitd


# Most important RPC commands:

# see if the blockchain is syncing (right now "blocks" : 142874)
monetaryunitd getinfo
  
# most important RPC commands (try them one by one, no danger)
monetaryunitd getbalance
monetaryunitd getnewaddress forDonations

monetaryunitd listtransactions forDonations
monetaryunitd listreceivedbyaddress 0 true

monetaryunitd listaccounts
monetaryunitd getaddressesbyaccount forDonations
monetaryunitd getaddressesbyaccount ""

# for more RPC commands (explanations in the API calls list)
monetaryunitd help


# if this tutorial was useful, tip me some MUE ( OR write on a PostIt(tm): "Tip drakoin some coins" Smiley )
# to my MUE address 7E5tkMCg1VjGwVXVr8SDb5DPCaZ6DkzSHa by using this command:
monetaryunitd sendtoaddress 7E5tkMCg1VjGwVXVr8SDb5DPCaZ6DkzSHa 111111 ThanksToDrakoin ThanksForTutorial

# or please tip me now in other currencies at www.tiny.cc/drakointip,
# or pass on profitable hints to me (read www.tiny.cc/drakoinhints)


# stop the server:
monetaryunitd stop

# if it is still running:
ps ux | grep monetaryunitd
# ... then kill it the hard way:
killall monetaryunitd

# tip me!
#

# P.S.: About updating from an older version: https://bitcointalksearch.org/topic/m.10426300
hero member
Activity: 826
Merit: 1000
see my profile
these offers are eveywhere, and you still have to pay 5 dollars to get started.
Thanks. I didn't know that - because myself, I did start with paying, and didn't find that odd :-)
But 5$ is really not much. And imagine, besides whatever you do, you can run a tornode on it, and help the world.

Gonna try you ref link after my vps month is over,
Thanks, yes please do that. If you already have a D.O. account, you might need to log out, and start all over with a new email address, after clicking on my referral link, and that way help yourself to that 10$ welcome package.

i have a question, i have install a pool on my VPS but how do i install another one on it?
not sure that I understand you.

Have you installed a WALLET to your VPS (like my manuals above),
or actually POOL-SOFTWARE (like mpos or p2pool) ?  I have no clue about poolsoftware.

But I guess pools can operate on one server with many different coins in parallel, just by using a different PORTNUMBER for each coin, right?

other coin differnt algo, can you tell how to make a subdomain if i have to on my server or different folder, i need the commands thanks...
I have no domainnames for my D.O. droplets, just using the IP addresses, sorry cannot help, I guess.

About domainnames, I suggest you ask https://cloud.digitalocean.com/support - they are great!
Pages:
Jump to:
© 2020, Bitcointalksearch.org