Bitcoin Forum
January 16, 2019, 09:00:40 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
   Home   Help Search Login Register More  
Pages: [1]
Author Topic: Lazy guide if behind a proxy  (Read 2951 times)
Full Member
Offline Offline

Activity: 367
Merit: 100


View Profile
January 11, 2011, 01:53:16 PM


I borrowed an FX380 card today, just to see if I could get it all running.

I compiled a howto, based on Ubuntu 10.10 and Syke's excellent previous post.

I spent only 3-4 hours this time, as compared to 3-4 days doing it by myself.

I added the complication of being behind a proxy that allows for outgoing ssh.

I create a vpn tunnel that enables a "public" bitcoin machine to run in the frontend.

It might also be useful if you want to run several miners behind one public ip adress, (in that case you don't need the tunnel :-)


** XXX ** - Put YOUR stuff here!!!

// Comment (do not type :-)

0) Install Ubuntu 10.10 (use user: local)

1) Make machine useful:

sudo bash
create apt.conf:

Acquire {
Retries "0";
Proxy "http://****.sg:8080";

apt-get update
apt-get install openssh-server
apt-get install vnc4server

python --version  // should be 2.6.6

ifconfig -a  // check your IP: ** x.y.z.w **

apt-get install emacs

Change the /home/local/.vnc/xstartup
x-window-manager &
gnome-session &


Log in to ubuntu machine (via vnc):

firefox & 
// (fix proxy if needed)

Install updates from window manager...

2) Install propertary nVidia drivers (haven't tried ATI)

// I google for nvidia  NVIDIA-Linux-x86-260.19.06
// For some reason I always have to restart firefox here :-/

// This driver I used:
// It MUST be 260.19.06 for the rest to work with this howto
// You need to shut down your X-server, the installer is also stupid since
// it wants you to shut down your vnc session as well :-(

sudo bash
/etc/init.d/gdm stop   // For the physical X-server
vnc4server -kill :1    // Silly installer...

// From a separate login:
sudo bash
chmod a+rx

// Failure again, instruct the driver to permanently disable the "noveau" whatever that is


// ...........................

// Again stop the gdm...

/etc/init.d/gdm stop // (you didn't put vncserver anywhere in autostart did you? :-)

// and again:

./ // Ignore whining about startup script failure, but it should say "success" at the end of installation :-)

/etc/init.d/gdm start

(start vnc4server as local)

3) Follow this excellent instruction (slightly modified from Syke's)
// google: syke bitcoin

export http_proxy=http://myproxyip:myproxyport
export https_proxy=http://myproxyip:myproxyport

sudo apt-get install python-pyopencl subversion
tar xvf bitcoin-0.3.19-linux.tar.gz

// Subversion proxy is set in:
// ~/.subversion/servers
// Add this to end of file:
http-proxy-host = ** MY proxy ip **
http-proxy-port = ** MY proxy portno **

svn checkout
cd python-jsonrpc/
sudo python install
cd ..
mkdir .bitcoin
echo "rpcuser= ** un **" > .bitcoin/bitcoin.conf
echo "rpcpassword=** pw **" >> .bitcoin/bitcoin.conf
wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate
~/bitcoin-0.3.19/bin/64/bitcoin -server&
python -d 0 --user ** un ** --pass ** pw **

4) If you need to tunnel via ssh, this is a good lazy

google for: "howto poormans vpn ssh"

// There are two small typos: replace "VPN" with "VPNkey"

// Test the tunnel via ping and also you can do a "telnet serverip 8333" to see that you get a response

5) Running the client
// as above in 3, but with a proxy and tunneled to a server outside, you need to run :
** whateverpath **/bitcoin -proxy=ipaddress:port -server &  // ipaddress must be ip, not hostname!!!

Pages: [1]
Jump to: is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!