Hi all!
As many already know, Folding@Home is a program that makes you contribute to research against various diseases (Cancer, Covid, Parkinson...) just using your PC CPU or GPU.
Now I'm here to explain how to create a F@H server on Digital Ocean and get 2 moths FREE!
0. Why DigitalOcean?
I choose to use DigitalOcean because you get 100$ of free credit for 2 months and you can choose to create a f@h server directly.
It's super easy to set up and you're ready to start in few minutes.
1. Start
First things first: Sign up.
You can use my referral code or just sign up here. Both ways you'll get 100$ to spend in two months. You can sign up with email, google account or GitHub account.
Important: you won't get any GUI so everything will be made by terminal. If you're not used to linux systems, don't worry! It's very easy to get started
They will ask for payment of 5 USD and you can pay by credit card or Paypal.
Once you're verified, we can move to next step
1.1 Get Banano wallet and ID
Just go to vault.banano.cc to create a new wallet or download Kalium on your phone. Once you have created your wallet, copy its address and paste it here. You'll get ID and we will use it in section 3.
2. Create droplet
Now we can move on and create your first Droplet!
On your dashboard you will see something like this at the top:
- Click on Create --> Droplet
- Select Marketplace
- Search for "folding@home" in the search bar
- Select your CPU options (I personally set 4 GB/2 CPU but we'll discuss this later)
- Select a datacenter region
- Choose if you want to use SSH keys or password. I'll go for the password option
- Create your droplet!
It will take some minutes to start, but you can see in your dashboard all active droplets.
3. Get started
Quoting info about this Droplet:
Getting started after deploying Folding@home
By default when the droplet is created, Folding@home is installed and running with the default user (Anonymous), the default team (0), at medium power, and with no passkey. To configure these parameters, ssh on to the droplet and execute the following:
sudo /etc/init.d/FAHClient stop
FAHClient --configure
# enter your desired configuration
# copy/merge this configuration over to /etc/fahclient/config.xml
sudo /etc/init.d/FAHClient start
For more information on configuring Folding@home, see:
https://foldingathome.org/support/faq/installation-guides/linux/
https://foldingathome.org/support/faq/installation-guides/linux/command-line-options/
https://foldingathome.org/support/faq/installation-guides/configuration-guide/
Click on your droplet, it will open new window where you will see all the stats.
Click Access and Launch Recovery Console
New window will open and you have to login.
username is root and the password is (obviously) the password you choose in section 2
Now you will have something similar
Write:
- sudo /etc/init.d/FAHClient stop
- FAHClient --configure
- Write your name, team number and passkey.
To check your configuration write:
- cd /etc/fahclient
- vim config.xml
It will open your config.xml file and it should look like this:
If not, you can modify it by pressing a. Edit what you need, press ESC to exit and :wq! to save you config (more info about Vim editor here)
Now run your client with
- sudo /etc/init.d/FAHClient start
To see your progress in F@H just write FAHClient on the command line and it will display your work unit and progress.
Congrats! Everything is set up and you are actively helping researcher fighting terrible diseases
4. Considerations
By now I've two Droplets working on DigitalOcean with 4GB od CPU and it needs 1,5 day to complete one work unit (average). You can check your points at https://apps.foldingathome.org/teamstats/team234980.html by searching for your username on the page.
Usually I get 10/20 BAN per day (~0.08-0.18€). Of course you would spend more than you get but you can choose to exchange BAN for other crypto or just HODL BAN and have fun!.
I suggest you to get passkey because it will give you more points.
By now, using mostly my droplets, I get >187k points in 20 days.
Feel free to comment and ask if something is not clear.
I'm sorry for my English, but I'm not native English speaker, I hope my tutorial is easy to understand =D
If you like this article, feel free to tip me or send me some BAN or NANO at this addresses:
BAN : ban_3iq51qnwzcomip9adiaguad7f1b1tozyhq9kc7hspc3ahtdmiabo5r4huee4
NANO : nano_3ep6fauodhnwtu3etqyqb9cgj5rojrark1kboqncox69hhnfezn9mxiawjht