Bitcoin Forum
May 08, 2024, 11:54:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: LINUX: wallet & miner in linux / cloud / raspberryPI (MANUALS, SCRIPTS)  (Read 18612 times)
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
March 23, 2014, 08:42:04 PM
Last edit: April 03, 2014, 02:28:42 AM by drakoin
 #21

This was the first launch H20 coin. Don't know yet what applies to the relaunch version.


# h2o coin

# 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

# You can build your H2Od wallet on that server.

# h20 coin is a bit special :-) and first caused some errors,
# thanks a lot to mmouse for the help during the chaotic start.
# Hopefully all problems are solved here with this manual.

# To understand, what the following commands are doing
# read the first posting #1,
# and the newest posting with explanation #16

# If your server is brand new, you need to prep it for compilation & building,
# just do everything in posting #1 until "get the wallet source", then continue here.

export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"
cd ~

git clone https://github.com/CoinDev-io/H2O
cd H2O/src

# this is to avoid compile errors (h2o dev: when fixed it in your source code, PM me please):
mkdir obj
chmod a+x leveldb/build_detect_platform

nano makefile.unix

#add the lines (h2o dev please fix it in your source code)
USE_UPNP:=-
USE_IPV6:=0
# then press Ctrl-x y enter  # to save and leave nano

make -f makefile.unix  # will take a long time, go for lunch :-)
cp H2Od ..

cd ~
mkdir ~/.H2O

# this conf file is temporary, and make sure to change your password
# (h2o dev please publish / put long term reliable addnodes into the sources):
cat << "CONFIG" >> ~/.H2O/H2O.conf
rpcuser=LOCALUSER
rpcpassword=VERYSECURESUPERLONGSUPERSAFEPASSWORD
rpcport=9911
addnode=94.23.196.92
addnode=148.251.12.124
addnode=69.197.137.58
addnode=188.165.236.213
addnode=94.23.196.92
addnode=194.97.156.59
addnode=98.126.190.28
addnode=94.22.41.45
addnode=46.40.98.211
CONFIG

~/H2O/H2Od &
~/H2O/H2Od getnewaddress forDonations

# for more RPC commands, see above, postings #1 or #16

# if this tutorial was useful to you, please tip me h2o coins (i.e.: remember to come back and tip me some h2o coins :-) )
~/H2O/H2Od sendtoaddress HX3mFEbaFNAyUpWuidM2MiSmuB3AX9hkf3 1000 ThanksToDrakoinForHisTutorial ThanksToDrakoinForHisTutorial

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

no sign of a signature
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715212477
Hero Member
*
Offline Offline

Posts: 1715212477

View Profile Personal Message (Offline)

Ignore
1715212477
Reply with quote  #2

1715212477
Report to moderator
1715212477
Hero Member
*
Offline Offline

Posts: 1715212477

View Profile Personal Message (Offline)

Ignore
1715212477
Reply with quote  #2

1715212477
Report to moderator
1715212477
Hero Member
*
Offline Offline

Posts: 1715212477

View Profile Personal Message (Offline)

Ignore
1715212477
Reply with quote  #2

1715212477
Report to moderator
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
April 03, 2014, 02:26:27 AM
 #22

Here is a strong opinion about not putting wallets onto VPS, and good reasons:

https://bitcointalk.org/index.php?topic=421615.msg6043485#msg6043485

What I take from it is to keep no large balances on not self-owned computers.


no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
April 03, 2014, 08:33:36 AM
Last edit: April 03, 2014, 09:13:48 AM by drakoin
 #23

# Groestl coind

# 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

# You can build your GroestlCoind wallet on that server.

# Complete copy paste is possible. A bit more info what this does is in the
# first posting #1, and the recent posting with explanations #16.

# If your server is brand new, you need to prep it for compilation & building,
# just do everything in posting #1 until "get the wallet source", then continue here.




# for some reason compiling this needs a larger SWAP FILE:
sudo dd if=/dev/zero of=/swapfile bs=80M count=16
sudo mkswap /swapfile
sudo swapon /swapfile

# set the path to the db4.8
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"

# download sources from github
cd ~
git clone https://github.com/GroestlCoin/GroestlCoin
cd GroestlCoin/src

# this is to avoid compile errors (dev: when fixed it in your source code, PM me please):
chmod a+x leveldb/build_detect_platform

# compile (takes a looooong time)
make -f makefile.unix USE_UPNP=-
cp GroestlCoind ..

