Bitcoin Forum
May 03, 2024, 11:18:23 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
February 11, 2014, 04:15:38 PM
Last edit: February 20, 2015, 04:01:06 PM by drakoin
 #1

# Shortcut: www.tiny.cc/LinuxWallet links to here now. Easy to remember.
#
# ------------------------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------
#
# Completely overhauled NEW instructions (28/9/2014, 20/2/2015)
# Will work for many altcoins. On your linux, in the cloud (VPS), on raspberryPi.
#
# Wallet --> posting # 31 -->
# https://bitcointalk.org/index.php?topic=460178.msg9007912#msg9007912
#
# Wallet quickstart autoinstaller script --> posting # 32 -->
# https://bitcointalk.org/index.php?topic=460178.msg9009832#msg9009832
#
# cpuMiner --> posting # 39 -->
# https://bitcointalk.org/index.php?topic=460178.msg10522742#msg10522742
#
# linux VPS for 0.25 BTC / year, detailed instructions --> posting # 38 -->
# https://bitcointalk.org/index.php?topic=460178.msg10513565#msg10513565
#
#
# ------------------------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------
# ------------------------------------------------------------------------------------------------
# -- END OF EDIT. (very) old posting following now: -----------------------------------
# ------------------------------------------------------------------------------------------------

# walletd - compile and install from github sources

# in this case duckduckcoin, which was forked
# from litecoin, like most other altcoins.
# So this should work for other coins, too.

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

# N.B.: the compilation fails with 500 MB RAM, so start with the
# 10$ droplet (1GB)
; after the compilation you can resize to 5$
# droplet. If you already have the smallest, power it down,
# resize it to at least 1GB of RAM, and power up again.
# Thanks to btcltcdigger for this hint.

# What?  "droplet"?  Your own server for 5$/month running costs!
# A cheap linux virtual server (VPS) in the cloud, created in 55seconds
# At digital ocean http://tiny.cc/digocean NL USA Singapur
# with code SSD2014 you get 10$ welcome bonus
# Buy 10$ droplet for 1 hour compilation, later downgrade to 5$/month.

# Create droplet. Wait for the email with the root password.
# To connect use ssh / putty.exe (data... auto-login: root)

passwd

sudo -i

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

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





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

# Get db4.8 source, compile and install
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

# Tell your system where to find db4.8
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
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"

# rm -R ~/db-4.8.30.NC*   # perhaps not good to delete?



# EDIT: slower but cheap (free)
# create a SWAP FILE instead of the necessity for 1 MB RAM:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile





# Get the wallet sources from github
# and build the headless server daemon "duckduckcoind"
cd ~
git clone https://github.com/duckduckcoin/duckduckcoin
cd ~/duckduckcoin/src
make -f makefile.unix USE_UPNP=-
cp duckduckcoind ..


 

# first time start creates folder wallet & blockchain & config
cd ~
./duckduckcoin/duckduckcoind  # just to create the folder,
# stops with password missing error



# create a config file (copy paste the whole paragraph in one go):

cat << "CONFIG" >> ~/.duckduckcoin/duckduckcoin.conf

# enable RPC
server=1
rpcport=12122
rpcuser=yourusername
rpcpassword=yoursuperdooperpassword
daemon=1
# no mining:
gen=0
# seed nodes:
addnode=69.90.132.182
addnode=69.90.132.181
addnode=69.90.132.64

CONFIG





# start server
~/duckduckcoin/duckduckcoind

# should answer with: Duckduckcoin server starting


# most important RPC API commands to control your accounts
~/duckduckcoin/duckduckcoind getbalance  
~/duckduckcoin/duckduckcoind getinfo
~/duckduckcoin/duckduckcoind getnewaddress forDonations
~/duckduckcoin/duckduckcoind listtransactions forDonations
~/duckduckcoin/duckduckcoind listaccounts
~/duckduckcoin/duckduckcoind getaddressesbyaccount forDonations
~/duckduckcoin/duckduckcoind getaddressesbyaccount ""

# the full list of commands
~/duckduckcoin/duckduckcoind help


