HowToPreparations- For fresh Raspbian Installations
(I'm using here the newest minimal Image)
.. Flash it on your SD Card
.. Start your Raspberry Pi
.. run
sudo raspi-config
and configure all what u need
.. restart your Raspberry Pi
.. Update your installation list
sudo apt-get update
.. Update your Raspbian
sudo apt-get upgrade
- ROOT user
If you never used root on your raspberry pi
sudo passwd root
(enter the wanted password for root user)
su root
(enter the password for root user)
- BerkeleyDB
(MUST be done as root, SUDO dont work)
apt-get install build-essential
apt-get install git
apt-get install libssl-dev
apt-get install autoconf
apt-get install libtool
apt-get install libboost-all-dev
apt-get install libdb5.3-dev
apt-get install libdb5.3++-dev
(If you get any errors, feel free to contact me)
mkdir /Berkeley
cd /Berkeley
(I'm building in that folder the needed BerkeleyDB, should not be changed)
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
../dist/configure --enable-cxx --disable-shared --with-pic
make && make install
(Downloading , extracting, configure and compiling of the BerkeleyDB 4.

exit
or
su your-SLK-user
- SLK download and compiling
cd ~
(or jump to the folder where u want the SLK source , SLK folder is created from git)
git clone https://github.com/SilkNetwork/Silk-Core SLK
cd SLK
./autogen.sh
./configure --disable-tests LDFLAGS="-L/Berkeley/db-4.8.30.NC/build_unix" CPPFLAGS="-I/Berkeley/db-4.8.30.NC/build_unix"
make
(now the SLK client is almost ready)
cd src
cp silkd ~
cp silk-cli ~
cp silk-tx ~
cd ~
strip silkd
strip silk-cli
strip silk-tx
(Replace the ~ with the folder where u want your SLK client)
- Starting SLK Client
./slikd --daemon
(Currently u get an error of RPC User/Pass)
Before u start it again , edit the silk.conf file in the .silk folder
listen=1 ---> listen=0
(Possibly it will be fixed in upcoming releases)
- Stop the Daemon
./silk-cli stop
If this HowTo is helpfull then it would be nice if u help me with some SLK
SYZU8arw9LSxDtM7shm2S23WrD5WSbGbB9