Posted  by 

How To Install Boinc On Puppy Linux

How to install Seti on Linux - A newbie approach

Questions and Answers : Unix/Linux : How to install Seti on Linux - A newbie approach
Message board moderation

Puppy Linux is a collection of multiple Linux distributions, built on the same shared principles, built using the same set of tools, built on top of a unique set of puppy specific applications and configurations and generally speaking provide consistent behaviours and features, no matter which flavours you choose. Raspberry Pi: Meet the Pi. Berkeley Open Infrastructure for Network Computing (BOINC) $ su ­c 'yum install boinc­manager boinc­.

AuthorMessage
jfjunior
Send message
Joined: 9 Oct 99
Posts: 9
Credit: 16,375,776
RAC: 7,505
I've been looking for a step by step BOINC installation instructions tailored to a new Linux user such as myself for a very long time. When I was about to give up I found this well written documentation in Spanish. Here is my translation into English of this document.
The instructions below worked for me, with the exception of the Script file. According to the original instructions the script was tailored to a Debian based Linux. I'm using Mandriva 2006 and I need to start my Seti Client manually after each reboot. Well, I can live with that for now. Having said that it would be very nice if someone could complement these instructions and add more STEP by STEP details for a script which would work on Mandriva, Suse etc..
If you can read Spanish the original instructions are available here:
Lamatriz
My Spanish language skills are not the best, but I think the translation will be good enough to help the new Linux users out there having difficulties installing Seti.
So here we go, straight to the point now:
*************************************
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.
1 - Download the last Boinc Client Sofware for Linux. The latest version as of 23.10.2005 is: boinc_5.2.4_i686-pc-linux-gnu.sh and it can be found here: Boinc Client
2 - After saving the Boinc client to your machine copy it to a folder of your choice. I will follow the original document and use the /opt folder. You can adapt the instructions if you wish to install it to a different location. Just remember to also change the script file if you do so.
Open the Shell Prompt where you downloaded your Boinc Client to and type the following:
$ su
Password: xxxxxx
mv boinc_5.2.4_i686-pc-linux-gnu.sh /opt/
cd /opt
3 - 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:
$ chmod +x boinc_5.2.4_i686-pc-linux-gnu.sh
$ ./boinc_5.2.4_i686-pc-linux-gnu.sh
$ rm boinc_5.2.4_i686-pc-linux-gnu.sh
4 - The first execution of Boinc will be done manually and during this process we'll configure our Boinc Client.
Type the following:
$ cd BOINC/
$ ./boinc -attach_project http://setiathome.berkeley.edu xxxxxxxxxxxxxxxxxxxx
Where xxxxxxxxxxxxxxxxxxxx is your alpha-numeric Seti@home account key.
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.
5 - 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:
$ kate /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 “Starting 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
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
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:
$ chmod +x /etc/init.d/boinc
$ /etc/init.d/boinc start
$ ps -A
The last command above '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.
The next step is creating a symbolic link by typing the following command:
$ 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 again.
If you wish to attach another project to your Boinc Client just use the following commands:
$ /etc/init.d/boinc stop
$ cd /opt/BOINC
$ ./boinc -attach_project http://xxxxx yyyyyyyyy
Where http://xxxxx is the project URL and
yyyyyyyyy is the project key associated with your account.
and so on and so forth.
IMPORTANT NOTE: It appears that all the steps need to be performed while signed on as root (su). In my personal experience I was also unable to start Boinc without being signed on as root. I'm not sure if this is related to my Linux distribution or if its by design (sorry, but I'm a new Linux user with about 30 days experience in Linux at the most).
Somehow I'm unable to post the script properly as the Forum page keeps changing the Enconding, thus turning double quotes into a's, etc. Please go to Lamatriz to download the original script if you have any problems.
Again if someone can please add / clarify this document it will be very much appreciated. All the instructions I found to date about installing and running Seti on Linux appears to be tailored for Linux experts.
Thank you and happy crunching!!!
Trane Francks
Send message
Joined: 18 Jun 99
Posts: 221
Credit: 122,319
RAC: 0
I'm one who would not install BOINC as root. I installed into my user directory. It's very easy.
1. download boinc*.sh file to a temp dir
2. chmod +x the file
3. from $HOME, run this .sh file - it will unpack a BOINC directory
4. add a line to your crontab to autoexec boinc executable every time the system starts
My crontab looks like this:
# Start BOINC
*/10 * * * * cd /home/trane/boinc; ./boinc 1>>./boinclog 2>>./boincerr
Basically, it just tries to fire up BOINC every 10 min. Some guys don't like the noise it leaves in the log files, but I find it a convenient timestamp to see whenever a job doesn't swap out correctly. Running BOINC as a cron job means that the system merely needs to be running to exec. The user does not need to be logged on.
jfjunior
Send message
Joined: 9 Oct 99
Posts: 9
Credit: 16,375,776
RAC: 7,505
Hi Trane,
Thanks for your tip, but as a newbie I've no idea in how to add a line to crontab, etc. It looks very easy for a person with some experience in Linux, but for a newbie and I'm talking about a person who just download a copy of Linux about 25 days ago for the first time in his life, it sounds like brain surgery.
I think several users in the community would appreciate if you could elaborate and post a STEP by STEP instructions as the one I've posted before. Believe me I've Googled for days on end and I could not find anything which was as basic as these instructions in Spanish.
Lets for example take a look at your point number 2 below: 'chmod +x the file'. Now I know exactly what it means, but about 72 hours ago I had no idea what it meant.
For a person learning Linux/Unix I think the best approach would be getting instructions such as:
Go to the Linux shell prompt and type the following:
$ chmod +x filename.sh
etc..etc..
Well, I think you got my point. My objective here is to create a 'newbie set of instructions' and not for users with already some basic or expert knowledge of Linux.
The problem I find with Linux out there is that everything is so 'easy' to do and all the instructions, or most of them, are tailored to an user with already some Linux experience.
Lets not forget that there are people out there just starting up with Linux and they need all the help they can get and I mean STEP by STEP help. As long as things stay so hard to do in Linux, M$ will continue to be the monopoly it's today.
I would love to try your approach if you can please elaborate a little bit more, especially about the crontab part. Obviously I could Google crontab and read a book about it, but at this point I'm just trying to install Seti and post instructions which would be clear enough for a blind 125 years old lady who never touched a computer in her life, never mind Linux, to follow.
I also don't like the idea of running the program as root, but I have yet to find better and easier instructions to follow.
As for your crontab, isn't the BOINC folder name case sensitive? Apparently when you unpack the file it will create the folder BOINC instead boinc, correct?
# Start BOINC
*/10 * * * * cd /home/trane/boinc; ./boinc 1>>./boinclog 2>>./boincerr
Thanks again
I'm one who would not install BOINC as root. I installed into my user directory. It's very easy.
1. download boinc*.sh file to a temp dir
2. chmod +x the file
3. from $HOME, run this .sh file - it will unpack a BOINC directory
4. add a line to your crontab to autoexec boinc executable every time the system starts
My crontab looks like this:
# Start BOINC
*/10 * * * * cd /home/trane/boinc; ./boinc 1>>./boinclog 2>>./boincerr
Basically, it just tries to fire up BOINC every 10 min. Some guys don't like the noise it leaves in the log files, but I find it a convenient timestamp to see whenever a job doesn't swap out correctly. Running BOINC as a cron job means that the system merely needs to be running to exec. The user does not need to be logged on.