cd ~
mkdir ~/.GroestlCoin

# create config file - copy all in one go. Make sure to change your password
cat << "CONFIG" >> ~/.GroestlCoin/GroestlCoin.conf
listen=1
server=1
rpcuser=LOCALUSER
rpcpassword=VERYSECURESUPERLONGSUPERSAFEPASSWORD
rpcport=1441
addnode=37.187.129.122
addnode=62.210.162.235
addnode=88.167.215.32
addnode=69.197.137.58
addnode=103.16.218.165
addnode=84.98.85.30
addnode=76.16.120.82
addnode=62.210.123.27
addnode=117.13.253.241
CONFIG
ls ~/.GroestlCoin


# start server
~/GroestlCoin/GroestlCoind &  

# most important RPC commands
~/GroestlCoin/GroestlCoind getnewaddress forDonations
~/GroestlCoin/GroestlCoind listreceivedbyaddress 0 true
~/GroestlCoin/GroestlCoind getbalance

# for more RPC commands, see above, postings #1 or #16, and the API calls list

# if this tutorial was useful to you, please tip me Groestlcoins ( = remember to come back and tip me some  coins :-) )
~/GroestlCoin/GroestlCoind sendtoaddress FstNLSjkh4xJjoiCRd24hw8tKoun8pFrux 200 ThanksToDrakoin ThanksForTutorial

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

no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
April 09, 2014, 05:23:27 PM
Last edit: April 09, 2014, 05:37:56 PM by drakoin
 #24

Heartbleed (CVE-2014-0160) infos  - incomplete:

after upgrading your droplet to newest versions by:
Code:
sudo apt-get update; sudo apt-get dist-upgrade

you should reboot:
Code:
sudo shutdown -r now

and then check if you have a safe version of openssl
Code:
dpkg -l | grep "openssl"
for example "1.0.1e-2+deb7u6" is patched.


Then I guess, all wallets need to be recompiled, using the above instructions?

no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
June 05, 2014, 04:42:32 PM
Last edit: November 15, 2014, 07:47:17 PM by drakoin
 #25

# W2Coind - your wallet in the cloud - new manual
# manual version v5.0

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

# I succeeded with this on Ubuntu 12.04 and Debian 7.0 x64.

# With swap, 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
# with code SSD2014 you might get 10$ welcome bonus.


# 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, become superuser
passwd
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 update; 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 "w2coind" (takes 7 minutes)
cd ~; git clone https://github.com/W2Coin/W2Coin-Src-Linux
cd ~/W2Coin-Src-Linux/src
chmod a+x leveldb/build_detect_platform
make -f makefile.unix USE_UPNP=-
cp ~/W2Coin-Src-Linux/src/W2Coind /usr/local/bin


# create config file - copy all in one go. Make sure to change your password.
# unfortunately, the W2Coin dev made a bad choice by removing the default paths, but the following repairs that:

cd ~
mkdir ~/.W2Coin
cat << "CONFIG" >> ~/.W2Coin/W2Coin.conf
listen=1
server=1
rpcuser=LOCALUSER
rpcpassword=VERYSECURESUPERLONGSUPERSAFEPASSWORD
rpcport=21500
addnode=107.170.132.129
addnode=107.170.1.236
addnode=207.244.75.131
daemon=1
server=1
listen=1
testnet=0
CONFIG
chmod 700 ~/.W2Coin/W2Coin.conf
chmod 700 ~/.W2Coin
ls -la ~/.W2Coin

# always redirect client to the correct directory ~/.W2Coin
alias W2C='W2Coind -datadir=/root/.W2Coin'

# start server (press enter after 'W2Coin server starting')
W2C &

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

W2C listtransactions forDonations
W2C listreceivedbyaddress 0 true

W2C listaccounts
W2C getaddressesbyaccount forDonations
W2C getaddressesbyaccount ""

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

# if this tutorial was useful, tip me some W2Coins ( OR write on a PostIt(tm): "Tip drakoin some coins" :-) )
# to my W2Coin address Wm77JzTxsr9YHchq75xMbhQRXCDAXpJ4EV by using this command:
W2C sendtoaddress Wm77JzTxsr9YHchq75xMbhQRXCDAXpJ4EV 500 ThanksToDrakoin ThanksForTutorial

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


# stop the server:
W2C stop

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

# tip me!
#

