| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 9
|
|
| Author |
|
|
Sergey
Cruncher Joined: Aug 23, 2007 Post Count: 4 Status: Offline Project Badges:
|
Hello,
I want to add an additional device to my account, it's an UBUNTU (command line only) Have downloaded and unpacked the software. What now? There is no CLEAR explanation except a generic: " Just attach to World Community Grid using the url: http://www.worldcommunitygrid.org and using the member name and password you created in step 1 above." What would be the appropriate way for it to show in the device list? Thanks |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Don't use the download from this site. All you need to do is this:
sudo aptitude install boinc-client Where account_key is your account key from https://secure.worldcommunitygrid.org/ms/viewMyProfile.do If this doesn't work (I haven't tested it recently, and BOINC has no regression testing) please let me know. |
||
|
|
Sergey
Cruncher Joined: Aug 23, 2007 Post Count: 4 Status: Offline Project Badges:
|
Hello,
Thank you for your reply. While issuing the command I'm getting the following error: can't connect to local host I have downloaded the *.sh version not through repository if it makes a difference. |
||
|
|
uplinger
Former World Community Grid Tech Joined: May 23, 2005 Post Count: 3952 Status: Offline Project Badges:
|
What Didactylos mentioned is an easier way to get the BOINC agent installed on your new ubuntu machine. I would however recommend if you are going to install this way, you also include the boinc-manager as it will show you what is running on boinc.
Also, i use apt-get which is similar to aptitude sudo apt-get install boinc-client boinc-manager Then when it asks for your password, put in your password for the current user you're installing it as. Then when the install is complete, go to the Applications menu at the top and then "system tools" in there you'll see boinc manager. open that and it'll walk you through attaching to a project. Just type in the worldcommunitygrid.org for the url and the login/password you use for the website. You should be all set. Note: Using this method allows BOINC to be installed as a service and will start up on boot and run in the background whenever the machine is on. Hope this helps, -Uplinger |
||
|
|
Sergey
Cruncher Joined: Aug 23, 2007 Post Count: 4 Status: Offline Project Badges:
|
Hello,
Thank you for you reply. I would prefer to use only the console version (*.sh) as I do not have X installed on this machine, and I'm planning on having one. My question would actually be: How using the *sh pack I connect and register additional device? I do not want it to run as a service and would like to control it manually as it will be left running through screen. Thanks again. |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Hi Vick Vega.
There is some confusion here (and it really isn't your fault). BOINC comes in two parts, the client and the manager. The .sh you downloaded contains both. The problem with the .sh file is it does nothing to install BOINC - it just unpacks it. It doesn't set it to run at startup, it doesn't put files in the places you would expect, and it doesn't set up a user account. That's why we recommend the Ubuntu package(s). It is split in two so you can install the client and manager independently. It sets up a lot of things so you can control BOINC like any other Linux service. So: 1. Delete the .sh file and the files it extracted. 2. sudo apt-get install boinc-client 3. Use boinccmd to set it up and control it. If you really want to stick with the .sh, then you still use boinccmd to control things. Note: it may be named boinc_cmd. It varies by version. |
||
|
|
uplinger
Former World Community Grid Tech Joined: May 23, 2005 Post Count: 3952 Status: Offline Project Badges:
|
First, what you'll want to do in this case is.
(note the * are because i'm not 100% sure what version you downloaded) $ chmod +x boinc_6.*.sh $ ./boinc_6.*.sh Then when this is done, go into the BOINC directory. $ cd BOINC If you want to set up BOINC to be accessed from a boinc manager on another computer you'll need to set up the gui_rpc password file. $ echo "mypassword" > gui_rpc_auth.cfg Now time to start boinc on that computer...this is the command line I use on devices installed this way. $ ./boinc --return_results_immediately --allow_remote_gui_rpc --redirectio --daemon You can get rid of the --allow_remote_gui_rpc if you are not planning on controlling boinc from another computer. Next you'll need to attach to world community grid. $ ./boinc_cmd --project_attach http://www.worldcommunitygrid.org <auth code for wcg> <auth code for wcg> is in your "My Grid" -> "My Profile" towards the bottom of that page. Should look like a bunch of characters... If you have questions about remote gui we can help with that as well. Hope this helps, -Uplinger |
||
|
|
Sergey
Cruncher Joined: Aug 23, 2007 Post Count: 4 Status: Offline Project Badges:
|
You know, this is absolutely amazing how is something that should help people turns to be a real disaster.
My first device, I didn't have any problem with connecting it. I just ran 1(one) (single) command. That's it. I can't comprehend why this can't not be properly documented and explained. I can't even start of descibing how frustrating this is. Any way .... It doesn't work. I ran: $ ./boinc --return_results_immediately --redirectio --daemon It complained about "--return_results_immediately" Unknown option: --return_results_immediately And I checked and it's really not there. The auth code that you refer to, I assume it's is the one in the profile? BOINC Account Key: xxxxxxxxxxxxxxxxxxxxx BOINC Project URL: www.worldcommunitygrid.org Thanks. |
||
|
|
uplinger
Former World Community Grid Tech Joined: May 23, 2005 Post Count: 3952 Status: Offline Project Badges:
|
Sorry about the confusion on the command line. --return_results_immediately is an option I use on the 5.10.x client. You can remove this and it should work for you.
And you are correct, it is the BOINC Account Key... -Uplinger |
||
|
|
|