LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2001, 02:57 PM   #1
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Rep: Reputation: 30
Question 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
 
Old 08-26-2001, 03:39 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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.
 
Old 08-26-2001, 11:37 PM   #3
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
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
 
Old 08-26-2001, 11:56 PM   #4
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
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
 
Old 05-07-2002, 03:48 AM   #5
warfie
LQ Newbie
 
Registered: May 2002
Posts: 7

Rep: Reputation: 0
Question 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
 
Old 05-07-2002, 04:39 AM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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
 
Old 05-07-2002, 05:24 AM   #7
warfie
LQ Newbie
 
Registered: May 2002
Posts: 7

Rep: Reputation: 0
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
 
Old 05-07-2002, 07:49 AM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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.

Last edited by Mara; 05-07-2002 at 07:50 AM.
 
Old 05-07-2002, 10:10 PM   #9
Jazm
LQ Newbie
 
Registered: Apr 2002
Distribution: RH & SuSE
Posts: 17

Rep: Reputation: 0
warfie, what seti team do you crunch for? TP?
 
Old 05-08-2002, 02:37 AM   #10
warfie
LQ Newbie
 
Registered: May 2002
Posts: 7

Rep: Reputation: 0
None
 
Old 05-08-2002, 03:20 AM   #11
warfie
LQ Newbie
 
Registered: May 2002
Posts: 7

Rep: Reputation: 0
Didn work Mara?!?!

I did exactly as you said, no joy, any idea, or maybe you need more info?
 
Old 05-08-2002, 12:45 PM   #12
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Send this part of the file you've modified. Then I can look into it
 
Old 05-08-2002, 12:50 PM   #13
nevar
LQ Newbie
 
Registered: May 2002
Location: bristol UK
Distribution: Hat of Red.
Posts: 5

Rep: Reputation: 0
umm. just a quicki.. what is seti?
 
Old 05-08-2002, 01:32 PM   #14
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
Old 05-08-2002, 01:36 PM   #15
nevar
LQ Newbie
 
Registered: May 2002
Location: bristol UK
Distribution: Hat of Red.
Posts: 5

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Seti@home firestomper41 Mandriva 11 04-30-2004 10:11 AM
seti at home pyropenguin Linux - Software 15 10-23-2002 09:37 AM
SETI@Home Linuxidiot Linux - General 25 08-23-2002 07:37 PM
Seti at home? drbaca1 Linux - General 1 09-03-2001 01:17 PM
Seti@Home Abe Linux - General 1 01-29-2001 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration