1
Bitcoin Guide [P2Pool]
Postat av loggan.dll den 28 Augusti 2013, 13:30
13 kommentarer · 494 träffar
Pictures:
http://imgur.com/a/QqoCg
{OPTIONAL IF YOU ALREADY HAVE LINUX:
**[LINUX MINT](http://www.linuxmint.com/download.php)**
if USB [UNETBOOTIN](http://unetbootin.sourceforge.net/)
if DVD [IMGBURN](http://www.imgburn.com/index.php?act=download)
if USB: On boot press F8 -> HD -> USB
if DVD: On boot press F8 -> DVD
Install}
Terminal:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install screen git python-rrdtool python-pygame python-scipy python-twisted python-twisted-web python-imaging
sudo apt-get install -y git-core build-essential libssl-dev libboost-all-> dev libdb5.1-dev libdb5.1++-dev libgtk2.0-dev
git clone https://github.com/gavinandresen/bitcoin-git
git clone https://github.com/forrestv/p2pool
git clone git://github.com/namecoin/namecoin.git
sudo apt-get build-dep bitcoin
sudo aptitude install build-essential libglib2.0-dev libglibmm-2.4-dev libqt4-dev python-dev libcurl4-gnutls-dev
[BFGMiner](https://launchpad.net/~unit3/+archive/bfgminer/+packages)
**Compile, Configure Bitcoind & Namecoind**
cd bitcoin/src
make -f makefile.unix clean; make -f makefile.unix USE_UPNP= bitcoind
mkdir ~/.bitcoin/
Copy Bitcoind to Home folder
Found in: bitcoin/src
Home -> CTRL+H -> .bitcoin -> Create new document named "Bitcoind.config"
Contents:
server = 1
daemon = 1
rpcuser = <username> (whatever you like)
rpcpassword <password> ([RANDOM PASSWORD GENERATOR](http://www.random.org/> passwords/), 100x24 length)
Terminal
cd ~/namecoin/src/
make -f makefile.unix namecoind
mkdir ~/.namecoin/
Home -> CTRL+H -> .namecoind -> Create new document named "Bitcoind.config"
Contents:
server = 1
daemon = 1
rpcuser = <username> (whatever you like)
rpcpassword <password> ([RANDOM PASSWORD GENERATOR](http://www.random.org/> passwords/), 100x24 length)
rpcport=7333
Copy namecoind to Home folder
Found in: namecoind/src
Terminal:
./bitcoind
./namecoind
**——-LONG WAIT——-**
Copy IP for later:
Terminal:
IP R
IP found at "LANIP": "scr 'LANIP'"
PORT FORWARDING:
192.168.0.1
Then default router user&pass
Open ports 9332, 7333, 7332, 4028, 9333, 8333 both ways
Terminal:
./bitcoind getinfo
compare "blocks : XXXXXX" with -> (www.blockchain.info)
./namecoind getinfo
compare "blocks : XXXXXX" with -> (http://explorer.dot-bit.org/)
When both finish syncing cease wait.
**——-LONG WAIT——-**
**Start P2POOL**
Terminal:
sudo screen -d -m -S <servername> ~/p2pool/run_p2pool.py —give-author 0 <bitcoind.config-rpcuser> <<bitcoind.config-rpcpassword>
Open P2POOL console:
Terminal
screen -x <servername>
Start BFGMINER (File -> Open Tab)
Terminal:
sudo bfgminer -S all -o http://LANIP:9332 -u <username> -p <password>
**P2POOL UPDATES & STATS**
To find wallet go to:
http://LANIP:9332/
then use:
./bitcoind help
to send BTC to another address (Also includes other info)
For update:
Terminal:
cd ~/p2pool
git pull
Then restart P2POOL
Written by Loggan08 @ 2013-08-28
Last updated: 2013-08-28 (added automatic free namecoin mining and pictures)
http://imgur.com/a/QqoCg
{OPTIONAL IF YOU ALREADY HAVE LINUX:
**[LINUX MINT](http://www.linuxmint.com/download.php)**
if USB [UNETBOOTIN](http://unetbootin.sourceforge.net/)
if DVD [IMGBURN](http://www.imgburn.com/index.php?act=download)
if USB: On boot press F8 -> HD -> USB
if DVD: On boot press F8 -> DVD
Install}
Terminal:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install screen git python-rrdtool python-pygame python-scipy python-twisted python-twisted-web python-imaging
sudo apt-get install -y git-core build-essential libssl-dev libboost-all-> dev libdb5.1-dev libdb5.1++-dev libgtk2.0-dev
git clone https://github.com/gavinandresen/bitcoin-git
git clone https://github.com/forrestv/p2pool
git clone git://github.com/namecoin/namecoin.git
sudo apt-get build-dep bitcoin
sudo aptitude install build-essential libglib2.0-dev libglibmm-2.4-dev libqt4-dev python-dev libcurl4-gnutls-dev
[BFGMiner](https://launchpad.net/~unit3/+archive/bfgminer/+packages)
**Compile, Configure Bitcoind & Namecoind**
cd bitcoin/src
make -f makefile.unix clean; make -f makefile.unix USE_UPNP= bitcoind
mkdir ~/.bitcoin/
Copy Bitcoind to Home folder
Found in: bitcoin/src
Home -> CTRL+H -> .bitcoin -> Create new document named "Bitcoind.config"
Contents:
server = 1
daemon = 1
rpcuser = <username> (whatever you like)
rpcpassword <password> ([RANDOM PASSWORD GENERATOR](http://www.random.org/> passwords/), 100x24 length)
Terminal
cd ~/namecoin/src/
make -f makefile.unix namecoind
mkdir ~/.namecoin/
Home -> CTRL+H -> .namecoind -> Create new document named "Bitcoind.config"
Contents:
server = 1
daemon = 1
rpcuser = <username> (whatever you like)
rpcpassword <password> ([RANDOM PASSWORD GENERATOR](http://www.random.org/> passwords/), 100x24 length)
rpcport=7333
Copy namecoind to Home folder
Found in: namecoind/src
Terminal:
./bitcoind
./namecoind
**——-LONG WAIT——-**
Copy IP for later:
Terminal:
IP R
IP found at "LANIP": "scr 'LANIP'"
PORT FORWARDING:
192.168.0.1
Then default router user&pass
Open ports 9332, 7333, 7332, 4028, 9333, 8333 both ways
Terminal:
./bitcoind getinfo
compare "blocks : XXXXXX" with -> (www.blockchain.info)
./namecoind getinfo
compare "blocks : XXXXXX" with -> (http://explorer.dot-bit.org/)
When both finish syncing cease wait.
**——-LONG WAIT——-**
**Start P2POOL**
Terminal:
sudo screen -d -m -S <servername> ~/p2pool/run_p2pool.py —give-author 0 <bitcoind.config-rpcuser> <<bitcoind.config-rpcpassword>
Open P2POOL console:
Terminal
screen -x <servername>
Start BFGMINER (File -> Open Tab)
Terminal:
sudo bfgminer -S all -o http://LANIP:9332 -u <username> -p <password>
**P2POOL UPDATES & STATS**
To find wallet go to:
http://LANIP:9332/
then use:
./bitcoind help
to send BTC to another address (Also includes other info)
For update:
Terminal:
cd ~/p2pool
git pull
Then restart P2POOL
Written by Loggan08 @ 2013-08-28
Last updated: 2013-08-28 (added automatic free namecoin mining and pictures)