Trane Francks
Send message
Joined: 18 Jun 99
Posts: 221
Credit: 122,319
RAC: 0
I think several users in the community would appreciate if you could elaborate and post a STEP by STEP instructions as the one I've posted before.

I don't want this to sound unhelpful, but I think that users who are struggling to grasp when and how to open a shell are best served by finding basic Linux tutorials. For example, somebody getting started with Slackware would be very well served to read through The Revised Slackware Book Project. All the Linux basics are covered there.
Upon finding such information, the user now has all the tools necessary to get BOINC running and well beyond that, too. Serving up a step-by-step on how to get BOINC running doesn't really teach the user about living with Linux. I think the latter is far more beneficial.
I encourage users to look for distribution-related 'getting started' HOW-TOs and the like.
Cheers.
jfjunior
Send message
Joined: 9 Oct 99
Posts: 9
Credit: 16,375,776
RAC: 7,505
Well, I could not agree more than learning Linux is beneficial. This is my goal and I hope in a few months time I will master the basics. However I do feel that you lost track of what I was trying to accomplish here:
A how to for Linux 'NEWBIES' in how to install Seti.
Lets leave at that!!!
Jay
I think several users in the community would appreciate if you could elaborate and post a STEP by STEP instructions as the one I've posted before.

I don't want this to sound unhelpful, but I think that users who are struggling to grasp when and how to open a shell are best served by finding basic Linux tutorials. For example, somebody getting started with Slackware would be very well served to read through The Revised Slackware Book Project. All the Linux basics are covered there.
Upon finding such information, the user now has all the tools necessary to get BOINC running and well beyond that, too. Serving up a step-by-step on how to get BOINC running doesn't really teach the user about living with Linux. I think the latter is far more beneficial.
I encourage users to look for distribution-related 'getting started' HOW-TOs and the like.
Cheers.

