Message boards :
Number crunching :
Please help me with linux and SETI/BOINC
Message board moderation
Author | Message |
---|---|
Mixxster Send message Joined: 3 Apr 99 Posts: 53 Credit: 15,295 RAC: 0 |
Ok, I finaly got Linux. I could not configure mandrake to work on the internet, so I'm using fedora. I have no Idea how to install BOINC. I have downloaded the linux version, and extrated it till I got: boinc_4.13_i686-pc-linux-gnu then I clicked on it and an error poped up and said this: "There is no action associated with "boinc_4.13_i686-pc-linux-gnu". You can configure GNOME to associate applications with file types. Do you want to associate an application with this file type now?" So does anyone know what to do? <a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a> |
Alex Send message Joined: 26 Sep 01 Posts: 260 Credit: 2,327 RAC: 0 |
> Ok, I finaly got Linux. I could not configure mandrake to work on the > internet, so I'm using fedora. I have no Idea how to install BOINC. I have > downloaded the linux version, and extrated it till I got: > boinc_4.13_i686-pc-linux-gnu then I clicked on it and an error poped up and > said this: "There is no action associated with "boinc_4.13_i686-pc-linux-gnu". > You can configure GNOME to associate applications with file types. Do you want > to associate an application with this file type now?" So does anyone know what > to do? > You'd have to run the command line. ./ boinc_4.13_i686-pc-linux-gnu |
Guido Alexander Waldenmeier Send message Joined: 3 Apr 99 Posts: 587 Credit: 18,397 RAC: 0 |
|
Mixxster Send message Joined: 3 Apr 99 Posts: 53 Credit: 15,295 RAC: 0 |
Nevermind, I got it to work. <a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a> |
1202 Program Alarm Send message Joined: 16 Jun 99 Posts: 239 Credit: 19,164,944 RAC: 38 |
You need to right click the boinc file and change the file's permissions to make it executable. Support-Aurora.org.uk - Put Europeans On Mars! S@h Berkeley's Staff Friends Club © [/url] |
Mixxster Send message Joined: 3 Apr 99 Posts: 53 Credit: 15,295 RAC: 0 |
Now how do I get it to start every time linux starts? <a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a> |
Alex Send message Joined: 26 Sep 01 Posts: 260 Credit: 2,327 RAC: 0 |
> Now how do I get it to start every time linux starts? > > Using a Klingon command called 'cron'. |
Mixxster Send message Joined: 3 Apr 99 Posts: 53 Credit: 15,295 RAC: 0 |
> > Now how do I get it to start every time linux starts? > > > > > > Using a Klingon command called 'cron'. > I have no clue what you mean, this IS my first time using Linux. <a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a> |
Mixxster Send message Joined: 3 Apr 99 Posts: 53 Credit: 15,295 RAC: 0 |
> > > Now how do I get it to start every time linux starts? > > > > > > > > > > Using a Klingon command called 'cron'. > > How do I use This command? I know very little about linux. Please help me. <a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a> |
FalconFly Send message Joined: 5 Oct 99 Posts: 394 Credit: 18,053,892 RAC: 0 |
It really depends a bit on which Distribution you're using, but in your case, you could look for : /etc/rc.local It's a Textfile you can manually edit, and is processed a bit like an Autostart Folder. As last new lines (in my case) I have : cd /usr/data/boinc ./boinc (/usr/data/boinc is my location of the BOINC Client, yours likely differs. The ./boinc Command starts it, I renamed the File to "boinc" for ease of use) Note that this might probably be useful for dedicated Clients only, as my Linux Boinc Clients are dedicated Commandline Terminal-only Systems (no X-Server installed or used) Launching it like "./boinc 2>/dev/null" redirects all Text output into Nirvana. Installing it as a background service is likely the most 'clean' way of doing it, but I never got deeper into that variant (the simple one above works for me). Others more deeply into Linux should be able to give an easy explanation of Cronjob however :) |
Mixxster Send message Joined: 3 Apr 99 Posts: 53 Credit: 15,295 RAC: 0 |
> It really depends a bit on which Distribution you're using, but in your case, > you could look for : > > /etc/rc.local > > It's a Textfile you can manually edit, and is processed a bit like an > Autostart Folder. > > As last new lines (in my case) I have : > > cd /usr/data/boinc > ./boinc > > (/usr/data/boinc is my location of the BOINC Client, yours likely differs. The > ./boinc Command starts it, I renamed the File to "boinc" for ease of use) > > Note that this might probably be useful for dedicated Clients only, as my > Linux Boinc Clients are dedicated Commandline Terminal-only Systems (no > X-Server installed or used) > > Launching it like "./boinc 2>/dev/null" redirects all Text output into > Nirvana. > > Installing it as a background service is likely the most 'clean' way of doing > it, but I never got deeper into that variant (the simple one above works for > me). > Others more deeply into Linux should be able to give an easy explanation of > Cronjob however :) Ok, Thanks. But I clicked on rc.local, and nothing happened, so I tried it in root, still nothing, so I tred it in the terminal, nothing. What do I do next? <a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a> |
Alex Send message Joined: 26 Sep 01 Posts: 260 Credit: 2,327 RAC: 0 |
> > Others more deeply into Linux should be able to give an easy explanation > of > > Cronjob however :) > > > Ok, Thanks. But I clicked on rc.local, and nothing happened, so I tried it in > root, still nothing, so I tred it in the terminal, nothing. What do I do next? > You'd have to open it using a text editor. Kate or Kedit should work. |
Mixxster Send message Joined: 3 Apr 99 Posts: 53 Credit: 15,295 RAC: 0 |
> > > > Others more deeply into Linux should be able to give an easy > explanation > > of > > > Cronjob however :) > > > > > > Ok, Thanks. But I clicked on rc.local, and nothing happened, so I tried > it in > > root, still nothing, so I tred it in the terminal, nothing. What do I do > next? > > > > You'd have to open it using a text editor. > Kate or Kedit should work. > also, Is this going to work if im not logged in as root, and do I need any more files besides "boinc_4.13_i686-pc-linux-gnu"? <a href="http://tinyurl.com/648fo"><img src="http://tinyurl.com/4cqql"></a><br><a href="http://tinyurl.com/484rh">Join "Firefox Rocks!" - The SETI Team</a> |
HachPi Send message Joined: 2 Aug 99 Posts: 481 Credit: 21,807,425 RAC: 21 |
A short overview to stimulate you,... Installing BOINC mkdir [Path]boinc cd [Path]boinc mv [Path]boinc_X.XX_i686-pc-linux-gnu.gz . gunzip boinc_X.XX_i686-pc-linux-gnu.gz chmod +x boinc_X.XX_i686-pc-linux-gnu ./boinc_X.XX_i686-pc-linux-gnu X.XX Fill in with the actual version (e.g 4.13) Path : the place were you want it on your harddisk Operating BOINC Manually Linux: BOINC can be operated from the commandline - This is called the Shell: Start up the terminal window... (RTF - Read the f**ck*ng manual...) BOINC start: ./boinc_X.XX_i686-pc-linux-gnu Scheduler contact: ./boinc_X.XX_i686-pc-linux-gnu -update_prefs [URL] Projekt resetting: ./boinc_X.XX_i686-pc-linux-gnu [URL] BOINC stop: In front running : press Ctrl-C In background : kill -SIGINT [PID] (to kill means to stop an active process) X.XX goes for the actual version number URL type in the actual project URL here in this case: http://setiathome.berkeley.edu/ [PID] fill in the ID of the running process Note this is the manual setup... Cron is the magic word to run things automatically... (do a search for the usage of cron / look in the MANs ) Note: To install some things you must be logged in as ROOT. BEWARE!!! Being root gives you POWER - i.e. you have both - the Dark force and the Good force - If you don't need this amount of power ALWAYS switch back to normal user. The possession of the DARK force can ruin your installation of Linux. May The Force of the Pinguin enlighten your brain and doorstep... Greetz ;-)) |
Toby Send message Joined: 26 Oct 00 Posts: 1005 Credit: 6,366,949 RAC: 0 |
eek! All this clicking is making me sick! Grab an xterm and stay a while! :) In my experience, all system administration type tasks are usually done better with an xterm and a text editor (nano/pico/vi). All the graphical tools that Fedora gives you might work but 1) they will be fedora specific and if you rely on them you will not be able to use any other distros and 2) they don't always work quite right and when they break something, it can be much harder to clean up the mess. Then again, this is coming from a Gentoo user so take it with a grain of salt :) Mouse: (noun) a computer input device used to switch between xterms if your ALT or Tab keys aren't working A member of The Knights Who Say NI! For rankings, history graphs and more, check out: My BOINC stats site |
HachPi Send message Joined: 2 Aug 99 Posts: 481 Credit: 21,807,425 RAC: 21 |
I like Gentoo... Whad-diz a maus??? Greetz ;-))) (to keep this on top - so bump^ ) |
Ned Slider Send message Joined: 12 Oct 01 Posts: 668 Credit: 4,375,315 RAC: 0 |
A nice overview Mr Linux. I'll try and add a basic guide to my website in the next week or so for anyone else struggling with this. And of course, now you've got boinc running, make sure you visit my site and download the latest optimised version of boinc to significantly improve your benchmark scores (see links below) Ned *** My Guide to Compiling Optimised BOINC and SETI Clients *** *** Download Optimised BOINC and SETI Clients for Linux Here *** |
HachPi Send message Joined: 2 Aug 99 Posts: 481 Credit: 21,807,425 RAC: 21 |
Thanks Mr Ned Slider, for : 1. The continuous work concerning the Optimized BOINC clients. 2. Feel free to copy some/part of my postings concerning the Linux installations of BOINC. 3. Is there info to for optimisation of P4 HT machines? 4. Some ideas towards computer farming in the thread -Buying another pc purely to crunch more wu's?- Greetings from Belgium - Keep software free - ;-)) |
Dunc Send message Joined: 3 Jul 02 Posts: 129 Credit: 2,166,460 RAC: 0 |
This is how I get Boinc to run at start up. This is using Ubuntu which is Debian based. Open a terminal window Under your home directory create a directory called boinc (substitue (your_user) for correct) mkdir /home/your_user/boinc Copy the downloaded executable into it mv /home/your_user/boinc boinc_4.13_i686-pc-linux-gnu.gz Change to boinc directory cd /home/your_user/boinc Unzip it gunzip boinc_4.13_i686-pc-linux-gnu.gz Change the permissions chmod 755 boinc_4.13_i686-pc-linux-gnu Run it manually to attch to the project ./boinc_4.13_i686-pc-linux-gnu Once attached kill it ctrl-c Create a script to run boinc type pico to open editor and paste the following into it without (script) tags and change the BOINC_PATH info (script) #!/bin/sh # Script to start and stop the boinc client BOINC_PATH="/home/your_user/boinc" case "$1" in start) echo -n "Starting boinc client" cd $BOINC_PATH ./boinc_4.13_i686-pc-linux-gnu -return_results_immediately >boinc.log 2>/dev/null& ;; stop) echo -n "Stopping boinc client" killall boinc_4.13_i686-pc-linux-gnu ;; *) echo "Usage: $0 {start|stop}" exit 1 esac exit 0 (script) Exit pico ctrl-x Save modified buffer = yes Save as filename = boinc Create boinc.log file Open pico, press the space bar, ctrl-x, save modified buffer = yes, save as boinc.log Change permissions for boinc.log chmod 755 boinc.log Become root type su, and enter password. Copy boinc script to /etc/init.d/ cp /home/your_user/boinc/boinc /etc/init.d/ Change directory to /etc/init.d/ cd /etc/init.d/ Change permissions of the script chmod 755 /etc/init.d/boinc Create a symbolic link to the script in the runlevel2 directory cd /etc/rc2.d/ ln -s /etc/init.d/boinc S99boinc chmod 755 S99boinc Exit root exit Check that the script works /etc/init.d/boinc start The script should now run, and you can check for message is the boinc.log file You can stop the script by typing /etc/init.d/boinc stop When you re-start the computer boinc should start automagically The above instructions may differ depending on your distro. This is only given as a guide, and I accept no resposibility for any damage etc etc etc... :-) Hope this helps Dunc |
Charles Dennett Send message Joined: 29 Apr 00 Posts: 27 Credit: 18,785 RAC: 0 |
I also have a boinc boot script for Linux. I mentioned it here a long time ago so it probably got lost amongst all the messages. Feel free to snarf a copy from http://www.dennett.org/boincctl It's designed to work on RedHat. Even if you don't run Redhat, this should at least give you a good starting point. Shell variables in the beginning of the script should be set to match you setup. As with other boot time scripts, can be run manually at any time to stop andor start boinc. Puts the process into the background so there's no need for cron. Charlie |
©2024 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.