»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 01-08-2004, 02:57 PM   #1 (permalink)
Registered User
 
Join Date: Jul 2003
Location: Kingwood, TX
Posts: 935
Rand Dusing is on a distinguished road
Send a message via AIM to Rand Dusing
Linux Question

I'm up and running on Suse along with Apache2 and soon PHP and MySQL when I find out how to do it.

But right now I'm installing a BF1942 server and hopefully a DoD server later.

- Untar the distribution archive. This will generate a directory where
the server and all its related files reside.

Example:
$ tar xjf bf1942_lnxded-1.5.tar.bz2

- Modify Mods/bf1942/Settings/ServerSettings.con to your taste.

Example:
$ cd bf1942
$ vi mods/BF1942/Settings/ServerSettings.con

- Run the server from within the top-level directory by typing
./start.sh [arguments] from a shell.

Example:
$ cd bf1942
$ ./start.sh +game XPack1 +statusMonitor 1

whenever I type ./start.sh in the Konsole it says it can't fine the file.

The file is located in file:/start.sh . It's a batch file. Can I run this another way then by typing a command?

Rand Dusing is offline   Reply With Quote
Old 01-08-2004, 03:02 PM   #2 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
does it say cannot find or cannot execute?

If it is cannot execute then chmod it +x, if it cannot find it then it is not in the directory you are presently in.
krohnjw is offline   Reply With Quote
Old 01-08-2004, 03:05 PM   #3 (permalink)
Registered User
 
Join Date: Jul 2003
Location: Kingwood, TX
Posts: 935
Rand Dusing is on a distinguished road
Send a message via AIM to Rand Dusing
It said can't find it. How do I get the konsole to that directory? It's just in the file:/ directory.
Rand Dusing is offline   Reply With Quote
Old 01-08-2004, 03:06 PM   #4 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
cd directory name
ie cd bf1942

Then do an ls to make sure that start.sh exists.
If it does then you can execute ./start.sh
krohnjw is offline   Reply With Quote
Old 01-08-2004, 03:09 PM   #5 (permalink)
Registered User
 
Join Date: Jul 2003
Location: Kingwood, TX
Posts: 935
Rand Dusing is on a distinguished road
Send a message via AIM to Rand Dusing
It's not on a CD, if that's what you mean by cd. So I would go cd "file:/" without quotes or should I move it back to file:/bf1942, and then I would say cd bf1942 ?
Rand Dusing is offline   Reply With Quote
Old 01-08-2004, 03:11 PM   #6 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
cd is the command to change directories

so cd DirectoryName
krohnjw is offline   Reply With Quote
Old 01-08-2004, 03:18 PM   #7 (permalink)
Registered User
 
Join Date: Jul 2003
Location: Kingwood, TX
Posts: 935
Rand Dusing is on a distinguished road
Send a message via AIM to Rand Dusing
so would I got cd file:/ or what? cause it's not in a directroy. It's located like this: file:/start.sh
Rand Dusing is offline   Reply With Quote
Old 01-08-2004, 03:26 PM   #8 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
did you move the file from the directory it was extracted to?
krohnjw is offline   Reply With Quote
Old 01-08-2004, 03:29 PM   #9 (permalink)
Registered User
 
Agent_Embryo's Avatar
 
Join Date: Oct 2001
Location: Sweden
Posts: 1,260
Agent_Embryo is on a distinguished road
Send a message via ICQ to Agent_Embryo
try

"whereis start.sh"

to try to find the directory where the file is. It's not the best way of finding it, but it might work.
Agent_Embryo is offline   Reply With Quote
Old 01-08-2004, 03:32 PM   #10 (permalink)
Registered User
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 2,567
krohnjw is on a distinguished road
Send a message via AIM to krohnjw
That will only work if it is in his path AE
krohnjw is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 12:51 PM.