Bitcoin Forum
June 16, 2024, 04:43:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: please help !!!! ( need to build up private bitcoin pool on ubuntu 14.04 )  (Read 2343 times)
influx (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 12, 2014, 07:27:56 PM
Last edit: June 12, 2014, 08:59:07 PM by influx
 #1

please help ..
i have an ubuntu 14.04 server .
and i need to install bitcoind and create bitcoin pool with address like >>>>> ip:8332
and mining by my miners on this private pool

i just need the steps because i tried all in topics here and non working ..

can anyone help please Huh??  Cry Cry

zvs
Legendary
*
Offline Offline

Activity: 1680
Merit: 1000


https://web.archive.org/web/*/nogleg.com


View Profile WWW
June 12, 2014, 08:18:22 PM
 #2

Why don't you just set up a solo p2pool?  That's probably the easiest way?

Code:
nets = dict(
    bitcoin=math.Object(
        PARENT=networks.nets['bitcoin'],
        SHARE_PERIOD=30, # seconds
        CHAIN_LENGTH=24*60*60//10, # shares
        REAL_CHAIN_LENGTH=24*60*60//10, # shares
        TARGET_LOOKBEHIND=200, # shares
        SPREAD=3, # blocks
        IDENTIFIER='fc70035c7a81bc6f'.decode('hex'),
        PREFIX='2472ef181efcd37b'.decode('hex'),
        P2P_PORT=9333,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**32 - 1,
        PERSIST=True,
        WORKER_PORT=9332,
        BOOTSTRAP_ADDRS='forre.st vps.forre.st portals94.ns01.us 54.227.25.14 119.1.96.99 204.10.105.113 76.104.150.248 89.71.151.9 76.114.13.54 72.201.24.106 79.160.2.128 207.244.175.195 168.7.116.24
3 94.23.215.27 218.54.45.177 5.9.157.150 78.155.217.76 91.154.90.163 173.52.43.124 78.225.49.209 220.135.57.230 169.237.101.193:8335 98.236.74.28 204.19.23.19 98.122.165.84:8338 71.90.88.222 67.168.13
2.228 193.6.148.18 80.218.174.253 50.43.56.102 68.13.4.106 24.246.31.2 176.31.208.222 1.202.128.218 86.155.135.31 204.237.15.51 5.12.158.126:38007 202.60.68.242 94.19.53.147 65.130.126.82 184.56.21.18
2 213.112.114.73 218.242.51.246 86.173.200.160 204.15.85.157 37.59.15.50 62.217.124.203 80.87.240.47 198.61.137.12 108.161.134.32 198.154.60.183:10333 71.39.52.34:9335 46.23.72.52:9343 83.143.42.177 1
92.95.61.149 144.76.17.34 46.65.68.119 188.227.176.66:9336 75.142.155.245:9336 213.67.135.99 76.115.224.177 50.148.193.245 64.53.185.79 80.65.30.137 109.126.14.42 76.84.63.146'.split(' '),
        ANNOUNCE_CHANNEL='#p2pool',
        VERSION_CHECK=lambda v: 50700 <= v < 60000 or 60010 <= v < 60100 or 60400 <= v,
        VERSION_WARNING=lambda v: 'Upgrade Bitcoin to >=0.8.5!' if v < 80500 else None,
    ),

Change identifier and prefix, e.g. change identifier from fc70035c7a81bc6f to dd70035c7a81bc33, similar with prefix.

Remove all the bootstrap addresses.  Probably should change the p2p and worker ports also.

Change persist=true to persist=false.

done
influx (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 12, 2014, 08:49:06 PM
 #3

hello..,
is this will be profitable more than normal mining .. ??

AND IF

can you please type me the ubuntu codes with slow steps ??


influx (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 12, 2014, 08:57:13 PM
 #4

am not an expert in this code which you typed here now ... lemme know how can i go to this file or code .
and 2nd solo mining need slow hashing speed ..

and i have 2 TH/s

anyway no problem about solo mining if it will be good and profitable ..
so tell me what after this steps


git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin
git checkout v0.8.6

cd src/
make -f makefile.unix


sudo cp ./bitcoind /usr/local/bin/


bitcoind

cd bitcoin

pico bitcoin.conf

{

server=1
rpcport=8332
rpctimeout=30
rpcuser=bitcoinrpc
rpcpassword=EjkjenJHJhhfdkwemkjmnkk37883njn37hfdkjn38n
 
}

cntrl x
hit y to save
hit enter to save it to bitcoin.conf

chmod go-rwx bitcoin.conf


so ....
after that ..
i should i type : bitcoind ..
but nothing happen..  and i should set miner to ip : x.x.x.x:3333

but miner says offline pool


thank you
waiting for your reply
influx (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 13, 2014, 10:32:17 AM
 #5

after i run bitcoind
and

twistd -ny launcher.tac -l -

it says ::



2014-06-13 13:25:37,457 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
2014-06-13 13:26:07,490 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
2014-06-13 13:26:37,523 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
2014-06-13 13:27:07,556 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
2014-06-13 13:27:37,588 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
2014-06-13 13:28:07,621 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
2014-06-13 13:28:37,653 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
2014-06-13 13:29:07,687 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
2014-06-13 13:29:37,701 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
2014-06-13 13:30:07,734 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec


so Huh

can anyone tell me how long will stay downloading ??


thank you
waiting for reply
Bharat
Member
**
Offline Offline

Activity: 68
Merit: 10


View Profile
June 13, 2014, 10:47:52 AM
 #6

blockchain download can be around 15GB i think

for sale
influx (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 13, 2014, 11:52:50 AM
 #7

blockchain download can be around 15GB i think
'

hello

it's more than 3 hours now ..
and it's running on dedicated server with high connection ..

not slow connection..

Bharat
Member
**
Offline Offline

Activity: 68
Merit: 10


View Profile
June 13, 2014, 01:04:49 PM
 #8

which block it is showing currently  ?

for sale
influx (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 13, 2014, 04:21:41 PM
 #9

which block it is showing currently  ?

not block name/number it's only shown >>>>>>>  ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec

 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
 ERROR mining # Bitcoind downloading blockchain... will check back in 30 sec
_Crash_
Full Member
***
Offline Offline

Activity: 133
Merit: 100


View Profile
June 14, 2014, 09:06:17 AM
 #10

Be patient... You can type in "bitcoind getinfo" to see how many blocks you have downloaded. Just look at your bitcoin client on your computer and compare to see how many blocks your server needs to download. Before it'll be finished.

Also, when you run bitcoind, it won't show any output in the terminal, so just put it in a screen out of the way. When its not running for whatever reason, it'll return to the command line again.

PS: You may have gigabit and the download will still be slow. It depends on how powerful your servers processor is as well as the connection. It took a server which I ran bitcoind on at least a day to download the blockchain.

MiningSpace.net - MULTI-COIN / MULTI-POOL :: Miners Paid TX Fees! :: Europe :: Most Profitable Pool! :: Gigabit Connectivity :: 0% Fee!
influx (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 14, 2014, 11:11:34 AM
 #11

okay download is done now
but i got another problem ..

root@BTCX:~/stratum-mining# twistd -ny launcher.tac -l -
Removing stale pidfile /root/stratum-mining/twistd.pid
2014-06-14 14:09:40,899 INFO mining # Connecting to bitcoind...
2014-06-14 14:09:40+0300 [-] Log opened.
2014-06-14 14:09:40+0300 [-] twistd 14.0.0 (/usr/bin/python 2.7.6) starting up.
2014-06-14 14:09:40+0300 [-] reactor class: twisted.internet.epollreactor.EPollR                                                                                                                                                             eactor.
2014-06-14 14:09:40+0300 [Uninitialized] Unhandled error in Deferred:
2014-06-14 14:09:40+0300 [Uninitialized] Unhandled Error
        Traceback (most recent call last):
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/defer.py", line 423, in errback
            self._startRunCallbacks(fail)
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/defer.py", line 490, in _startRunCallbacks
            self._runCallbacks()
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/defer.py", line 577, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/defer.py", line 1155, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/defer.py", line 1097, in _inlineCallbacks
            result = result.throwExceptionIntoGenerator(g)
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
            return g.throw(self.type, self.value, self.tb)
          File "/root/stratum-mining/mining/__init__.py", line 48, in setup
            if isinstance(e[2], str):
        exceptions.IndexError: tuple index out of range

2014-06-14 14:09:59+0300 [-] Unhandled Error
        Traceback (most recent call last):
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/application/app.py", line 392, in startReactor
            self.config, oldstdout, oldstderr, self.profiler, reactor)
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/application/app.py", line 313, in runReactorWithLogging
            reactor.run()
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/base.py", line 1192, in run
            self.mainLoop()
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/base.py", line 1201, in mainLoop
            self.runUntilCurrent()
        --- <exception caught here> ---
          File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.0-py2.7-linu                                                                                                                                                             x-i686.egg/twisted/internet/base.py", line 824, in runUntilCurrent
            call.func(*call.args, **call.kw)
          File "/root/stratum-mining/mining/DBInterface.py", line 80, in run_imp                                                                                                                                                             ort
            d = self.bitcoinrpc.getinfo()
        exceptions.AttributeError: DBInterface instance has no attribute 'bitcoi                                                                                                                                                             nrpc'



so can anyone help please ??
murdof
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
June 14, 2014, 11:52:39 AM
 #12

Do in the folder where you have .bitcoin the following:
Code:
du -h .bitcoin/
Is the total around 22G?

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
influx (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 14, 2014, 12:17:38 PM
 #13

Do in the folder where you have .bitcoin the following:
Code:
du -h .bitcoin/
Is the total around 22G?




yes


root@BTCX:~# du -h .bitcoin/
525M    .bitcoin/chainstate
1.1M    .bitcoin/database
42M     .bitcoin/blocks/index
21G     .bitcoin/blocks
22G     .bitcoin/
root@BTCX:~#
murdof
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
June 14, 2014, 02:04:01 PM
 #14

Check my guide:
https://bitcointalk.org/index.php?topic=651819.0

run the aptitude get command to install all prerequisites

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
influx (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 14, 2014, 02:45:06 PM
 #15

Check my guide:
https://bitcointalk.org/index.php?topic=651819.0

run the aptitude get command to install all prerequisites


okay man .
am going to try this ..

thank you

i will tell you wut's happen

influx (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 14, 2014, 02:46:29 PM
 #16

Check my guide:
https://bitcointalk.org/index.php?topic=651819.0

run the aptitude get command to install all prerequisites


okay man .
am going to try this ..

thank you

i will tell you wut's happen

but i've a question .:

why bitcoin doesn't has a rpc port

cat >~/.bitcoin/bitcoin.conf
server=1
daemon=1
rpcuser=bitcoin
rpcpassword=h3wby4zWjGwywZ

like another alt.

cat >~/.namecoin/namecoin.conf
server=1
daemon=1
rpcuser=namecoin
rpcpassword=e9s4bmEaHvofEZ
rpcport=7333


influx (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 14, 2014, 02:51:23 PM
 #17

Check my guide:
https://bitcointalk.org/index.php?topic=651819.0

run the aptitude get command to install all prerequisites


okay man .
am going to try this ..

thank you

i will tell you wut's happen

but i've a question .:

why bitcoin doesn't has a rpc port

cat >~/.bitcoin/bitcoin.conf
server=1
daemon=1
rpcuser=bitcoin
rpcpassword=h3wby4zWjGwywZ

like another alt.

cat >~/.namecoin/namecoin.conf
server=1
daemon=1
rpcuser=namecoin
rpcpassword=e9s4bmEaHvofEZ
rpcport=7333


---------------------------------------------

i got another question please ..

where can i put my wallet address ??

thank you
waiting for your reply

_Crash_
Full Member
***
Offline Offline

Activity: 133
Merit: 100


View Profile
June 14, 2014, 03:21:20 PM
 #18

Took from MPOS Quick Install.. The best way to make sure Python Stratum will work is to do;

Code:
sudo apt-get install python-twisted python-mysqldb python-dev python-setuptools python-memcache python-simplejson python-pylibmc
sudo easy_install -U distribute

Then execute;
Quote
cd ~
cp stratum-mining/conf/config_sample.py stratum-mining/conf/config.py
nano stratum-mining/conf/config.py

This will backup the config and then put you in an editor so you can edit your config (if you haven't already done so).

Make sure you run those commands, then run the stratum server. It _should_ work. If not, then double check everything.

MiningSpace.net - MULTI-COIN / MULTI-POOL :: Miners Paid TX Fees! :: Europe :: Most Profitable Pool! :: Gigabit Connectivity :: 0% Fee!
murdof
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
June 14, 2014, 04:22:58 PM
 #19

All coins have default ports of you don't actually have to declare them.

I think the only conflict I had was with i0coin and name coin

So I decided to have it there as a nice teminder

So bitcoin uses default port.

Buy me a beer: 1mrdfyA1GhKmTPhaSkvyq5DBterQ5m7ZK

Run your own P2Pool with Ubuntu 16.04 LTS and merge mining
joshraban76
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile
June 14, 2014, 04:31:34 PM
 #20

Why don't you hire a freelancer or software developer to help you ??

\   \  \ \\\\\\\\\\\\\\\\◥◣◢◤//////////////// /  /   /
Win88.me ❖ Fair, Trusted Online BTC Gambling ❖
/   /  / ////////////////◢◤◥◣\\\\\\\\\\\\\\\\ \  \   \
Pages: [1] 2 »  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!