Study BOINC Client - ji-it/CloudTides GitHub Wiki

Setup a VM with BOINC client installed

Refer to https://www.nakivo.com/blog/vm-templates-a-to-z/ for detailed steps.

In your cmd terminal or SSH client,

Type in "shell" to change mode. If shell is disabled,

shell.set --enabled true

SSH to your VM,

ssh username@ip_address

Install BOINC client in your VM,

$ sudo apt-get install boinc-client

Useful links: https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu, https://boinc.berkeley.edu/wiki/Installing_on_Linux

Register a BOINC (SETI@home, ScienceUnited Account)

Register on https://setiathome.berkeley.edu/ and https://scienceunited.org/

Run this account to start contributing

In your VM, change to root identity,

$ sudo -s

Change to BOINC directory,

$ cd /var/lib/boinc

To attach to your account,

$ boinccmd --project_attach URL account_key

where the account key can be found at https://setiathome.berkeley.edu/weak_auth.php.

To use account manager ScienceUnited,

$ boinccmd --acct_mgr attach https://scienceunited.org/ name password

Useful link: https://boinc.berkeley.edu/wiki/Boinccmd_tool

A VM template created with BOINC installed

Refer to https://www.nakivo.com/blog/vm-templates-a-to-z/ for detailed steps.

If the OS of the VM is Ubuntu 18.04, the network configuration should be modified before converting it to a template. Otherwise the deplyed VM from this template will share the same ip address with the base one. In the file /etc/netplan/xxx.yaml, replace the content with the following lines:

network:
    renderer: networkd
    version: 2
    ethernets:
        nicdevicename:
            dhcp4: true
            dhcp-identifier: mac

where nicdevicename is the name of your network device. Type in ifconfig to check it.

network

After the VM is created, click on the network connection in the VM setting page.

⚠️ **GitHub.com Fallback** ⚠️