# now to save money, you can power down the droplet,
# resize it back to 0.5GB of RAM (5$ per month),
# and power up again





# If you liked this tutorial, send me some duckduckcoins to try out your new abilities:
~/duckduckcoin/duckduckcoind sendtoaddress dTyYVSVEoHjVSA84h8uKJk3QHz573iU1VA 0.00005 ThankYouForYourTutorial

# or in other currencies at www.tiny.cc/drakointip


#

no sign of a signature
1714778303
Hero Member
*
Offline Offline

Posts: 1714778303

View Profile Personal Message (Offline)

Ignore
1714778303
Reply with quote  #2

1714778303
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
February 11, 2014, 04:39:35 PM
 #2

# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 10$ droplet e.g. at digital ocean http://tiny.cc/digocean
Yes, that shortened URL earns me referral bonus. Thank you for clickthrough.
It expands to https://www.digitalocean.com/?refcode=870aa24cdb10


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

Activity: 826
Merit: 1000

see my profile


View Profile
February 12, 2014, 03:34:53 AM
Last edit: February 12, 2014, 04:25:42 PM by drakoin
 #3

#

# The manual works for lemoncoin, too.

# your wallet in the cloud - compile and install from github sources

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

# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 10$ droplet e.g. at digital ocean http://tiny.cc/digocean

# You can build your lemoncoin wallet on that server.

# Instructions are the same as above, just replace all occurences of "duckduckcoin" by "lemoncoin".



# if you had rebooted after the above, you need to repeat this before compiling:
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"




# source:
git clone https://github.com/lemoncoin/lemoncoin/




# for the conf file I suggest this:

cd ~
mkdir ~/.lemoncoin
cat << "CONFIG" >> ~/.lemoncoin/lemoncoin.conf

# enable RPC
server=1
rpcuser=yourusername
rpcpassword=yoursuperdooperpasswordthisisimportant
daemon=1
# no mining:
gen=0
# seed nodes:
addnode=23.92.80.107
addnode=23.92.80.22
addnode=lemon.dogemoon.com
addnode=lemon.stablehash.com
addnode=lmc.chaosagent.org
addnode=lmc.hashrapid.com
addnode=lmc.minebig.com
addnode=Lemon.OakPool.com
addnode=lmc.akpool.net
addnode=lemon.morecoins.org

CONFIG




# If you like this tutorial, send me some lemon coins:
./lemoncoin/lemoncoind sendtoaddress LZrQNRtWJqGqHXpnVaUKYX8ht1E273mvZq 300 ThankYouForYourTutorial

# or in other currencies at www.tiny.cc/drakointip


#

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

Activity: 826
Merit: 1000

see my profile


View Profile
February 12, 2014, 06:12:57 AM
 #4

#

# The manual works for maxcoin, too.

# your wallet in the cloud - compile and install from github sources

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

# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 10$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur

# You can build your maxcoind wallet on that server.

# Instructions are the same as above, just replace all occurences of "duckduckcoin" by "maxcoin".

# sources from
git clone https://github.com/Max-Coin/maxcoin


# the maxcoin.conf file is created by this, using the official nodes

cd ~
mkdir ~/.maxcoin
cat << "CONFIG" >> ~/.maxcoin/maxcoin.conf

# enable RPC
server=1
rpcuser=yourusername
rpcpassword=yoursuperdooperpasswordthisisimportant
daemon=1
# no mining:
gen=0
# Seed nodes
addnode=maxexplorer.cloudapp.net
addnode=maxcoin.cloudapp.net
addnode=maxcoinus.cloudapp.net
addnode=maxcoinasia.cloudapp.net
addnode=213.179.202.19
addnode=wombat.dar.sh

CONFIG




# If you like this tutorial, send me some max coins:
./maxcoin/maxcoind sendtoaddress mL8JX1z8CCPtU3dcEgAXDoHEGaapmy6EC5 1 ThankYouForYourTutorial

# or in other currencies at www.tiny.cc/drakointip


#

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

Activity: 826
Merit: 1000

see my profile


