Skip to content

Instantly share code, notes, and snippets.

@diegovdev
Forked from stevenzeiler/install_rippled.sh
Last active August 29, 2015 14:26
Show Gist options
  • Select an option

  • Save diegovdev/32b6bfde594b10282b41 to your computer and use it in GitHub Desktop.

Select an option

Save diegovdev/32b6bfde594b10282b41 to your computer and use it in GitHub Desktop.

Revisions

  1. Steven Zeiler revised this gist May 14, 2014. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions install_rippled.sh
    Original file line number Diff line number Diff line change
    @@ -7,3 +7,11 @@ sudo apt-get -y install build-essential g++ python-dev autotools-dev libicu-dev
    wget -O boost_1_55_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download
    tar xzvf boost_1_55_0.tar.gz
    cd boost_1_55_0/
    ./bootstrap.sh --prefix=/usr/local
    user_configFile=`find $PWD -name user-config.jam`
    echo "using mpi ;" >> $user_configFile
    n=`cat /proc/cpuinfo | grep "cpu cores" | uniq | awk '{print $NF}'`
    sudo ./b2 --with=all -j $n install
    sudo sh -c 'echo "/usr/local/lib" >> /etc/ld.so.conf.d/local.conf'
    sudo ldconfig

  2. Steven Zeiler revised this gist May 14, 2014. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions install_rippled.sh
    Original file line number Diff line number Diff line change
    @@ -3,3 +3,7 @@ sudo -y apt-get upgrade

    ## Install Boost

    sudo apt-get -y install build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev
    wget -O boost_1_55_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download
    tar xzvf boost_1_55_0.tar.gz
    cd boost_1_55_0/
  3. Steven Zeiler revised this gist May 14, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_rippled.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    sudo apt-get update
    sudo apt-get upgrade
    sudo -y apt-get upgrade

    ## Install Boost

  4. Steven Zeiler renamed this gist May 14, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. Steven Zeiler created this gist May 14, 2014.
    5 changes: 5 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    sudo apt-get update
    sudo apt-get upgrade

    ## Install Boost