Scarecrow
Send message
Joined: 15 Jul 00
Posts: 4520
Credit: 486,601
RAC: 0
I Running BOINC as a cron job means that the system merely needs to be running to exec. The user does not need to be logged on.

The cron-related method I use to run boinc as a non-root user is to put the @reboot command in that user's crontab. This will restart boinc for that user any time the system boots up. There's no checking or restarting if boinc dies an unnatural death while running, but for my purposes I'd rather it not restart if there are recurring problems that are causing it to crash. So far (knock on wood) boinc has never crashed, and if there's a controlled, or unexpected reboot, boinc will take off without any manual intervention.
First line in the user's crontab is:
@reboot /home/mdc/BOINC/boinc
jfjunior
Send message
Joined: 9 Oct 99
Posts: 9
Credit: 16,375,776
RAC: 7,505
Thanks Scarecrow. I will need to look more deeply into that and find out more about cron job. I really don't mind if it does not restart boinc in case it dies.
Trane provided a good link 'The Revised Slackware Book Project' and I will take a good look at it so I can at least master the basics. Then I will go back to my goal of posting a 'Seti Install - Newbie approach' thing, :)
Thanks a lot you guys for all the info. For sure I've learned a thing or two.
Regards..
I Running BOINC as a cron job means that the system merely needs to be running to exec. The user does not need to be logged on.

The cron-related method I use to run boinc as a non-root user is to put the @reboot command in that user's crontab. This will restart boinc for that user any time the system boots up. There's no checking or restarting if boinc dies an unnatural death while running, but for my purposes I'd rather it not restart if there are recurring problems that are causing it to crash. So far (knock on wood) boinc has never crashed, and if there's a controlled, or unexpected reboot, boinc will take off without any manual intervention.
First line in the user's crontab is:
@reboot /home/mdc/BOINC/boinc

Phil Wieland
Send message
Joined: 9 Aug 00
Posts: 47
Credit: 748,038
RAC: 0
The cron-related method I use to run boinc as a non-root user is to put the @reboot command in that user's crontab. This will restart boinc for that user any time the system boots up.

Just noticed this nifty trick. Is it a common feature of cron or is it limited to only certain versions of linux? The crontab man pages on Red Hat 9.0 don't mention @reboot , or am I looking in the wrong place?Phil
Liverpool, England
Scarecrow
Send message
Joined: 15 Jul 00
Posts: 4520
Credit: 486,601
RAC: 0
Just noticed this nifty trick. Is it a common feature of cron or is it limited to only certain versions of linux? The crontab man pages on Red Hat 9.0 don't mention @reboot , or am I looking in the wrong place?

