Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Silk Network: Silk(SLK), DarkSilk(DSLK) and Weaver
by
PrometheusX
on 29/09/2016, 07:24:43 UTC


HowTo

Preparations

- For fresh Raspbian Installations
(I'm using here the newest minimal Image)

.. Flash it on your SD Card
.. Start your Raspberry Pi
.. run
Code:
sudo raspi-config
and configure all what u need
.. restart your Raspberry Pi

.. Update your installation list
Code:
sudo apt-get update

.. Update your Raspbian
Code:
sudo apt-get upgrade


- ROOT user

If you never used root on your raspberry pi

Code:
sudo passwd root
(enter the wanted password for root user)

Code:
su root
(enter the password for root user)

- BerkeleyDB
(MUST be done as root, SUDO dont work)

Code:
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)

Code:
mkdir /Berkeley
cd /Berkeley
(I'm building in that folder the needed BerkeleyDB, should not be changed)

Code:
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.Cool

Code:
exit
or
Code:
su your-SLK-user

- SLK download and compiling

Code:
cd ~
(or jump to the folder where u want the SLK source , SLK folder is created from git)

Code:
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)

Code:
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

Code:
./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
Code:
./silk-cli stop

If this HowTo is helpfull then it would be nice if u help me with some SLK
SYZU8arw9LSxDtM7shm2S23WrD5WSbGbB9

Finaly i performd all tests and its working like on an normal PC
Speed it very nice , very stabel , low RAM/CPU usage

When DSLK is released i will make an HowTo for it too