LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Stuck on a command (https://www.linuxquestions.org/questions/linux-newbie-8/stuck-on-a-command-506899/)

LeonK 12-02-2006 02:16 PM

Stuck on a command
 
Hello all, i am very new to linux and already figured somethings out while trying to install my game onto a remote server. I only have acces to a webadmin screen, but use putty to connect.

i am trying to install BF2 with the PoE2 mod onto the server, but now im stuck on a command "screen"

This si the full command:
Code:

[poe2@gamesrv03 bf2]$ screen -dmS PoE2
When i enter that command i get a error: -bash: screen: command not found.

The link to the walkthough (incase its needed): i wish to post but im not allowed because i dont have 3 posts... I'll edit this when i do have the three posts needed to post links...... :(

Now i am not sure what the command does, so its quite hard to find a solution on it.
The linux distro i have is Redhat 9.0.

If more information is needed just let me know, im not sure on what else i need to post.

pixellany 12-02-2006 03:02 PM

Here is the description of the command:
http://www.oreillynet.com/linux/cmd/...?path=s/screen

It's not on my machine, but it is in the Ubuntu repository. I am sure that it is out there somewhere for RH9

Komakino 12-02-2006 04:21 PM

Easy peasy - screen isn't installed on the computer you're trying to run it on. Hence bash reports that the command 'screen' is not found :)

LeonK 12-02-2006 04:53 PM

So is it a piece of software i can install? Or does it meam screen as in viewable item which display's your data?

g0es 12-02-2006 05:30 PM

Quote:

Originally Posted by Komakino
Easy peasy - screen isn't installed on the computer you're trying to run it on. Hence bash reports that the command 'screen' is not found :)

Or screen isn't in the path. try running "find / -name screen". You will have to be root or you will have to use sudo. If you have it it will showup then

Tinkster 12-02-2006 05:30 PM

Screen is indeed a piece of software (a very nice one, too) that can
be quite easily installed. Most distributions will have downloadable
packages for their own packaging system.

On that note: it always helps to tell people here which distro you're
using - makes support much more targeted.

Cheers,
Tink

LeonK 12-03-2006 05:17 AM

Quote:

Originally Posted by LeonK
The linux distro i have is Redhat 9.0.

I did say which distro i had. I dont wanna look like the a smartass, but i know computers well enough, been working with them for over 10 years building and all the like, i only never gooten into linux.. All i have worked with in the past is windows..

g0es, ill try that command, thanks.

***edit***

When i run the find command i get this: /usr/share/terminfo/s/screen

LeonK 12-03-2006 05:22 AM

Well i think i found the piece of software through APT Get on my webmin area.. Im now going to try if it works. Thanks for pointing me in the right direction.

LeonK 12-03-2006 09:57 AM

Got the "screen" software installed... Now following directions, and get stuck on the command "screen -ls poe2/" Which should show the process PID..

Code:

Step 14: Start up a screen session as the poe2 user


[root@gamesrv03 bf2]# su - poe2

(Do some setup stuff for screen to work with our setup)
[poe2@gamesrv03 bf2]$ echo "multiuser on" >> /var/bf2/.screenrc
[poe2@gamesrv03 bf2]$ echo "acladd root" >> /var/bf2/.screenrc

[poe2@gamesrv03 bf2]$ screen -dmS PoE2
[poe2@gamesrv03 bf2]$ ln -s /var/bf2/.screen /tmp/screen-poe2

(Detach from the screen session - holding down CTRL, hit a, then hit d)
[poe2@gamesrv03 bf2]$ CTRL A D
[root@gamesrv03 bf2]#


Step 15: Attach to the poe2 screen session and set the proper path for mono binary


(List the screen session for user poe2 while logged in as root)

[root@gamesrv03 tmp]# screen -ls poe2/
There are several screens on:
32012.PoE2 (Multi, detached)
2 Sockets in /tmp/screen-poe2.

[root@gamesrv03 bf2]#

these are the steps were im getting stuck. the original writer of the tutorial i havent seen on the PoE2 forum ina long time, and i havent got any reply's there also were i asked for help, so i help people here wil be able to help me out.. Im learnign the hard way like this, but its better then nothing..

And since i can post links now also i will also give the link to the full tutorial im following.

chrism01 12-03-2006 06:18 PM

Just FYI, RH9 is very old & no longer supported. That line of distros was replaced by the RH Fedora Core series, which is now up to v5 (or 6?) iirc.
You might find things will go smoother (not to mention be able to get eg security updates) if you move up.

LeonK 12-04-2006 11:56 AM

Debian 3.0 (Woody)
Debian 3.1 (Sarge)
RedHat Fedora Core 2
RedHat Fedora Core 3
Mandriva LE 2005 (Mandrake)
RedHat 9.0

These are the distro's i can choose between, which would be the best for me then? A beginner Linux User.. And would the commands used in the tutorial be the same? or are there varietys to it?

pixellany 12-04-2006 01:13 PM

Quote:

Originally Posted by LeonK
Debian 3.0 (Woody)
Debian 3.1 (Sarge)
RedHat Fedora Core 2
RedHat Fedora Core 3
Mandriva LE 2005 (Mandrake)
RedHat 9.0

These are the distro's i can choose between, which would be the best for me then? A beginner Linux User.. And would the commands used in the tutorial be the same? or are there varietys to it?

What is it about your situation that has you limited to obsolete distros? More modern versions of all of these are available free.

(I think) Debian 3.1 is the closest to being current.

g0es 12-04-2006 01:35 PM

My guess is that these systems are hosted and he has his choice of distros.

Tinkster 12-04-2006 02:51 PM

Quote:

Originally Posted by LeonK
Debian 3.0 (Woody)
Debian 3.1 (Sarge)
RedHat Fedora Core 2
RedHat Fedora Core 3
Mandriva LE 2005 (Mandrake)
RedHat 9.0

These are the distro's i can choose between, which would be the best for me then? A beginner Linux User.. And would the commands used in the tutorial be the same? or are there varietys to it?

Sarge for sure.


Cheers,
Tink

LeonK 12-05-2006 10:23 AM

Yep, VPS server, so im stuck with these distro's...


All times are GMT -5. The time now is 03:12 AM.