I've heard that the suite of @ commands aren't universally shared between all versions of cron and distrubutions of Linux. Our 'standard' machines are Debian, with the current stable cron package version being 3.0pl1-86, by Paul Vixie. This version allows all the following:
In looking at this version's man page, I don't see any mention of the @ commands listed at all, but they do work. It may have to be a 'try it and see' exercise to verify it's existance and functionality on individual systems.
Phil Wieland
Send message
Joined: 9 Aug 00
Posts: 47
Credit: 748,038
RAC: 0

..
In looking at this version's man page, I don't see any mention of the @ commands listed at all, but they do work. It may have to be a 'try it and see' exercise to verify it's existance and functionality on individual systems.

Many thanks for the info. I'll give it a try when I've got a minute. It's got to be easier than all that fiddling with scripts in /etc/init.d
Phil
Liverpool, England
S@NL - Skipper
Volunteer tester
Send message
Joined: 5 Jul 99
Posts: 5
Credit: 2,282,704
RAC: 158
Well thanks for the info.
It did the trick for me.
Maybe I will try to change the user that is running boinc.
freeZotic van NovaLoka

Send message
Joined: 19 Feb 06
Posts: 4
Credit: 16,584
RAC: 0
Step by Step instructions is just what we need, but they have to be Step by Step with extreme detail in finding what where.
It didn't work for me, again, I'm really fed up with Boinc and Linux and the lot.
I want Windows and a Wizard and none of this monket bussiness.
Anyway thanks for exploring the same issue as me.
'On the shoulders of giantnumbers'
Dotsch
Volunteer tester
Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 915,005
RAC: 5
Step by Step instructions is just what we need, but they have to be Step by Step with extreme detail in finding what where.
It didn't work for me, again, I'm really fed up with Boinc and Linux and the lot.
I want Windows and a Wizard and none of this monket bussiness.
Anyway thanks for exploring the same issue as me.

The installation guide from jfjunior is very good. It includes all the task what to have be done. Could you please describe, what is not working for you.
There is also one at the BOINC wiki :
http://boinc-wiki.ath.cx/index.php?title=Installing_the_BOINC_Client_Software_And_Participating_In_A_BOINC_Powered_Project
http://boinc-wiki.ath.cx/index.php?title=Installing_The_BOINC_Client_Software_on_Linux
zoom3+1=4
Volunteer tester
Send message
Joined: 30 Nov 03
Posts: 62443
Credit: 50,235,967
RAC: 22,102
Step by Step instructions is just what we need, but they have to be Step by Step with extreme detail in finding what where.
It didn't work for me, again, I'm really fed up with Boinc and Linux and the lot.
I want Windows and a Wizard and none of this monket bussiness.
Anyway thanks for exploring the same issue as me.

The installation guide from jfjunior is very good. It includes all the task what to have be done. Could you please describe, what is not working for you.
There is also one at the BOINC wiki :
http://boinc-wiki.ath.cx/index.php?title=Installing_the_BOINC_Client_Software_And_Participating_In_A_BOINC_Powered_Project
http://boinc-wiki.ath.cx/index.php?title=Installing_The_BOINC_Client_Software_on_Linux

Now I'm not a Linux user normally(I do like to try new things at least once), Although I have done some experimenting from time to time, But I looked up 'cron job' on Google and found these links:
http://www.google.com/search?q=cron+job&ie=utf-8&oe=utf-8
http://www.unixgeeks.org/security/newbie/unix/cron-1.html
http://en.wikipedia.org/wiki/Cron
http://www.aota.net/Script_Installation_Tips/cronhelp.php3
The Google link has all those and more
My Amazon Wishlist
The T1 Trust, PRR T1 Class 4-4-4-4 #5550, One of America's First HST's
Questions and Answers : Unix/Linux : How to install Seti on Linux - A newbie approach


©2019 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.

Why restrict yourself to merely carrying around your data on a thumb drive? Take your entire operating system on your flash drive with the excellent portable operating systems you'll find inside this week's Hive Five.

Photo by Marcin Wichary.

Earlier this week we asked you to share your favorite portable operating system and to tell us what makes it dear to your heart. You responded with hundreds of nominations, and we're back with the top six contenders for the title of best portable operating system. Six contenders in a Hive Five contest? Due to a tie within the top five contenders, a sixth contender has squeezed into the race.