View Profile
February 12, 2014, 02:01:41 PM
Last edit: February 12, 2014, 04:44:44 PM by drakoin
 #5

#
# The manual works for c-notes, too.

# your wallet in the cloud - compile and install from github sources

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

# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 10$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur

# You can build your c-note wallet on that server.

# Instructions are the same as above, just replace all occurences of "duckduckcoin" with "c-note" (modulo capital / small letters).


# if you had rebooted after the above, you need to repeat this before compiling:
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"


# download the source c-note1.2.tar.gz from https://bitcointalk.org/index.php?topic=397916

# For c-note admin:
# It would be nice if there were a github / wget address for the source,
# for easier download in terminal only mode
# until then I use pscp.exe from the putty.exe programmers to upload it to the droplet
# pscp.exe c-note1.2.tar.gz root@my-droplet-IP:

cd ~
tar zxf c-note1.2.tar.gz
rm c-note1.2.tar.gz
cd C-Note/src
make -f makefile.unix USE_UPNP=-
cp c-noted ..





# create a config file (copy paste all in one go):
cd ~
mkdir ~/.c-note
cat << "CONFIG" >> ~/.c-note/c-note.conf

listen=1
seednode =70.191.156.43
seednode=69.85.86.195
maxconnections =10
testnet=0
port=18491
rpcport=18490
rpcuser=cnote
rpcpassword=yoursooperdooperpasswordhighlysecure
rpcallowip=127.0.0.1
addnode=1.63.78.97:18491
addnode=125.115.70.228:18491
addnode=119.142.38.127:18491
addnode=122.4.158.172:18491
addnode=70.191.156.43:18491
addnode=183.29.166.9:18491
addnode=113.2.233.93:18491

CONFIG






# start the server
~/C-Note/c-noted &

# unfortunately, in contrast to the others above,
# this one doesn't answer "c-note server starting",
# but you can see the process running:
ps gaux | grep c-noted


# API commands are the same, see posting #0
./C-Note/c-noted getinfo
./C-Note/c-noted help


# If you like this tutorial, send me some CNOTEs:

./C-Note/c-noted sendtoaddress CN1JHBX8jnpiXCKSsqCBNo6Dp5uQAMLmdE 500 ThankYouForYourTutorial
# or in other currencies at www.tiny.cc/drakointip

#


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

Activity: 826
Merit: 1000

see my profile


View Profile
February 12, 2014, 05:52:45 PM
 #6

#
# Updated sourcecode - what to do?
# The lemoncoin sources just got updated to 0.0.2, so how do we update our wallet?
#

# just for fun, in the old version note down the version number:
~/lemoncoin/lemoncoind getinfo


# stop the server
~/lemoncoin/lemoncoind stop


# just to make sure that our old db4.8 is found during the compilation:
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"


# update the sourcecode, and compile and build:
cd ~/lemoncoin/
git pull
cd src
make -f makefile.unix USE_UPNP=-
cp lemoncoind ..
cd ~

# start server:
~/lemoncoin/lemoncoind

# compare the version numbers:
~/lemoncoin/lemoncoind getinfo

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

Activity: 826
Merit: 1000

see my profile


View Profile
February 14, 2014, 07:54:16 PM
Last edit: February 16, 2014, 10:04:13 PM by drakoin
 #7

# riecoin

# your wallet in the cloud - compile and install from github sources
# I succeeded with this on Ubuntu 12.04 and Debian 7.0 x64
# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 10$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur

# You can build your riecoind wallet on that server.
# Instructions are the same as above, just replace all occurences of "duckduckcoin" with "riecoin".
# 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:


# to make sure that our old db4.8 is found during the compilation:
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"


# get the wallet source, compile and build, and copy the binary to ~/riecoin/riecoind
cd ~
git clone https://github.com/riecoin/riecoin
cd ~/riecoin/src
make -f makefile.unix
cp riecoind ..



# now that the compilation is done, to save money,
# you can power down the droplet,
# resize it to 0.5GB of RAM (5$ per month),
# and power up again




# create a config file (copy paste all in one go):
cd ~
mkdir ~/.riecoin
cat << "CONFIG" >> ~/.riecoin/riecoin.conf

