Thursday, July 13, 2006

Shannon Whirry Shaved

Tutorial: Installing a Linux server

tutorial to install a Linux server that needs ROOT right:


Required program this:

PUTTY <-- Die oberste putty.exe dort herunterladen und starten.

"host IP" In the IP (eg 87.106.2.76) or enter the domain without "www" example "geierclan.de" then then ENTER


login with the user name here "root" and then enter the password.
The cursor does not move at the input of the password, so do not be surprised, after
and confirm with ENTER you're on the shell / console of your server.

should navigate to simpler to install the Midnight Commander.



the Midnight Commander and create a user with putty:

The Midnight Commander is very similar to Windows Explorer and helps move a lot while. For example, most commands
must not be entered by hand into the console and can for example be activated by the Enter key.
enter in the console "yast" a then, alternately you to "install and remove software".
arrow keys and Enter to navigate (mouse iss ^^ not allowed in here). What exactly You have to press is always underneath
Where a letter is always hevorgehoben. The command is then executed with ALT + letter.


Source

 


 "ALT" + "S" Press enter to look for "mc" to the Midnight Commander 
install.

"ALT" + "a" enter to confirm.


Then the "mc" installed.
Under "Security and Users" can you have to create users to access via ftp to the server (eg maps and mani_plugin)



first HLDSupdatetool download and install.

First you have to create you a folder and the hldsupdatetool download from Valve.
There you must then run hldsupdatetool.
behind the / / declarations are what will be done so everything before the / / do not type more than that!


entries in putty:
Please enter exactly as I wrote it because Linux complains immediately if only one character is wrong.


Source

 





 mkdir srcds / / = make directory created a folder called srcds srcds 
cd / change directory = changes in this directory
wget http://www.steampowered.com/download/hldsupdatetool.bin
/ / so that you download directly to your server, the update tool down
chmod + x hldsupdatetool.bin / / so that you make the file executable
. / hldsupdatetool.bin / / so that you lead as tool from
. / steam / / so that you lead steam from


Note: After starting with

.

Source

 
 / hldsupdatetool.bin 


will ask you "agree with the terms of conditions" have the answer you with "yes" .

Then run the command again


Source

 
. / Hldsupdatetool.bin 


Now the latest version of the hldsupdatetools downloaded and then you land automatically in
the console.

If the following error message appears then the note here!

sh: uncompress: command not found

Entry:

.

Source

 
 / hldsupdatetool.bin 


error message:

Source

 
 sh: uncompress: command not found 


The enter here so:!

Source

 
 ln-s / usr / bin / gunzip / usr / bin / uncompress 


Then the command . / hldsupdatetool.bin run again, then it should go. can


2) Download the file

Now you begin the download of files. The
but depending on how the Valve servers are burdened take several hours.


Source

 
. / Steam-command update-game "dods"-dir. 


you smoke and you drink ne box tilting ne pot of coffee ;-)


3) Starting srcds


Now you can start srcds.


Source

 

. / Srcds_run 
-console-game dod + map dod_flash maxplayers-16-autoupdate


your srcds server starts now.

Extra: A server startup script so you do not type everything again must

will create a script that automatically starts srcds to prevent the event of a crash, be entered everything again from scratch.
A file in the folder, create dod:


Source

 
 touch server.sh / / this is the command to create the file names server.sh 


contents of the boot file / script:


Source

 




 * #! / bin / screen sh 
echo "Starting dods server
sleep 1
-A-m-d-S dods- server. / srcds_run-console -Game dod + map
dod_flash + maxplayers 16-autoupdate


With this command, you make the file executable:


Source

 
 chmod + x server.s 



If you want to start your server you just have in your srcds into another folder. / server.sh
or enter you navigate to the MC and press ENTER to start the server.sh.
With this command you land directly into the games console and are thus directly on the game server.


Source

 
 screen-x-server dods 


's where you'll also


Source

 
 say hello 


enter will appear in-game chat "Console hello


Note: If you in the Game Console " exit " runs typing the server down and start all over again, which is very annoying and sometimes even up to 10 min. may take.

If you only download from the Game Console, want to restart without, you have "ctrl + a + d" enter
, then you land back in the normal console.

finished


greeting [GC] Grimmi & Strike

[EDIT] Small Linux "how to" for runnaways ;-) WARNING only for advanced users.

you install with "yast" in the command prompt from the putty "mc" = similar to Midnight Commander in the Win Explorer.
can thus be much easier to navigate within the server.

commands: start

startup script: the Midnight Commander ENTER to server.sh

A display of all running processes you will get with "top"

sort the processes according to RAM with "shift + m" , then run the DOD server at the top because it consumes the most resources.

"srcds_amd" + "srcds_run" is or are the instances for the server or servers

with "Ctrl + C", "F 10" or "q" you come from most scripts and
from the top back out.
Normal Server Console you can "exit" leave and Prgramm putty close
If you want to shoot the dod server, the dod directory change "F 10" and "killall srcds_amd" enter terminates all processes of srcds_amd instance / en. Then you can
with "top" and "shift + m" You can see how the server restarts.

"killall srcds_amd" shoots only the server and the startup script starts the server again automatically.
"killall srcds_run" shuts down the server and it starts not again automatically!

greeting Grimmi :D

0 comments:

Post a Comment