Advertisement

Best Portable Operating System?

Why limit yourself to your documents or a few portable applications on your thumb drive? Portable…

Read more Read

Puppy Linux

Advertisement

Puppy Linux doesn't require the kind of liposuction required by the meatier operating systems in the Hive Five in order to fit into a nice portable package. Weighing in at under 100MB, it can easily be loaded on everything from a CD to a USB drive with little fuss. The user interface is friendly even for a non-Linux user, and the basic tools you need for popular portable operations like partitioning and file recovery are readily available—although it's just as great for web browsing and basic computing. We've already taken Puppy Linux for a walk, so check it out if you want a closer look at this friendly portable OS.

How To Install Boinc On Puppy Linux
Taking Puppy Linux for a Walk

Click to viewBooting Linux from an external drive with the applications and settings of your choice …

Read more Read

Advertisement

Slax

Advertisement

Slax takes a very user friendly and novel approach to portable computing. Before you even download the distribution you can customize it right from the download site by adding and subtracting modules based on your needs. You don't need the office software? Delete the module. Can't live without multimedia tools? Add them in. If you're completely new to Linux and setting up a portable operating system, Slax will get you up and running with the tools you want in no time flat.

Ubuntu

Advertisement

The same qualities that make Ubuntu so popular as a desktop operating system and live CD bring it a lot of popularity as a portable operating system. Ubuntu isn't as small as some of the other contenders here, but thanks to a number of factors, including strong saturation in the Linux market and an easy to use tool built right for flash-drive installations, Ubuntu makes a great addition to your portable drive.

Our intentions are not to harm Company software company but to give the possibility to those who can not pay for any piece of software out there. Company of heroes manual activation keygen crack generator.

BackTrack

Advertisement

If BackTrack were your friend, it would be the friend you have who keeps a survival kit in an Altoids tin, a length of rope in his jacket just in case, and a folding shovel in his briefcase. BackTrack isn't the most lightweight and certainly not the fluffiest portable operating system in this Hive Five, but it is a serious tool packed with 300 applications covering everything from packet sniffing to hot spot probing to brute force password attacks. If you know what you're doing, BackTrack will leave no corner of your computer and network un-poked, un-scanned, un-prodded, and un-analyzed. If you've never used BackTrack, check out our screenshot tour.

BackTrack is a Security-Focused Live CD Packed With System Tools

BackTrack was the winner of our recent Hive Five for best Live CD, so we decided to take it for a…

Read more

How To Install Boinc On Puppy Linux Pc

Read

Advertisement

CrunchBang

Advertisement

CrunchBang is a fork of the Ubuntu development tree, sporting an ultra-minimal interface with a heavy emphasis on media playback. Out of the box, for example, Firefox has Flash support and VLC can play a variety of media including DVDs. If you're missing an application or tool you need, thanks to its Ubuntu roots you can grab software right from the Ubuntu repository. Check out our CrunchBang screenshot tour for a closer look at this attractive portable system.

CrunchBang is a Speedy, Dark-Themed Linux Desktop

CrunchBang, an Ubuntu-based Linux distribution that sports a snappy, low-drag interface and is…

Read more Read

Advertisement

Damn Small Linux

Advertisement

Damn Small Linux is in fact really damn small. How small? Originally designed as an experiment to see how much Linux awesomeness could be packed into 50MB business card CD, Damn Small Linux hasn't strayed from its origins as an absolutely tiny portable distribution. Just because Damn Small Linux is tiny doesn't mean it's underpowered, though. It includes Firefox, a VNC viewer, file managers, instant messaging clients, and even a web server.

How To Install Boinc On Ubuntu

Now that you've had a chance to look over the contenders for top portable operating system, it's time to cast your vote to determine who will win the title.

How To Install Boinc On Puppy Linux

Advertisement

Which Portable Operating System is Best?
( online polls)

Your favorite portable operating system isn't on the list? Have a portable OS trick you'd like to share? Sound off in the comments with your tips and tricks for taking your operating system with you.

How To Install Boinc On Puppy Linux Free

Advertisement