gen=0
listen=1
server=1
testnet=0
rpcport=28332
port=28333
rpcuser=riecoinuser
rpcpassword=yoursooperdooperpasswordhighlysecure
rpcallowip=127.0.0.1
addnode=107.170.26.188
addnode=107.170.32.187:28333
addnode=107.170.37.13
addnode=107.170.40.168:28333
addnode=108.161.145.12:28333
addnode=128.199.253.233
addnode=162.243.118.47:28333
addnode=162.243.208.55
addnode=162.248.98.162
addnode=173.193.48.174
addnode=182.32.194.1
addnode=192.241.129.169
addnode=194.97.156.59:28333
addnode=195.47.113.76:28333
addnode=198.144.180.117
addnode=198.144.180.118
addnode=198.98.52.244:28333
addnode=213.239.207.114:28333
addnode=5.83.137.130:28333
addnode=5.83.137.131:28333
addnode=54.197.67.63
addnode=54.198.193.96:28333
addnode=54.204.214.12
addnode=54.234.17.173
addnode=54.237.23.244:28333
addnode=62.210.141.204:28333
addnode=64.79.107.5
addnode=67.225.172.77
addnode=76.102.71.50
addnode=77.172.93.38:28333
addnode=79.135.200.61
addnode=81.27.206.10:28333
addnode=95.138.166.108
addnode=95.138.166.126:28333
addnode=98.121.202.169

CONFIG


# Start the server:
~/riecoin/riecoind  &
# unfortunately does not answer with: riecoin server starting, but if the following works we know that it is running:


# most important RPC API commands to control your accounts
~/riecoin/riecoind getbalance  
~/riecoin/riecoind getinfo
~/riecoin/riecoind getnewaddress forDonations
~/riecoin/riecoind listtransactions forDonations

# the full list of commands
~/riecoin/riecoind help




# If you liked this tutorial, send me some riecoins, to try out your new abilities:
./riecoin/riecoind sendtoaddress RLEvAAHaAnK4yKKuQCnw5houVTds3bhZR3 1.234 ThankYouForYourTutorial

# or in other currencies at www.tiny.cc/drakointip


#


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

Activity: 826
Merit: 1000

see my profile


View Profile
February 16, 2014, 10:00:48 PM
Last edit: February 22, 2014, 02:13:05 PM by drakoin
 #8

# memory issues solved

# g++: internal compiler error: Killed (program cc1plus) ... make: *** [obj/db.o] Error 4
#
# instead of resizing the droplet and giving
# even more RAM during the compilation,
# it is probably enough to create a swapfile:

sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile


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

Activity: 826
Merit: 1000

see my profile


View Profile
February 16, 2014, 10:23:47 PM
Last edit: February 22, 2014, 02:05:53 PM by drakoin
 #9

# dopecoind 2.0 Linux Wallet instructions, verbose

# your wallet in the cloud - compile and install from github sources
# I succeeded with this on Ubuntu 12.04 and Debian 7.0 x64
# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 10$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur

# You can build your dopecoind wallet on that server.
# Instructions are the same as above, just replace all occurences of "duckduckcoin" with "DopeCoin".
# 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.

# not to run into any trouble with lack of RAM space
# during the compilation, we create a swap file:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile


# our old db4.8 is needed during the compilation:
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"

# if we don't do that we get the error
# "db.h:14:20: fatal error: db_cxx.h: No such file or directory
# compilation terminated. make: *** [obj/db.o] Error 1#"



# get the wallet source from github, compile and build,
# and copy the binary to ~/DopeCoin/dopecoind
cd ~
git clone https://github.com/dopecoin-dev/DopeCoin
cd ~/DopeCoin/src
make -f makefile.unix
cp dopecoind ..



# now that the compilation is done, to save money,
# you can power down the droplet,
# resize it to 0.5GB of RAM (from 10$ down to 5$ per month),
# and power up again.




# create a config file (copy paste all in one go):
cd ~
mkdir ~/.dopecoin
cat << "CONFIG" >> ~/.dopecoin/dopecoin.conf

