Pages:
Author

Topic: Bitcoind CentOS Clean Compile On AWS EC2 - page 2. (Read 7401 times)

newbie
Activity: 23
Merit: 0

Easiest thing really is to create a local install which mirrors the packages you have installed on the remote server.


Its a great idea. I'm doing it on a spare box I happen to have.

However, one of the key reason for the Amazon Web Services EC2 machine is that anyone interested in helping/joining can exactly duplicate this setup for free or at very low cost.

Is there an easy way to use the EC2 install image to burn a boot CD?

member
Activity: 89
Merit: 21
another too
full member
Activity: 168
Merit: 100
Hi,

I've been using CentOS for years.
Easiest thing really is to create a local install which mirrors the packages you have installed on the remote server. It's free, why not?

Then you can do things like code locally and rsync over ssh to your remote server and it works.
newbie
Activity: 23
Merit: 0
Day 2...

a. Got the Amazon Web Services account set up (easy), and installed the free ECS instance of this Centos http://goo.gl/QX7N6

b. Amazon generated a public-private key pair for me, which I could download.

c. Installed putty.exe on my windows machine.

d. Used puttygen.exe (that came with putty) to import the Amazon-generated key into putty.

e. Was then able to use putty to connect to the ssh port of my new machine as root.

f. Installed all the development tools onto the centos server by typing  yum groupinstall 'Development Tools'
newbie
Activity: 23
Merit: 0
Day 1...

1. Get an Amazon AWS EC2 account and instantiate my free-for-a-year CentOS machine in the EC2.

2. I will also have to download putty.exe on my Windows machine in order to SSH into the cloud machine.

I think I will call my centos machine bitCloud...

Gonna read http://www.techrepublic.com/blog/datacenter/getting-to-the-command-line-starting-up-your-aws-ec2-machine-with-ssh/5106 and report back when bitCloud is up and running.
newbie
Activity: 23
Merit: 0
PRIMARY GOAL: A clean compile of bitcoind on a freshly instantiated Amazon EC2 server


Join this journey by adding the topic to your watch list (especially you, weex and kjj Smiley

http://t1.gstatic.com/images?q=tbn:ANd9GcSr3Ymfo70la581hp_n1dgmEXJysnXAqVvXotXzCLqYMhqXeuqa

1. What I have so far found does NOT work:


1.1 Michael Steurer's guide http://www.staff.tugraz.at/michael.steurer/Bitcoin-CentOS5.5-V1.pdf

Why? 1.1.1 Only a few of the (huge) boost library components are needed
        1.1.2 The libraries are statically linked, but then make calls like dlopen() to load dynamic libraries
        1.1.3 At least in my compile the boost had python!!! dependencies

1.2 David Sterry (weex) and kjj's GIT solution at https://github.com/weex/bitcoind-centos

Why? 1.2.1 The file makefile.new contains several undefined variables such as $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH)
        1.2.2 Since it's based on the Steurer guide above, the static/dynamic issue remain

2.3 Laszlo Hanyecz's guide at  http://btcsec.com/files/other/bitcoin-linuxbuild.pdf
     This is the famous dude who paid 10000 bitcoins to have pizza delivered to his house in Florida.
     This amazing story happened right here on this forum https://bitcointalk.org/?topic=137.0

Why? The guide is old and wxwidgets is not required anymore, but is the basis for all the other guides, so it's good to have handy.


2. PLAN


2.1 Get a free amazon EC2 cloud server as in http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html
2.2 Instantiate "the latest" CentOS image
2.3 Install the necessary build tools
2.4 Build the libraries that bitcoind needs
2.5 Build bitcoind itself
2.6 Discuss, document & refine every step until they are clear enough for an unsophisticad user to read the document & repeat the feat.







Pages:
Jump to: