Saminnet-Search Article Wiki Forum Piwigo SNS Cloud vtiger Sugar
Bitcoin Network Supporter

  • Data-Articles
    • Desa Nelayan Makmur (69) Fri02,20:43pm

      KALAUツdilihat Desa Bendar tidaklah berbeda dengan desa-desa lainnya. Berada di tepi sungai Juwana, kecamatan Juwana, kabupaten Pati, Jawa Tengah. Pun, tempat ini memiliki pelelangan ikan pula. Yang membedakan dengan desa-desa nelayan lainnya adalah rumah-rumah kokoh dan besar. Ya, desa nelayan ini bukanlah sembarangan desa nelayan. Kebanyakan warga desa ini adalah pengusaha kapal penangkap ikan.…


Bitcoin Network Supporter

There窶冱 a lot of interest at the moment in the Bitcoin Unlimited project and people have been asking how they can help. A great way to help out with the project is to run a Bitcoin Unlimited full node. This article will show you how to set up a full node on a cheap virtual server.

1. Log in to your preferred VPS provider.

I窶冦 using Digital Ocean here so some of the specifics will relate to them but other VPS providers will have similar features. Choose a provider to suit your preferences and budget. The emphasis in this article will be to do things as cheaply as possible so you should be able to pick up a small VPS for around US$10 per month.

2. Create a small 窶彭roplet窶 / VPS.

I suggest a 1GB RAM, 20GB disk 窶彭roplet窶 server or something similar. If you窶决e really on a budget you can go as low as 512MB RAM but it may swap a fair bit. When you create your VPS I recommend you choose Ubuntu 16.04 as the operating system窶岩披格t窶冤l make things easier later on since bitcoin unlimited is easy to install on Ubuntu.

3. Secure your new server.

Log in to your new virtual server as root. The way to do this varies depending on your VPS provider. It窶冱 usually possible to login via ssh or from a remote console window.

Once you窶决e at the command line the first thing to do is secure it. We窶冤l start by setting up some firewall rules.

# ufw allow ssh
# ufw allow 8333
# ufw default deny incoming
# ufw default allow outgoing
# ufw enable

These rules tell your machine to ignore any incoming network traffic except bitcoin and remote logins.

4. Install the bitcoin unlimited software.

If you窶决e using Ubuntu it窶冱 easy:

# apt-get install software-properties-common
# add-apt-repository ppa:bitcoin-unlimited/bu-ppa
# apt-get update
# apt-get install bitcoind

If you窶决e not using Ubuntu take a look at theツinstallation instructions on this pageツinstead.

5. Create a bitcoin user.

We窶冤l make a bitcoin user account and give it the ability to use 窶徭udo窶 so you can do some system administration from the bitcoin user if you want to.

# adduser bitcoin
# usermod -a -G sudo bitcoin

6. Set up log rotation for your bitcoin logs.

This will ensure that your logs don窶冲 grow too big and use up all your disk space.

Create a new log rotation file:

# nano /etc/logrotate.d/bitcoin-debug

Enter into it:

rotate 5

7. Configure bitcoin.

We窶决e going to set up your node as a 窶湾runing窶 node. This means it doesn窶冲 need to have all 100GB of the blockchain窶岩披格t窶冤l only keep the most recent parts of it.

# su - bitcoin
$ mkdir .bitcoin
$ cd .bitcoin
$ nano bitcoin.conf

Add to the file:


Save the file and press control-D to log out of the bitcoin userツandツbecomeツrootツagain.

8. Configure swap space.

Running a full bitcoin node uses a little over 1GB of memory. The node we created only has 1GB so we窶冤l make some spare 窶忻irtual memory窶 using swap space.

# fallocate -l 1g /swap1.swap
# chmod 0600 /swap1.swap
# mkswap /swap1.swap
# swapon /swap1.swap
# nano /etc/fstab

Add this line at the end of the file:

/swap1.swap  none  swap  sw  0  0

9. Set up the bitcoin daemon to auto-run.

Create a startup file:

# nano /etc/systemd/system/

Enter into it:

Description=Bitcoin Server



# Start main service
ExecStop=/usr/bin/bitcoin-cli stop


Reload systemd and start bitcoind:

# systemctl daemon-reload
# systemctl restart bitcoind
# systemctl status bitcoind

10. (optional) Set up user logins with ssh

If you want to log directly in to your new server using ssh you may want to set up ssh public key authentication.ツThis guideツfrom Digital Ocean is quite good.


0 #1 Guest 2019-02-18 21:09
You actually make it seem so easy with your presentation but
I find this matter to be actually something that I think I would never understand.
It seems too complicated and extremely broad for me.
I am looking forward for your next post, I will try to get the hang of it!

my web blog - cheap server

Articles by Date

TweetTweet Share on LinkedInShare on LinkedIn Share on Google+Google+ Submit to RedditReddit Publish on WordPress WordPress Send emailSend email