gen=0
listen=1
server=1
rpcallowip=127.0.0.1
rpcuser=dopecoinuser
rpcpassword=yoursooperdooperpasswordhighlysecure
addnode=5.199.149.228
addnode=213.37.49.176
addnode=98.191.67.106
addnode=107.170.47.143
addnode=171.100.105.151
addnode=174.51.17.18
addnode=116.1.49.175
addnode=106.68.186.128
addnode=84.128.238.204
addnode=183.14.197.233
addnode=197.0.143.159
addnode=213.185.37.164
addnode=82.6.159.183
addnode=91.157.180.238
addnode=80.143.88.230
addnode=94.52.19.22
addnode=93.137.196.0
addnode=93.137.196.0
addnode=77.173.110.4
addnode=94.22.75.142
addnode=85.76.175.236
addnode=72.13.133.222
addnode=96.2.98.225
addnode=213.73.177.144
addnode=31.163.28.203
addnode=77.102.251.218
addnode=77.8.30.138
addnode=82.68.134.30
addnode=95.91.240.205

CONFIG



# Start the server:
~/DopeCoin/dopecoind  &
# unfortunately it does not answer with: dopecoin server starting,
# but if the following works we know that it is running:


# most important RPC API commands to control your accounts
~/DopeCoin/dopecoind getbalance  
~/DopeCoin/dopecoind getinfo
~/DopeCoin/dopecoind getnewaddress forDonations
~/DopeCoin/dopecoind listtransactions forDonations


# the list of commands of the RPC API is given by
~/DopeCoin/dopecoind help




# If you liked this tutorial, send me some dopecoins please:
~/DopeCoin/dopecoind sendtoaddress 4WMzYuW49UdKLbTE8NcEy6Tt19JFQJknC9 1.234 ThankYouForYourTutorial

# or in other currencies at www.tiny.cc/drakointip


#

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

Activity: 826
Merit: 1000

see my profile


View Profile
February 18, 2014, 03:50:04 PM
 #10

# your wallet in the cloud - compile and install from github sources
# I succeeded with this on Ubuntu 12.04 and Debian 7.0 x64
# Create your cheap linux virtual server (VPS) in the cloud in 55seconds
# Buy 10$ droplet e.g. at digital ocean http://tiny.cc/digocean NL USA Singapur

Cute promotion video about digital ocean:  http://www.youtube.com/watch?v=vHZLCahai4Q

To buy please click through my referral link http://tiny.cc/digocean  thank you.

no sign of a signature
EventualCoinMillionaire
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 22, 2014, 08:29:39 AM
 #11


cp duckduckcoind ..


Hi. When I type the above for my altcoin (reddcoin), I get

Code:
cp: cannot stat âreddcoindâ: No such file or directory

I'm on DigitalOcean 10 dollar droplet. Thanks for your info!!

BTC 1juX6F2mgRCMS6meMmH8yjtDXD16GwVfm
DOGE DFznCPX2usMnxzVto2hmcMckhPGyXWVXrZ
RDD RcCqrHqmVh1jF197psMBiYPGdtnoQwREVQ
EventualCoinMillionaire
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 22, 2014, 09:13:13 AM
 #12

OK, I believe it was a memory issue. I was able to get it working by following the instructions from dopecoind

THANKS!!!!!!!!!!

BTC 1juX6F2mgRCMS6meMmH8yjtDXD16GwVfm
DOGE DFznCPX2usMnxzVto2hmcMckhPGyXWVXrZ
RDD RcCqrHqmVh1jF197psMBiYPGdtnoQwREVQ
EventualCoinMillionaire
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 22, 2014, 09:27:03 AM
 #13

Another question, what's the default port this runs on for outside connections?

Thanks

BTC 1juX6F2mgRCMS6meMmH8yjtDXD16GwVfm
DOGE DFznCPX2usMnxzVto2hmcMckhPGyXWVXrZ
RDD RcCqrHqmVh1jF197psMBiYPGdtnoQwREVQ
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
February 22, 2014, 02:12:10 PM
 #14

