Easyer server hosting on mac... (ALL MAC USERS READ!!!)
Posted: Wed May 04, 2005 8:14 pm
Ok, I'm new with BZFlag so this might be a start to logging and map rotation.
Anyway, I hated having to copy and paste the code that I wanted executed so I simply made a script that did this for me.
(test to get libcurl installed)
(please note this is ALL in terminal... in a tcsh shell)
I made a .command file that you just double click and voila! your server starts!
Here's what to do (full version):
1. Open a Teminal window.
2. Drag bzfs into the window.
3. Type (or copy this) " -conf " (with spaces) into the window.
4. Make, or find, a .conf file you want to use.
5. Drag the .conf file you made into the window.
6. copy all this.
6.5 this is what it should basicly look like:
/path/to/bzfs -conf /path/to/the.conf
7. Now, create a normal text file (NOT .rtf!!! YOU MUST USE .txt)
7.25 to do this open TextEdit.
7.5 Now in the menu select Format->Make Plain Text.
7.75 Or instead of step 7.5 just hit Shift-Command-T.
8. Now paste the bzfs command into the text file
9. Save it as a file anywhere on your hardrive.
10. Open Terminal again. (get a new terminal window)
11. Type "cd " into the new terminal window.(with space)
12. Drag the Text file you created into terminal window.
13. delete the Text file name, like so:
/path/to/text/file.txt (delete the file.txt part but not the '/' before it)
/path/to/text/ (that's what it should look like)
14. hit enter/return
15. rename your text file's extenstion to .command, like so:
"File.txt" to "File.command"
16. type "chmod a+x File.command" into terminal window
17. hit enter
Now, double click on your File.command to launch terminal and execute the script.
Here's the short version:
Here's what to do (short version):
1. Make a plain text file and put whatever commands you run in terminal in it.
1.5 Open terminal.
2. cd yourself into the file in which it is.
3. Re-name your plain text file to whatevername.command
4. type "chmod a+x whatevername.command" into terminal window
4.5 hit enter.
5 double click on file to run it.
note: the short version needs somebody that knows what there doing!!
Please post questions you might have!!!
(this might even be sticky worthy )
Anyway, I hated having to copy and paste the code that I wanted executed so I simply made a script that did this for me.
(test to get libcurl installed)
(please note this is ALL in terminal... in a tcsh shell)
I made a .command file that you just double click and voila! your server starts!
Here's what to do (full version):
1. Open a Teminal window.
2. Drag bzfs into the window.
3. Type (or copy this) " -conf " (with spaces) into the window.
4. Make, or find, a .conf file you want to use.
5. Drag the .conf file you made into the window.
6. copy all this.
6.5 this is what it should basicly look like:
/path/to/bzfs -conf /path/to/the.conf
7. Now, create a normal text file (NOT .rtf!!! YOU MUST USE .txt)
7.25 to do this open TextEdit.
7.5 Now in the menu select Format->Make Plain Text.
7.75 Or instead of step 7.5 just hit Shift-Command-T.
8. Now paste the bzfs command into the text file
9. Save it as a file anywhere on your hardrive.
10. Open Terminal again. (get a new terminal window)
11. Type "cd " into the new terminal window.(with space)
12. Drag the Text file you created into terminal window.
13. delete the Text file name, like so:
/path/to/text/file.txt (delete the file.txt part but not the '/' before it)
/path/to/text/ (that's what it should look like)
14. hit enter/return
15. rename your text file's extenstion to .command, like so:
"File.txt" to "File.command"
16. type "chmod a+x File.command" into terminal window
17. hit enter
Now, double click on your File.command to launch terminal and execute the script.
Here's the short version:
Here's what to do (short version):
1. Make a plain text file and put whatever commands you run in terminal in it.
1.5 Open terminal.
2. cd yourself into the file in which it is.
3. Re-name your plain text file to whatevername.command
4. type "chmod a+x whatevername.command" into terminal window
4.5 hit enter.
5 double click on file to run it.
note: the short version needs somebody that knows what there doing!!
Please post questions you might have!!!
(this might even be sticky worthy )