LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Seti at home installation (https://www.linuxquestions.org/questions/linux-software-2/seti-at-home-installation-5884/)

RecoilUK 08-26-2001 02:57 PM

Seti at home installation
 
Hi guys

OK i,ve just installed Seti at home and placed the folder in /usr/share and can start it up without problems using

/usr/share/seti/setiathome -verbose

however I dont want to do this

Ideally I would prefer to just type in

seti

does anyone know how I can do this, and allow any user to start it up.

Thx guys

RecoilUK

mcleodnine 08-26-2001 03:39 PM

make a script file called 'seti' that would look like this
Code:

#!/bin/bash
/usr/share/set/setiathome --verbose

and change the executable bit
Code:

chmod +x seti
Crude but effective.

RecoilUK 08-26-2001 11:37 PM

Hi there

Ok so I just make a text file with a .sh extension is this right?

And I would save this in /bin or not?

I havnt done anything like this before.

Thx m8

RecoilUK

RecoilUK 08-26-2001 11:56 PM

Hi again

Nevermind i,ve sorted it

I made a text file instead of a shell script with the command that I usually type in it and called it seti.

I placed this in /usr/bin

and it works for any user but each user can have a seperate file that they are scanning, which is what I wanted

Thx

RecoilUK

warfie 05-07-2002 03:48 AM

Services
 
mcleodnine,
I too have a problem with seti but slightly different,
I want seti to start as a service with all the other services,
can you help me there?

James

Mara 05-07-2002 04:39 AM

Re: Services
 
Quote:

Originally posted by warfie

I too have a problem with seti but slightly different,
I want seti to start as a service with all the other services,
can you help me there?

James

Add a script (or a line running seti) to your starting scripts. I use /etc/rc/d/rc.local. It's a script, so just add the seti line and it'l start next boot.

To RecoilUK
Seti needs a directory with executable for every user. You can solve it by creating it into users' home directories (for example ~/seti). So there will be a script starting seti for user that starts the script:
#!/bin/bash
~/seti/setiathome --verbose

warfie 05-07-2002 05:24 AM

warfie
 
I'm obviosly more of a newbie than you realise!
you say
"Add a script (or a line running seti) to your starting scripts"
I say ......"whaaaa?"

can you please dumb it down a little for me?

James-the-moron

Mara 05-07-2002 07:49 AM

It's as easy as I say :) Really.
How do you start seti?
Something like /usr/seti/setiathome , right?
So open /etc/rc.d/rc.local in your favourite text editor (beeing root!).
There will be

#!/bin/sh

Then lines with # at the beginning, then some strange texts :)
After those #s, in new line write the command you use to run seti. If you run it using /usr/seti/setiathome, write
/usr/seti/setiathome &
(this & is quite important, it makes seti to run in background)
And that's all.
If you don't know where's your seti (nearly impossible, but maybe...) use
whereis setiathome
I'll show you the right location.

Jazm 05-07-2002 10:10 PM

warfie, what seti team do you crunch for? TP?

warfie 05-08-2002 02:37 AM

None

warfie 05-08-2002 03:20 AM

Didn work Mara?!?!
 
I did exactly as you said, no joy, any idea, or maybe you need more info?

Mara 05-08-2002 12:45 PM

Send this part of the file you've modified. Then I can look into it :)

nevar 05-08-2002 12:50 PM

umm. just a quicki.. what is seti?

Mara 05-08-2002 01:32 PM

Setiathome (sometimes called 'seti' ).
SETI Search for Extraterestrial Inteligence. Setiathome is a program used by 3mln users worldwide to work on data from observatory to find other habitated planets.
You download the program, start it, it downloads a package and works on it. When finished sends the results back and gets new package. :)

nevar 05-08-2002 01:36 PM

kinda like the UD cancer research thingy.. cool when i get my machine working again i'll download it. :)


All times are GMT -5. The time now is 05:54 PM.