|  Login  |  Register  | Thursday, September 9, 2010. 12:33 EST
Main Menu
Event Calendar
September 2010
S M T W T F S
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
Mail List
Google Groups
ClustrMaps
Locations of visitors to this page
Digital Rights Trap
Beware digital rights traps
Friends of SVLUG

Goodwill Computer

Bettong.org

Linux Australia

MawsonLakes.Org

Weather
Adelaide
Conditions as of
33 minutes ago
mostly clear
Temp: 16 °C (61 °F) 
Rel hum: 77 % 
Dewpt: 12 °C (54 °F)
1008 hPa (29.77 inHg) 
Wind decreasing
NNW at 6.2 mps (13.8 mph)
Who's Online
8 user(s) are online (3 user(s) are browsing Forums)

Members: 0
Guests: 8

more...
Southern Vales Linux Users Group (SVLUG) Forum Index
   Software
  Howto: Install Boinc Seti on Ubuntu Linux

Browsing this Thread:   1 Anonymous Users

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
Howto: Install Boinc Seti on Ubuntu Linux
#1
Admin
Joined: 2006/2/12
From Adelaide, Australia
Posts: 19
Level : 3
HP : 0 / 52
MP : 6 / 698
EXP : 9
Group:
Webmasters
Offline
Original Howto is here: http://atravesdelmonitor.lamatriz.org/category/aplicaciones/boinc/

First you need to have a Boinc account such as:

* Seti@home
* Einstein@home
* ClimatePrediction.net
* LHC@home

In our case I will consider a Seti@home user.

Download the lastest Boinc Client Sofware for Linux.

After saving the Boinc client to your machine copy it to a folder of your choice. I will use the /opt folder. You can adapt the instructions if you wish to install it to a different location.

Open the Shell Prompt where you downloaded your Boinc Client to and type the following:
sudo mv boinc_5.4.9_i686-pc-linux-gnu.sh /opt

cd /opt

Since the last command above was "cd /opt" you should be sitting inside the /opt folder. Now we will change the archive permission as an executable and delete the original Boinc Client by using the following commands:
sudo chmod +x boinc_5.4.9_i686-pc-linux-gnu.sh

sudo ./boinc_5.4.9_i686-pc-linux-gnu.sh

sudo rm boinc_5.4.9_i686-pc-linux-gnu.sh

The first execution of Boinc will be done manually and during this process we'll configure our Boinc Client.

Type the following:
cd BOINC

sudo ./boinc -attach_project http://setiathome.berkeley.edu xxxxxxxxxxxxxxxxxxxx

Where xxxxxxxxxxxxxxxxxxxx is your alpha-numeric Seti@home account key that been set to you via email.

Wait for the Boinc Client to complete the process of attaching to your account and when you notice that it's processing a Seti Unit cancel the program by hitting Ctrl+C, so we can proceed with the next step of the setup.

Now its time to create the script. As mentioned before this process is suitable to a Debian based Linux. Using Kate, Gedit or any other text editor we'll create an archive named boinc in /etc/init.d: by typing the following command:
sudo gedit /etc/init.d/boinc

then copy the following script into the text editor window:
#!/bin/sh
# /etc/init.d/boinc
# Start/stop/restart
boinc_start() {
if [ -x /opt/BOINC/run_client ]; then
echo “Comenzando BOINC.”
/opt/BOINC/run_client > boinc.log &
fi
}
boinc_stop() {
echo “Stopping BOINC.”
sudo killall boinc
}
boinc_restart() {
boinc_stop
sleep 2
boinc_start
}
case “$1″ in
’start’)
boinc_start
;;
’stop’)
boinc_stop
;;
‘restart’)
boinc_restart
;;
*)
boinc_start
esac


At this point, after we have saved the script above, we'll make the script an executable and run it to make sure it works by typing the commands below:
sudo chmod +x /etc/init.d/boinc

sudo /etc/init.d/boinc start

NOTE: "ps -A" will show a list of all the processes running on your Linux box. Look for two processes labelled "setiathome_4.02" and "boinc" in the list. If you see them it means that you are now running Seti in your box.

Note that the script points to a file labelled boinc.log which will be saved inside /opt/BOINC. If we want to revise this file we just need to use the following command:
less /opt/BOINC/boinc.log

The next step is creating a symbolic link by typing the following command:
sudo ln -s /etc/init.d/boinc /etc/rc2.d/S99boinc

Done that we can now reboot the machine and Seti at home will start automatically. If you are in doubt just use the "ps -A" command and check the list.
_________________
Dale
Posted on: 2006/5/14 11:30
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.