PDA

View Full Version : BOINC installation through linux terminal



pinhodecarlos
06-30-14, 06:11 PM
Topic says everything, how do I install BOINC though linux terminal? I have access to two linux servers from a windows machine using Putty software.

Thank you in advance,

Carlos

Fire$torm
06-30-14, 07:25 PM
Mumps...????

pinhodecarlos
06-30-14, 07:28 PM
This one going to be tough. I am not a linux geek, I've been reading the wiki of BOINC but it is too much for me.
I am still doing some manual work but after that I can give full access to the server if it is better this way. I want to run NFS@Home.

Mumps
06-30-14, 07:47 PM
What flavor of Linux? On Ubuntu, it's as simple as grabbing the latest Linux version from the Boinc/DL page (http://boinc.berkeley.edu/dl/), (Looks like boinc_7.3.19_x86_64-pc-linux-gnu.sh (http://boinc.berkeley.edu/dl/boinc_7.3.19_x86_64-pc-linux-gnu.sh) is the latest Linux x64 version) and executing it from your home directory.

At the putty command prompt, after you've logged in:
sudo bash Downloads/boinc_7.3.19_x86_64-pc-linux-gnu.sh

This presumes you've already downloaded that package on this linux system.

You may find some dependencies that aren't met out of the box though, but their installer is stupid enough it won't let you know about them. You can use ldd BOINC/boinc to see if there's any missing modules that are required. I think this first one is required to even be able to start boinc. There are others I normally install as well, but those depend on which projects you expect to run. Some want ia32-libs, and others have even more supplemental packages, but not very often.

sudo apt-get -y install libwxgtk2.8

pinhodecarlos
06-30-14, 08:14 PM
I think one has ubuntu but the other I don't know. Can I get that info from command line?

Mumps
06-30-14, 09:24 PM
cat /etc/issue

Should give you basic info about the version of Linux regardless of which one it is.

pinhodecarlos
07-03-14, 03:48 PM
~ $ cat /proc/version
Linux version 3.9.10-alt371-amd64 (root@sysresccd) (gcc version 4.6.4 (Funtoo 4.6.4) ) #1 SMP Wed Sep 4 10:28:28 BRT 2013

Slicker
07-03-14, 04:52 PM
Step 1. Download BOINC from the boinc web site. That either means using a box with a GUI and then ftp back to the box with terminal only or install Lynx or use wget with the correct url.
Step 2. chmod 755 <filename> to make the .sh file executable
Step 3. ./<filename> to install to the BOINC sub-folder
Step 4. cd BOINC
Step 5. edit the gui_rpc_auth.cfg and/or the cc_config.xml to allow remote access if needed
Step 6. ./run_client to start BOINC
Step 7. Either use another machine (the reason for remote access) or use the boinccmd in the same folder to add a project, etc.

If you run into the error: ./boinc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by ./boinc)
then complain to DA and friends about using libc versions that are not available in standard (non experimental) versions of Debian and Ubuntu. Been there, done that. Got nowhere. I have to laugh that I can't run the BOINC client on the Collatz BOINC server -- at least not a current version.

pinhodecarlos
07-03-14, 05:12 PM
Slicker, how do I add a project through command line?

Mumps
07-03-14, 05:53 PM
Here's a snippet from my scripts with an example for WuProp that should work for you adding projects

cd BOINC
test=`./boinccmd --lookup_account http://wuprop.boinc-af.org/ your@email.here Your.Password | awk '/key:/ { print \$3 }'`
./boinccmd --project_attach http://wuprop.boinc-af.org/ $test

trigggl
07-04-14, 06:13 PM
nevermind, already been answered