Building iond from source (Ubuntu 14,15,16)

Begin Wallet Install

sudo apt-get update
sudo apt-get upgrade

Expand Swap file (not optional for less than 2gb of ram)
if using a smaller vps make a larger swap fille (less than 2gb ram)

sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=2000
sudo mkswap /var/swap.img
sudo swapon /var/swap.img

Install dependencies

UBUNTU 14 ONLY: If using Ubuntu 15 or 16 Skip this set of commands and use the 15 and 16 only command

sudo apt-get install git build-essential libssl-dev libboost-all-dev libdb5.1-dev git libdb5.1++-dev libminiupnpc-dev make zip automake autogen libtool
(note: the above step may take a while)

UBUNTU 15 and 16 ONLY
sudo apt-get install git build-essential libssl-dev libboost-all-dev libdb5.3-dev git libdb5.3++-dev libminiupnpc-dev make zip automake autogen libtool
(note: the above step may take a while)

 
After Dependency install is complete, clone the repository
sudo git clone https://github.com/ionomy/ion.git ion

Next: Install secp256k1
cd ion/src/secp256k1
sudo chmod +x autogen.sh
sudo ./autogen.sh
sudo ./configure -prefix=/usr
sudo make install

After secp256k1 is complete, build the ion daemon
cd
cd ion/src
sudo make -f makefile.unix  
(this step may take a while)

 

After Build is completed, create configuration file

cd
mkdir .ion
cd .ion
sudo nano ion.conf

Enter the following into the editor

daemon=1
rpcuser=REPLACEME
rpcpassword=REPLACEME
rpcthreads=100
server=1
listen=1
dnsseed=1
rpcallowip=127.0.0.1
rpcport=AVAILABLEPORT
port=AVAILABLEPORT

ctrl+o to save
enter to confirm
ctrl+x to exit

Start the ion daemon

cd
cd ion/src
sudo ./iond

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.