Another question, what's the default port this runs on for outside connections?
Thanks
Yes, sad, some coindesigners don't mention their port choices anymore.
Please report it back when you have found out what it is. Perhaps this help?
https://github.com/dopecoin-dev/DopeCoin/search?q=port


I'm on DigitalOcean 10 dollar droplet. Thanks for your info!!
With swap file enabled, it might even run on a 5$ droplet.


OK, I believe it was a memory issue. I was able to get it working by following the instructions from dopecoind
THANKS!!!!!!!!!!
I am really happy that it's useful for you.



P.S.: Consider donations :-) www.tiny.cc/drakointip every little bit helps

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

Activity: 826
Merit: 1000

see my profile


View Profile
February 22, 2014, 02:40:34 PM
 #15

#
# insanitycoin

# 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 insanitycoin wallet on that server.

# 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 not to run into any trouble with lack of RAM space
# during the compilation, we create a swap file:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile


# our old db4.8 (compiled in #1) is needed during the compilation:
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"

# if we didn't do that we would get the error
# "db.h:14:20: fatal error: db_cxx.h: No such file or directory
# compilation terminated. make: *** [obj/db.o] Error 1#"



# get the wallet source from github, compile and build,
# and copy the binary to ~/insanitycoin/insanitycoind
cd ~
git clone https://github.com/insanitydev/insanitycoin
cd ~/insanitycoin/src
make -f makefile.unix
cp insanitycoind ..


# download the official config file:
mkdir ~/.insanitycoin
cd ~/.insanitycoin
wget http://5.9.111.71/insanitycoin.conf

# change the password
nano insanitycoin.conf
# to exit press
# ctrl-x
# y
# enter

cd ~


# start server
~/insanitycoin/insanitycoind
# should answer with: Insanitycoin server starting


# most important RPC API commands to control your accounts
~/insanitycoin/insanitycoind getbalance  
~/insanitycoin/insanitycoind getinfo
~/insanitycoin/insanitycoind getnewaddress forDonations
~/insanitycoin/insanitycoind listtransactions forDonations

# the full list of commands
~/insanitycoin/insanitycoind help




# If you liked this tutorial, send me some insanitycoins
~/insanitycoin/insanitycoind sendtoaddress WbDnQujFmzJDxFfV97Dn1yJ75aFebLRifq 10 ThankYouForYourTutorial

# or in other currencies at www.tiny.cc/drakointip


#

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

Activity: 826
Merit: 1000

see my profile


View Profile
February 25, 2014, 01:25:57 AM
Last edit: February 25, 2014, 04:22:08 AM by drakoin
 #16

#
# myriadcoind
#
# 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 myriadcoin wallet on that server.

# you can mark everything in this posting and copy paste it into the linux shell, all in one go.
# or you do it step by step, and observe what is going on (learning mode).


# 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 not to run into any trouble with lack of RAM space
# during the compilation, we create a swap file:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile


# our old db4.8 (compiled in #1) is needed during the compilation:
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"

# if we didn't do that we would get the error
# "db.h:14:20: fatal error: db_cxx.h: No such file or directory
# compilation terminated. make: *** [obj/db.o] Error 1#"



# get the wallet source from github, compile and build,
# and copy the binary to ~/myriadcoin/myriadcoind
cd ~
git clone http://github.com/myriadcoin/myriadcoin
cd ~/myriadcoin/src
make -f makefile.unix  USE_UPNP=
cp myriadcoind ..


# now we create a config file (COPY ALL IN ONE GO):

cd ~
mkdir ~/.myriadcoin
cat << "CONFIG" >> ~/.myriadcoin/myriadcoin.conf

listen=1
maxconnections=32
rpcuser=LOCALUSER
rpcpassword=VERYSECURESUPERLONGSUPERSAFEPASSWORD
server=1
rpcallowip=192.168.0.*
algo=groestl
gen=1

CONFIG


# to edit the conf file; change the password, or switch off the mining -->    gen=0
# nano ~/.myriadcoin/myriadcoin.conf

# to exit nano press
# ctrl-x
# y
# enter