no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
June 06, 2014, 05:53:37 PM
Last edit: July 03, 2015, 02:37:20 PM by drakoin
 #26

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
2) Going through my link, you should get 10$ welcome bonus? Please tell me.
3) Perhaps there is a confirmation email? Forgotten. Login, anyways.
4) Press the big green "Create droplet" button on the right.

5) Make these choices, easy:

Hostname: paradise001 (anything you like)
Select Size: 512MB / 1CPU
Select Region: SF / NY / AMS / SING /DE - whatever is nearest to you.
Select Image: Linux Distributions ... Debian 8.1 x64
Settings: defaults
PRESS "Create Droplet"

6) wait for the email with the root password. Check spam folder. SAVE THE EMAIL.

7) Use ssh. If you are on Windows, use putty.exe and fill in:

Host Name (or IP address): look into in your root password email (see ^ 6)
Connection Type: ssh
Category ... Connection ... Data ... Auto-login username: root
Category ... Window ... Colours ... Default Background: Red=30 Green=0 Blue=0 (choose differently for each server)
Category ... Session ... Saved Sessions ...: paradise001
press Save

8 ) Press Open, and type in root password (from your root password email - see ^ 6)

9) Continue at "# step 2: prepare server" in posting #46

10) think about a reward for me ;-) BTC 1EyyjBMMHjMfx6M3Ngu4sn5M4QJ6HAtWFG or --> www.tiny.cc/drakointip or --> send me investment hints www.tiny.cc/drakoinhints.
11) please report back when you run into any trouble, or have ideas to improve this manual.

12) Sit back, and enjoy. Meditate. Listen to music. Go into nature. Make love ;-)

no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
August 26, 2014, 09:41:19 PM
 #27

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...]

__________________________________________________________

Newsflash:

Quote
We’re very excited to announce that now when you refer a friend to DigitalOcean, you’ll BOTH receive free credits.

Share your referral code link to give anyone a $10 credit to get started on DigitalOcean.

So when you use my referral, www.tiny.cc/digocean,
you will have $10 = two months smallest droplet
(or one month two droplets) for free.

Enjoy!

no sign of a signature
rikkejohn
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


View Profile
August 26, 2014, 09:50:01 PM
 #28

these offers are eveywhere, and you still have to pay 5 dollars to get started.

1PkwpyTLo5TfagzCPgjdvQFNVzuEyHViGt
lobo13hf
Hero Member
*****
Offline Offline

Activity: 2268
Merit: 507



View Profile
August 31, 2014, 09:35:38 PM
 #29

Gonna try you ref link after my vps month is over, i have a question, i have install a pool on my VPS but how do i install another one on it? 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...



████▄██████████▄
███▄████████████
▄███▀
████
████
████
▀███▄
███▀████████████
████▀██████████▀


▄██████████▄
████████████
███████████▀███▄
████████████████
████████████████
████████████████
▀███▄███████████
████████████████
████▀██████████▀


▄██▄█████████▄██▄
▀████▄█████▄████▀
▀████▄▄████▀
███████████
▄███▀█████▀███▄
█████████████████
█████████████████
█████████████████
▀███████████████▀


▄███████████████▄
█████████████████
████▀███▀██████▀
███████▄█████▀
████▄▄██████████▄
▀▀██████▀███████
▄██████▄███▄████
█████▀██████████
▀██▀███▀████████▀


████▄███████████
████████████████
▄███▀███████████
███████████████
██████████████
████████████████
███████████▄███▀
████████████
▀██████████▀
████████
██
██
██
██
██
██
██
██




██
██
██
██
██

██
██
██
████████
|
.
Listed
on
BINANCE
KUCOIN
Gate.io
|
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
September 27, 2014, 01:54:36 AM
 #30

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!

no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
September 28, 2014, 08:20:19 PM
Last edit: April 30, 2015, 12:04:31 AM by drakoin
 #31

# 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://bitcointalk.org/index.php?topic=460178.msg10426300#msg10426300

no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
September 28, 2014, 11:11:21 PM
Last edit: February 11, 2015, 01:15:04 PM by drakoin
 #32

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://bitcointalk.org/index.php?topic=460178.msg10426300#msg10426300

no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
October 23, 2014, 04:41:32 PM
Last edit: February 20, 2015, 05:52:15 PM by drakoin
 #33



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!

no sign of a signature
Mue
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


MonetaryUnit. For Me,yoU,Everybody.


