0.5 Compiling from source on Debian - Makh1/italcoin GitHub Wiki

The process for compiling the ITAL coin daemon, italcoind, from the source code is pretty simple. This guide is based on the latest stable version of Debian Linux, though it should not need many modifications for any distro forked from Debian, such as Ubuntu and Xubuntu.

Update and install dependencies

apt-get update && apt-get upgrade

apt-get install ntp git build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev

wget http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.8.tar.gz && tar -zxf download.php\?file\=miniupnpc-1.8.tar.gz && cd miniupnpc-1.8/

make && make install && cd .. && rm -rf miniupnpc-1.8 download.php\?file\=miniupnpc-1.8.tar.gz

Note: Debian testing and unstable require libboost1.54-all-dev.

Download the source code

git clone https://github.com/Makh1/italcoin

Compile italcoind

cd italcoin/src

make -f makefile.unix USE_UPNP=1 USE_QRCODE=1 USE_IPV6=1

strip italcoind

Add a user and move litecoind

adduser italcoin && usermod -g users italcoin && delgroup italcoin && chmod 0701 /home/italcoin

mkdir /home/italcoin/bin

cp ~/italcoin/src/italcoind /home/italcoin/bin/italcoind

chown -R italcoin:users /home/italcoin/bin

cd && rm -rf italcoin

Run the daemon

su italcoin

cd && bin/italcoind

On the first run, italcoind will return an error and tell you to make a configuration file, named italcoin.conf, in order to add a username and password to the file.

nano ~/.italcoin/italcoin.conf && chmod 0600 ~/.italcoin/italcoin.conf

Add the following to your config file, changing the username and password to something secure:

daemon=1

rpcuser=<username>

rpcpassword=<secure password>

You can just copy the username and password provided by the error message when you first ran italcoind.

Run italcoind once more to start the daemon!

Using italcoind

italcoind help

The above command will list all available functions of the ITALcoin daemon. To safely stop the daemon, execute

italcoind stop

⚠️ **GitHub.com Fallback** ⚠️