WARNING
February 15, 2020 ยท View on GitHub
this is an old expired version of the documentation.
Please use the new documentation instead.
Here is the main page for the new documentation: https://github.com/zack-bitcoin/amoveo-docs
And here is the link for the newest version of the page you are currently looking at
First you have to install the dependencies. This depends on your Linux distribution. If unsure you can try lsb_release -d to check your distribution.
Then install dependencies using the instructions for your distribution:
Finally proceed to instructions after dependencies
For Ubuntu
-
Make sure that that you are running Ubuntu 18 or later:
(earlier versions of ubuntu requires manually installing the latest version of erlang, because the package manager installs an old version)
Use this command to check your version number
lsb_release -a -
Make sure that your system is up-to-date:
sudo apt-get updateand
sudo apt-get upgrade -
Install following dependencies:
sudo apt install erlang-asn1 erlang-public-key erlang-ssl erlang-inets erlang-jiffy erlang-dev erlang-base-hipe libncurses5-dev libssl-dev unixodbc-dev g++ git make python
For ArchLinux
-
Make sure your system is up to date. This step is important, because it also synchronises repository database:
sudo pacman -Syu -
Install the dependencies:
pacman -S --needed community/erlang extra/git extra/unixodbc core/gcc core/ncurses extra/wgetyou also need
awkandmake
For OpenSuSE
Tested on OpenSuSE Leap 42.3. OpenSuSE requires manual compilation and instalation of Erlang.
- Install the dependencies:
+ java-1_8_0-openjdk-Devel
+ gcc
+ gcc-c++
+ git
+ make
+ m4
+ ncurses-devel
+ libopenssl-devel
- Install Erlang from source:
-
get the source:
wget http://erlang.org/download/otp_src_20.0.tar.gz -
verify the tarball:
tar tvzf otp_src_20.0.tar.gz -
unpack tarball:
tar xzf otp_src_20.0.tar.gz -
prepare environment (follow steps of erlang install readme):
cd otp_src_20.0 export ERL_TOP=`pwd` export LANG=C ./configure --enable-hipe -
compile & test it (still along erlang docs):
make make release_tests cd release/tests/test_server $ERL_TOP/bin/erl -s ts install -s ts smoke_test batch -s init stop -
verify results in a browser (for example lynx):
lynx index.html -
install erlang:
cd $ERL_TOP sudo make install -
start erlang from your command line and see, if [hipe] is displayed.
After Dependencies
Next, download Amoveo. You should run following steps with a non-root user, for better security.
git clone https://github.com/zack-bitcoin/amoveo.git
Now you can go into the directory, and compile Amoveo.
cd amoveo/
make prod-build
Now you can run your node. For instructions proceed to turn_it_on.