View Profile WWW
February 06, 2015, 10:33:13 PM
Last edit: February 11, 2015, 05:51:48 PM by Mue
 #34

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
...

MonetaryUnit > Homepage **
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
February 11, 2015, 01:00:18 PM
 #35

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

Done :-)

I have updated https://bitcointalk.org/index.php?topic=460178.msg9007912#msg9007912 , and https://github.com/drakoin/LinuxWallet/blob/master/walletInstallMUE.sh so that https://bitcointalk.org/index.php?topic=460178.msg9009832#msg9009832 is up-to-date. Enjoy.


no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
February 11, 2015, 01:14:10 PM
 #36

# 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

no sign of a signature
Mue
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


MonetaryUnit. For Me,yoU,Everybody.


View Profile WWW
February 12, 2015, 10:44:16 AM
 #37

Thank you, your work is really appreciated Smiley

MonetaryUnit > Homepage **
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
February 19, 2015, 05:17:54 PM
Last edit: July 03, 2015, 02:27:30 PM by drakoin
 #38

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.

__________________________________________________________


no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
February 20, 2015, 01:45:27 PM
Last edit: February 20, 2015, 04:02:35 PM by drakoin
 #39

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.)

Quote
I was searching for a linux x13 cpu miner and i saw one of your tutorial! Smiley
Thanks for asking.

Quote
But I am still at a total loss.
It can't be too bad if you got this far ;-)

Quote
I installed linux on my laptop
Congrats!

Quote
and now I am miner-less.
So I guess you had Windows before, and there you had a miner?
Which miner software did you use before?

Quote
Is it possible to mine cpu x13 ubuntu? Can you help?
Please?

Of course.

First of all: yes!

I was asked to write this tutorial here (for CPUmining of MUE which uses not X13 but the Quark-ALGO):
https://bitcointalk.org/index.php?topic=460178.msg9304572#msg9304572

You can manually work through the steps:
https://github.com/drakoin/LinuxWallet/blob/master/install-quarkminer-Neisklar.sh
there is a lot of comments in that code, that should make it easy to understand.


But:

Which miner code is the fastest for X13 right now, I don't know.
Mining is such an arms race, that there are frequent improvements, and even "quantum leaps"  :-) .
Go and ask around in the forums "which is currently the fastest X13 miner for CPUs?"

Then, instead of  'https://github.com/Neisklar/quarkcoin-cpuminer'  in my example,
you take the code of that miner that was pointed out to you to be the currently best one.

Most of them are forked from the same base code, so probably my tutorial will work. If not, consult the README of that miner. (Do that anyways Wink )

Start mining:

Then when your compiling of that code has worked, here is my script to start a miner comfortably
so that it mines to my wallet, as a background process, with nicelevel 19, and 50% CPU usage limit:
https://github.com/drakoin/LinuxWallet/blob/master/mueminerstart.sh


Secondly, about your plan itself: CPU mining for X13 does not make much sense - it's very very slow.

CPUmining makes sense if

  • (a) you have thousands of CPUs (i.e. a botnet, if you have your trojan infect thousands of computers - but that is not very moral :-(
    (Actually: If you botnet owner are using my tutorials/scripts, consider to tip me some money *g* see below )

  • (b) if it is a coin with a mining algorithm for which there is no mining software for graphics cards (yet).
    Because a single graphics card contains 200 - 2000 processors (last time I checked). So compared to the GPU miners (who have even 4-6 graphics card per machine, so 800-12000 processors in one PC) ... your tiny little quad-core / octo-core one CPU will have such a small hashrate, so that your pool shares will be ridiculously low. Not worth, electricity wise.

  • (c) If you want to learn the technology itself. Then the efficiency doesn't play a role, of course. Go ahead. It's fun, definitely.

    Then you can quite as well try with MUE, which mines not with 'x13' but with the 'quark' algorithm.

Quickstart:

Code:
mkdir miner
cd miner
wget https://raw.githubusercontent.com/drakoin/LinuxWallet/master/install-quarkminer-Neisklar.sh
chmod a+x install-quarkminer-Neisklar.sh; ./install-quarkminer-Neisklar.sh
whereis minerd

See the interface of the miner:

Quote
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!

no sign of a signature
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
March 12, 2015, 03:43:41 AM
Last edit: April 01, 2015, 04:16:30 AM by drakoin
 #40

# 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!
#

no sign of a signature
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!