New OFP server - Printable Version +- Comrades in Arms Discussion Board (http://forum.ciahome.net) +-- Forum: Comrades in Arms Life (http://forum.ciahome.net/forumdisplay.php?fid=3) +--- Forum: The Arma Game (http://forum.ciahome.net/forumdisplay.php?fid=10) +--- Thread: New OFP server (/showthread.php?tid=1569) Pages:
1
2
|
New OFP server - Anguis - 06-02-2009 Hi, folks, I have a spare computer and want to use it as an OFP server (Sanctuary's WW4 mod), on occasion (I'd also like to get it running the Mumble server, just to test it out). I want to use Linux (Ubuntu; I want to learn more about using Linux), but I have some questions that I think some of you could help me with. My main question: Is the OFP Linux server supposed to be installed in a server version of Linux, or can it be installed in, say, the desktop version of Ubuntu? Other questions I have I'm trying to work through before asking them. . . Any pointers you can give will be much appreciated. (The main reason I'm wanting to set this up is to learn more about Linux and networking. Just to clarify, I just want to see how this stuff works.) Thanks, folks, for any help! Re: New OFP server - Lobanak - 06-02-2009 The only difference between server and workstation/desktop is the missing graphical interface like KDE/Gnome or whatever and the programs running on that. So on server you normally only have the console and programs running in the console. If you want to learn linux, start with the workstation/desktop so that you have the klicki-bunti-feeling of windows. But you have to learn to use the console. If you know a bit of old DOS times, it's easier to get into the console. If you only know Windows, the best is to buy a book about linux. Also the most configuration of programs is done in text-files and not in the graphical part. You will need a lot more time to learn linux than working with windows. And you should read a lot. Learning by doing is not good in linux. It can work in windows, but not in linux. If you don't want to read a lot of articles/howtos, you never will learn linux. But one thing is much better in linux than in windows: you find a lot of helpful how-tos which you can use with copy & paste (only few changes needed). You find a solution for every problem if you know how to search. One good site is http://www.howtoforge.com with a lot of good how-tos and forums. Look for the good perfect server setup howto for ubuntu and a lot more. Re: New OFP server - Overlord - 06-02-2009 Check THIS page and HERE. I'm just installing a new server (Ubuntu 9.04) coz no more updates on my old. And a "if-this-is-your-first-time-server-setup" advice: don't use Kegetys minimal install-files, use your complete OFP-install Re: New OFP server - Pulverizer - 06-02-2009 This guide is for OFP server setup in Ubuntu 7, might be helpful: http://www.elisanet.fi/fdf/en/help_serverlinux.html The only difficult part is getting the right libraries active so the server doesn't crash. If the mod configs make use of include files, you might have to do some digging to find them out and make some links or copies of the files to different dirs to get them working properly on Linux. Don't forget all the file names must be lowercase, including mission files. Re: New OFP server - Overlord - 06-02-2009 (06-02-2009, 12:33 PM)Pulverizer link Wrote: Don't forget all the file names must be lowercase, including mission files. Don't let Pulv scare you Anguis, use program tolower included in server archive Re: New OFP server - Anguis - 06-03-2009 Thanks, guys! Lobanak, based on what you mentioned, should I consider Ubuntu Desktop edition the "best of both worlds" - server and desktop OS? Should I consider Ubuntu Desktop to be really Ubuntu Server, but with GUI tools? I do have a bunch of DOS experience, so using the command line should be fun. I like your advice about books - I have a few of the O'Reilly books to help me out (I learned DOS through an old Tandy manual). Thanks for the howtoforge tip. Overlord, are you using Ubuntu Server or Desktop? Are you installing the OFP server onto it? Regarding tolower, what server archive do you mean? Thanks for the Kegetys pointer - I had been planning on using his packager - now, I won't. Pulverizer, what is an 'include file'? Thanks for the note about lowercase filenames. Thanks, again, folks! I'll in the Linux/OFP server salt-mines soon enough! Re: New OFP server - Overlord - 06-03-2009 well, I started with Ubuntu server which I installed gnome on , so now it's desktop Archive is the Linux Server archive (here). Inside is most of what u need (included tolower) which convert all capital letters to lowercase (type ./tolower in terminal, just like plain old DOS) I copied the files needed tonight but I think I need "un-altered" files. I'm afraid I installed WGL compass in original files .... Give me a shout if you don't find the lib-files u need on Osku's site Re: New OFP server - Anguis - 06-03-2009 (06-03-2009, 04:48 AM)Overlord link Wrote: well, I started with Ubuntu server which I installed gnome on , so now it's desktop LOL! Re: New OFP server - Pulverizer - 06-03-2009 (06-03-2009, 03:46 AM)Anguis link Wrote: Pulverizer, what is an 'include file'? Thanks for the note about lowercase filenames. Include file is a file (usually .hpp) that is included to an addon / mod config.cpp with the #include command like #include "cfgVehicles.hpp" It's basically just a way of dividing a large config into manageable logical chunks, or avoiding repetition of code. Re: New OFP server - Anguis - 06-03-2009 Thanks, Pulverizer - great explanation! Re: New OFP server - Lobanak - 06-03-2009 Server normally is without gui and installs several servers (web / mail / ftp and so on). On Desktop they are not installed, but GUI and programs are installed. If you want to do some web-development beside hosting a server on your own or want some private websites hosted, use server. For easier handling if you work directly at the machine, use desktop and server. I use debian here and my server which is used for the CiA ofp-server and all other web related stuff is also debian. There is no difference between server and desktop. The minimal system has nothing of both, only necessary stuff and I have decided what to use. For the beginning choose what you want. I think Desktop is best. You can install all necessary things you need later on by hand. Re: New OFP server - Anguis - 02-22-2011 All right, guys, I finally got this project back up and running (time flies when you're having fun!). I've pretty much followed the advice on Osku's site (though, I've kept things vanilla, for now), the benu post, and the bistudio wiki. I'm able to start the server with no error messages, but I'm not sure what's happening. Here's what happens in the terminal when I start/stop things: Quote:ofp@joel-desktop:~/ofp$ sudo ./ofpserver start Here's what's showing up in log.2302.txt: Quote:WATCHDOG (2704): [Tue Feb 22 13:22:11 CST 2011] Starting server (port 2302)... No other feedback is provided. And I can't find the server in the ofp multiplayer list on another computer. Now, here are some probably significant conditions of the server setup: 1. The computer on which the server is running connects to my network via wifi (the ethernet port doesn't work very well), so it's behind a wireless router. 2.The server is running in its own admin account (though, not its own partition). 3. The OS is Ubuntu 10.04, Desktop. What should I be aware of with this setup? Thanks for the help! Re: New OFP server - Overlord - 02-23-2011 Why do you use sudo? Nohup is nothing to worry about, but the config stuff might need attention. Can you "DMZ" server ip? Re: New OFP server - Anguis - 02-23-2011 (02-23-2011, 10:49 PM)Overlord link Wrote: Why do you use sudo? Nohup is nothing to worry about, but the config stuff might need attention. Can you "DMZ" server ip? This is what shows up when I don't use sudo: Quote:ofp@joel-desktop:~/ofp$ ./ofpserver start What dos it mean to 'DMZ' the server ip? Edit: Should I be returned to the prompt after starting the server? At present, I am not - I'm only returned to the prompt after stopping it. I forgot the config note is in the log. Re: New OFP server - Lobanak - 02-23-2011 Quote:./ofpserver: line 31: /var/run/ofp_server.2302.run: Permission denied the user running the server is not allowed to write in the driectory. do a "chmod 777 /var/run" as root-user. With this everybody can write in the directory. This is not a problem. If you want to know what happens at the server, there is a file called xyz.2302.log (don't know what is xyz at the moment). There you can see the info of the server. with "tail -100f xyz.2302.log" you can see the info in real-time. press CTRL+C to exit. do you have a config file for the server? there you can enable/disable the thing with beeing visible in the server list or not. |