| You are Unregistered, please register to gain Full access. |
|
|
|
|||||||
| Donate | Register | Browse | Who's Online | Shop & Prizes | Calendar | Search | Today's Posts | Mark Forums Read | Contact Us |
| Notices |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) | ||||||||||||||
|
Super Moderator
![]() ![]() ![]()
|
COD4: Linux Installation tutorial:
Required Items: Shell ( you can use putty or any shell you like) WinSCP (Free SFTP, FTP and SCP client for Windows) has a gui. Cod4 Game files Cod4 Patch Ftp (optional) Important SSH Commands: Top = Processes Top -c Shift M - Organized by Memory Shift P - Organized by Processor Usage Ctrl + A then Ctrl + D - detach from application Ctrl + C - to go back Q - to go back / quit Kill - Terminate a system process df - shows mounted dists du <directory> will list the directory du -h and -s for other info. ls - list file in directory ls -al for all into screen -r - goes back into the app stat <file> I wrote them as basic as I can. 1. You need to either download or copy all the original game content. Tip: You can either wget the files or you can use ftp to upload everything. I would recommend using wget which is a lot faster since it is server to server transferring. 2. You will need to run all the commands in order. Tip: Take your time and make sure you type everything how it is. You can even copy and paste the commands. Make sure your in the correct directory at all times. 3. The last step is to download and install the patch then run the server. Tip: Before launching your server make sure you update it to the latest patch. Part 1: (Downloading or Uploading the files) New URL (Use This) wget http://www.living-legends.org/plugin...p13_fileid=140 File Name: cod4_v1.7_full_linux.tgz File Size: 6.4 GB If wget isnt what you want to do, upload all your files through ftp. Part 2: (Extracting and Installing) 1. Type cd /yourdirectorypath (where you have the split files. If you uploaded by ftp you can skip the extracting part. You can skip This Part Unless You Have Split Files 2. Type cat cat cod4_linux_install_split.* > cod4_linux_install.tgz 3. tar zxvf cod4_v1.7_full_linux.tgz Punk Buster Setup (Optional) 1. ./pbsetup.run -e 2. ./pbsetup.run --add-game=cod4 --add-game-path=/home/user/cod4/ 3. ./pbsetup.run -u Create a server.cfg and configure it the way you want it. You can find a the server.cfg example here Part 3: (Game updating and launching) 1. Download the latest Linux Server Patch here 2. Upload the patch and extract the files using shell or upload it through ftp. Starting up the server 1. Type screen ./cod4_lnxded +set punkbuster 1 +set sv_pure 1 +exec server.cfg +set +map_rotate +set ui_maxclients "42" +set net_ip "75.126.213.21" 2. When everything is running correctly you must detach the application and put it in the Background so it will stay open when you close your ssh. Press Ctrl + A then Ctrl + D Replace the details with yours. If you are wondering why I have 42 as the maxclients, you are able to choose any number 1 - 50. If you want more or less players make sure to edit the line ui_maxclients "#here" inside your server.cfg or it will not work. More Information Rcon Program: (used to manage your cod4 game) ModernRcon v0.6 http://planetcallofduty.gamespy.com/...s.Detail&id=28 Server Monitoring Tool: (used for all games but you can use it for monitoring and to get more information about your server.) HLSW http://www.hlsw.org/
__________________
Erwin Sean Caravana CEO/Founder Flipstyle LLC, myNGE, and BattleLive http://flipstylepro.com http://mynge.com http://battlelive.com
Last edited by flipstyle; 09-04-2008 at 03:54 AM. |
||||||||||||||
|
|
|
||||||||||||||
|
|
#2 (permalink) | ||||||||||||||
|
Super Moderator
![]() ![]() ![]()
|
Reserved for more information and faqs.
If anyone has any questions list them below. If you also need some support screenshots let me know. Faq Q. Where can I get the game files? A. You can get them from your main game directory where you installed it or if you have a steam version of cod 4 you can find it in your steam folder (ex. c:\Steam\steamapps\common\call of duty 4) The fastest way is to use the links I listed above. Q. Why is my server lagging or slow when the cod 4 game server is running? A. Cod 4 uses a lot of bandwidth and server resources. You must have enough ram, fast cpu, and a fast hard drive to host a high player server.
__________________
Erwin Sean Caravana CEO/Founder Flipstyle LLC, myNGE, and BattleLive http://flipstylepro.com http://mynge.com http://battlelive.com
Last edited by flipstyle; 05-01-2008 at 02:03 AM. |
||||||||||||||
|
|
|
||||||||||||||
|
|
#3 (permalink) | ||||||||||||||
|
Junior Member
![]()
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
might be a stupid question but here goes :
I'm setting up a cod4 linux server for the first time and i have all the startup details. if i start it and it works ok then how do i stop it to fine tune it and update it etc ? I have putty so the simple command would be great and thanx in advance. |
||||||||||||||
|
|
|
||||||||||||||
|
|
#4 (permalink) | |||||||||||||||
|
Super Moderator
![]() ![]() ![]()
|
Quote:
No need to worry. Its cool to ask anything ill try my best to answer them. First you would have to find the applications ID number. So anywhere on the command line type top and then press shift M (which will put the applications with the most memory to the top of the list.) After that look for the name ./cod4_lnxded with the ID #. Then type Kill PID (example Kill 2034) Once the game server application is shut down you can update the server and relaunch it.
__________________
Erwin Sean Caravana CEO/Founder Flipstyle LLC, myNGE, and BattleLive http://flipstylepro.com http://mynge.com http://battlelive.com
|
|||||||||||||||
|
|
|
|||||||||||||||