cd ~


# start server
~/myriadcoin/myriadcoind &
# unfortunately does not answer with: myriadcoin server starting


# most important RPC API commands to control your accounts
~/myriadcoin/myriadcoind getbalance  
~/myriadcoin/myriadcoind getinfo
~/myriadcoin/myriadcoind getnewaddress forDonations
~/myriadcoin/myriadcoind listtransactions forDonations

# the full list of commands
~/myriadcoin/myriadcoind help


# to see that the wallet is using most of the CPU cycles for mining, use top, exit with pressing 'q'
# top


# Send me some myriadcoins please
~/myriadcoin/myriadcoind sendtoaddress MAKikmtAosj3fAsYyjgVQ4sBJnyVF9sSvJ 500 ThankYouForYourTutorial

# or in other currencies at www.tiny.cc/drakointip


#


# P.S.: Mining myriadcoin with an external qubit cpuminer - instructions now online

no sign of a signature
EventualCoinMillionaire
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 28, 2014, 07:48:20 PM
 #17

I just ran into an issue with the system. One of my partners ended up typing "reddcoind -daemon" which caused the deamon to max out the CPU and MEM on the server. Is there any reason why this is? I assume from reading the documentation here, that "-daemon" isn't required?

Can a Linux expert elaborate on this for me?

Thanks!!!!!!

BTC 1juX6F2mgRCMS6meMmH8yjtDXD16GwVfm
DOGE DFznCPX2usMnxzVto2hmcMckhPGyXWVXrZ
RDD RcCqrHqmVh1jF197psMBiYPGdtnoQwREVQ
EventualCoinMillionaire
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 28, 2014, 08:40:10 PM
 #18

OK, even when I ran with "reddcoind" it seems the CPU is going over 100%. This is what I see with "top -c":

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
xxxx root      20   0 2296m 107m  17m S  165  5.2  56:47.97 /usr/bin/reddcoind

Does anyone know why this is?

Thanks for your help!!

BTC 1juX6F2mgRCMS6meMmH8yjtDXD16GwVfm
DOGE DFznCPX2usMnxzVto2hmcMckhPGyXWVXrZ
RDD RcCqrHqmVh1jF197psMBiYPGdtnoQwREVQ
drakoin (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000

see my profile


View Profile
March 05, 2014, 09:11:40 PM
 #19

the CPU is going over 100%. This is what I see with "top -c":
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
xxxx root      20   0 2296m 107m  17m S  165  5.2  56:47.97 /usr/bin/reddcoind
Does anyone know why this is? Thanks for your help!!

I think the total in top is 100% multiplied with the number of cores. Read all the answers to this question http://stackoverflow.com/questions/1032357/comprehending-top-cpu-usage


to max out the CPU and MEM on the server.

check your conf file, does it have a
gen=1
for mining? Switch it off by
gen=0


If not, let it run for a few minutes, to download the blockchain, then check again.
I don't know redd, but my wallets use 0.3 - 2 %.


HTH :-)

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

Activity: 826
Merit: 1000

see my profile


View Profile
March 05, 2014, 09:41:53 PM
Last edit: March 05, 2014, 10:00:59 PM by drakoin
 #20

# Zeitcoin

# 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 zeitcoind wallet on that server.

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

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/zeitcoin/zeitcoin
cd zeitcoin/src
make -f makefile.unix
cp zeitcoind ..
cd ~
mkdir ~/.Zeitcoin
cat << "CONFIG" >> ~/.Zeitcoin/Zeitcoin.conf
rpcuser=LOCALUSER
rpcpassword=VERYSECURESUPERLONGSUPERSAFEPASSWORD
CONFIG
~/zeitcoin/zeitcoind &
~/zeitcoin/zeitcoind getnewaddress forDonations

# for more RPC commands, see above.

# if this tutorial was useful to you, please tip me zeitcoins (or remember to come back and tip me some zeitcoins)
~/zeitcoin/zeitcoind sendtoaddress MgjyfXo85AfRD5wV4N5rGDxS39rMPZiYGF 20000 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
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!