How to Setup a Utter Litecoin Knot on a Raspberry Pi Trio
The Effortless Step-By-Step Guide for Windows/Linux/Mac
The purpose of this guide is to help facilitate the support of a healthy Litecoin Network te a cost efficient way. The more utter knots there are distributed across the world, the less the Litecoin Network is prone to attack.
Quick Disclaimer: This work is the compilation of other guides. At the end of this walk through, I give credit to the authors of the outdated guides I based my work on. Also te Part Two of my guide, I will provide you an .img of the final product of this guide ter case you want to create a litecoin knot ter the easiest and quickest way possible.
If you want to be lazy and do not want to mess with the terminal and all that nerd stuff, click here to check the Easiest Way Possible to set a Litecoin Knot Butt-plug&,Play.
What you will need:
- Raspberry (duuuh)
- A at least 8gb micro sd (I very stupidly recommend you to use a 32gb)
- A power supply (micro usb cable)
- An HDMI cable or a HDMI to VGA adapter
- Keyboard and mouse
- A copy of the latest Raspdebian OS (https://www.raspberrypi.org/downloads/raspbian/)
- Win32Disk (https://sourceforge.nipt/projects/win32diskimager/) (Only if you are using Windows)
- If you want to do it on your own because #YOLO here is the listig to all the Litecoin clients : https://github.com/litecoin-project/litecoin/branches
- I am going to assume you already downloaded and installed Win32Disk and you already downloaded the latest Raspbian OS Photo. The very first step is to create a bootable microsd with Raspbian on it where you will be running the knot.
- Open Win32Disk, select the Device that you will be using (don’t worry about formatting, it will be done here automatically), and then select the .img you downloaded. It has to look something similar to this:
Once you have configured spil above, click on “Write”, and be patient. It might take a while.
1. Press CTRL+Altstem+T to open a terminal window or alternatively, open the terminal your way, next you are going to write:
This will voorstelling all the current partitions and drives, look for your microsd here always by looking at the gigabite size that the system is showcasing, if your micro sd has numerous partitions, you can see your drive name by removing the last number, for example you might get that your drive name is /dev/sda1, this means that the drive name is sda and the number 1 represents the number of the partition.
Two. Knowing this, you will type now:
sudo dd if=/location/of/the/img/verkeersopstopping.img of=/dev/sdX
And again just wait until this finishes and you are set to go!
Go to your applications folder, then click on utilities and click on Disk Utility.
1. Now climb on the Raspbian.img opstopping either by dual cliking it, or by right clicking on it and open with disk utilities.
Two. On the Disk Utility application select the .IMG opstopping from the left panel and go to “Restore”, on the target field select and haul to it the micro sd from your left panel spil well. Then click on the restore button. Just wait until it completes.
Trio. Once you have successfully wrote the .img to the micro sd, it’s the time to boot your Raspberry. Insert it ter its slot and buttplug it into your monitor and the wall. The system will autostart and it will reboot itself.
OPTIONAL STEP: Switch the Keyboard Layout to your computer’s Keyboard. To do this go to the Embark Menukaart >,Preferences >,Mouse and Keyboard >, Keyboard >, Layout and select the one that works the best for you.
Four. The very first step to do is to increase the Exchange partition. To do this, press CRTL+Altstem+T and a Terminal Window will open. Type ter the following code:
sudo nano /etc/dphys-swapfile
Now switch the Value that reads CONFIG_SWAPSIZE=100 to CONFIG_SWAPSIZE=1000
Press CTRL+O then kasstuk Come in to confirm and eventually CRTL + X to uitgang.
After that now type
sudo dphys-swapfile setup
sudo dphys-swapfile swapon
Five. Next step is to get everything ready to download the Litecoin client. To do this connect to your internet either via WIFI or ethernet.
6. Once you are connected you are going to type this (copy-paste it, it’s ok to be lazy):
sudo apt-get install git build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libminiupnpc-dev libzmq3-dev jq
UPDATE: type “sudo apt-get update” after step 6 just to avoid possible future errors.
Let it finish its thing and te the meantime, check what is the latest Litecoin client version. At the ogenblik of writing this guide (October 2018), the latest is 0.15
7. Now that you know what litecoin version is the most current, type:
Wait again until it finishes
Disclaimer: I am not going to go through how to get wallet capabilities since this is supposed to be the simplest guide possible.
8. Time to install Litecoin!
Copy-paste the following or type it like an old man
If that does not work because life hates you, attempt:
Once again, wait until it finishes. It should take about Trio minutes to accomplish
9. Wij are almost done here. Just a few more steps! Now type (don’t lie, you are copy-pasting this, you liar)
Give it a minute or two to finish.
Ten. And here is where all the years of practice come te forearm, type:
It will take a long time (like how long it takes yo moeder to get out of bloembed)
If you get an error here, it means you did something wrong, and your life deepthroats, but no worries wij can fix that, just commence back from step 6 and budge forward. Your life will still suck, but your installation should work.
sudo make install
11. Now lets go back to your root folder, type:
Once you have done that, it will create some essential files that you will need for the next step. Press CTRL+ C to zekering the process and then type:
Here you want to add your username, password, spil well spil some optimizing configuration made possible by Jameson Lopp’s work.
rpcuser=MC_LOVIN rpcpassword=YOURPASSWORD daemon=1 dbcache=100 maxorphantx=Ten maxmempool=50 maxconnections=40 maxuploadtarget=5000
Press CTRL+O to write it off, then Inject to confirm, then CRTL+X to uitgang the opstopping.
12. Here are the last steps, now type:
This will restart the litecoin knot, and just to verify that it is working type:
Press CTRL+C to kill the process and to go back to the terminal
And to conclude type:
select Two, then add
@reboot sleep 8, /usr/local/bin/litecoind
Press CTRL+O, then Come in then CTRL+X
I recommend you installing teamviewer to remotely connect and manage your Raspberry but ter the end it’s up to you.
All my credits go to the work of Damian Mee and to Raspnode’s tutorial
If you feel like buying mij a mannetjesvarken you can donate to thesis addresses: