Setting up BOINC on RHEL 6.1 - for a windows guy

Wiz

Diamond Member
Feb 5, 2000
6,459
16
81
Or - "how to set up BOINC on rhel for dummies"

I downloaded the .sh file from BOINC and then ran "sh filename.sh"
Now I have some BOINC files in a directory.
If I run one I get the familiar BOINC interface but it just says "Connecting to Localhost".
What am I missing?

I'm having to learn RHEL for work, figured that installing and configuring BOINC would be "educational"...
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,506
4,352
75
Sudo.

rm -r boinc ; sudo sh filename.sh

Even that might not be sufficient. If you had a Debian-based distribution like Ubuntu (or Mint), you could just say "sudo apt-get install boinc" and be done. RHEL doesn't make it that easy. :(

Edit: You might not need that, but you need to run the service somehow.
 
Last edited:

Wiz

Diamond Member
Feb 5, 2000
6,459
16
81
Right, did it on Ubuntu before and yes this is different.
I'll see what happens tomorrow at post again here.
 

Bok7575

Member
Mar 6, 2004
89
9
66
It's relatively simple on any *nix platform. I use RHEL for work and CentOS at home. But I'd recommend not even using the gui on that machine. Try this.

1. install as you did using the sh boincxxx.whatever.sh

2. cd BOINC

3. create a remote_hosts.cfg file and enter the IP address OR name of a windows machine you'd use to manage it inside there.

4. create a gui_rpc_auth.cfg file with one line of a password for it. Personally I just use 'boinc' on my own internal network.

5. sh boinc --allow_remote_gui_rpc

6. It should be running now, go back to windows and in a BOINC manager windows go to Advanced->Select Computer and select it where you can add projects and the like as normal.

Bok

p.s. I rarely install a GUI on my linux boxen so this is how I always do it. YMMV. As you are learning RHEL I'd look into using the 'screen' command too that way you can drop in and out of the shell running this...
 

Wiz

Diamond Member
Feb 5, 2000
6,459
16
81
Well in the first class I had they instructed me to run GNOME so that's what I'm doing.
I got BOINC running with "./run_manager &" at the command line and have tasks going now.

I am not too clear about how to make this persistent through restarts, I'd like it to automatically start whenever the OS is started.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,506
4,352
75
If installing with sudo didn't do that, you probably need to add a new script to /etc/init.d to start BOINC Manager. There should be others there that you can look at as templates. It's still not the easiest thing to do, though.

There could be an easier GUI way; but I'm not sure what RHEL has as opposed to Ubuntu.