Overclock.net › Forums › Specialty Builds › Servers › I want to learn how to build and run my own tiny dedicated gaming-server running on Linux!
New Posts  All Forums:Forum Nav:

I want to learn how to build and run my own tiny dedicated gaming-server running on Linux!

post #1 of 7
Thread Starter 
Hi again :3

Im so active lately on this forum i love it =D


Let me introduce you with my experiance and problems with linux so far...


I got into linux a couple weeks ago , when i felt like trying Ubuntu for gaming now that it supports some pretty sweet titles that can run native on linux O.o pretty awsome! But it was a complete failure for my Gaming system biggrin.gif


Anyways i like the Terminal , the way linux works on that *basic* way like Dos Os i had on my first computer evar when i was a 8 year old kid thumb.gif
So i figured i would build a system (from old pc parts) and run some Linux Server Os on it without any use for a Mouse :3 basicly just lightweight OS that runs on TEXT !!



I got what i wanted:

Pentium 4 2.8Ghz (single core that seems to run as duelcore with threats )
2Gb DDR 400mhz Ram
Asus p4p800 Deluxe
9600 Ati radeon 256MB
Case: some realy nice old Chieftec Bigtower with lots of room :3
I got 3x 80Gb HDD's and 1x 120Gb HDD

I downloaded Ubuntu 12.04 Server 32bit

During the installation i was asked to installed some packages, i forgot the name but it was something called like..... Goon / Doob ? ? ? redface.gif at least the name had double letters in it. (im sorry this sounds stopid but i just forgot)
LAMP is what i installed , only because some similair topic somebody was suggested the same server OS with LAMP for his gameing server?
Just a wild gamble but i want to reconder every step i took.


Then i found some Tutorials/ guides on howto run a server on linux for : Killing Floor (wich is a 6 player Coop game , suitable for my upload speed )
I dont think my network can handle more then 8 players on my upload speed.

I have experiance running a Cracked server for Battlefield 1942 on windows xp
Lot of fun but , that kind of game is just not suiteble for a server that can only handle 6/8 players Tops!!

So yeah after getting my Server installed and gathering of tutorials that Looked nice i went turned on this server and see how far i could manage on my own =) !!!!!!!!!!










This is where my questions start:


I got stuck on the part where u use steamcmd to download the actual Dedicated server for Killing Floor (the game) itself , wel this isnt actualy a linux related problem.
The problem is my lack of knowledge how to operate this system tongue.gif


The thing is now , i left it for a week or such because i was totaly stuck i had to wait for reply on the steamforums (wich my whole registration there got declined)
Either way i forgot how to get into my folder to start the steamcmd something like cd /home/chieftec/server

I dont know even know how i can see the folder i made so i kinda feel like i might aswell start over.
These simple things like : finding a folder takes me hours... and then i have to give up because i cant do it.

Bit frustrating sometimes for a guy like me knowing everything about Computer with windows, and then i use linux and im like total NOOB again O.o



So i am stuck on getting my Steamserver installed , no replies and no basic knowledge of linux :/

I post this topic because i want to start over from step 1!

Did i install my server correctly?
And how do i navigate in folder or anything els that i can use to get around in this Linux OS

The fact that if i used Windows Xp i could have a server running within 5 mins including setting up router ports.... i know how to get around windows but Xp has been discontiued and totally useless
(it was crap for a server anyways being all Full of useless junk running in background)

Sorry im going off-topic but i hope somebody is willing to help me out setting up my own linux box Hosting server for some nice old low demanding games :3 Like killing floor or Terraria(wich is not linux supported sadly)
Edited by Barbecuesaus - 10/21/13 at 12:02pm
     
CPUMotherboardGraphicsRAM
AMD Phenom II X4 960T Asrock 870 Extreme3 Xfx dual fan Ati Radeon HD 6870 Corsair XMS3 2gb 1333mhz 
RAMHard DriveHard DriveOptical Drive
Corsair XMS3 2gb 1333mhz 1TB western digital 7200rpm sata3 64mb 250GB Western Digital Back-up Drive Plextor PX-891SA 
CoolingOSMonitorKeyboard
Cooler Master Hyper 212 Evo Windows 8 Pro with mediacenter pack LG Flatron E2240 LED (1080p) Medion Erazer 
PowerCaseMouseMouse Pad
Adata 650W HM Series  Aerocool Vx-r Razer Abysus Steelseries Mop limited edition 
Audio
Creative Sound Blaster X-Fi Titanium Fatal1ty C... 
CPUMotherboardGraphicsRAM
Intel Core i7 720QM 0874P6 ATI Mobility Radeon HD 5470  Hyundai Electronics  
RAMCoolingOSMonitor
Elpida  Cooler Master NotePal U3 Windows 7 1080p LED 
Audio
SRS Premium Sound 
  hide details  
Reply
     
CPUMotherboardGraphicsRAM
AMD Phenom II X4 960T Asrock 870 Extreme3 Xfx dual fan Ati Radeon HD 6870 Corsair XMS3 2gb 1333mhz 
RAMHard DriveHard DriveOptical Drive
Corsair XMS3 2gb 1333mhz 1TB western digital 7200rpm sata3 64mb 250GB Western Digital Back-up Drive Plextor PX-891SA 
CoolingOSMonitorKeyboard
Cooler Master Hyper 212 Evo Windows 8 Pro with mediacenter pack LG Flatron E2240 LED (1080p) Medion Erazer 
PowerCaseMouseMouse Pad
Adata 650W HM Series  Aerocool Vx-r Razer Abysus Steelseries Mop limited edition 
Audio
Creative Sound Blaster X-Fi Titanium Fatal1ty C... 
CPUMotherboardGraphicsRAM
Intel Core i7 720QM 0874P6 ATI Mobility Radeon HD 5470  Hyundai Electronics  
RAMCoolingOSMonitor
Elpida  Cooler Master NotePal U3 Windows 7 1080p LED 
Audio
SRS Premium Sound 
  hide details  
Reply
post #2 of 7
If you can login into it, then the OS is probably installed properly.

linux doesn't have drive letters. Its root("Computer" in win7, can't remember if its the same in english winXP), is / and /home/your_username/(/home/chieftec/ in your case) is like my documents and you can store or install anything you want in there.

You navigate with cd with either the full path after like you used in your example or simply a folder from the current directory.

The ls command will show what's in the current directory and if you add a path after, it will show you what's in there without actually navigating into it.

To install/setup steamcmd, follow this: https://developer.valvesoftware.com/wiki/SteamCMD

If you don't know how to do something, take it step by step and google everything you don't know how to do.
First decent rig
(19 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2600K P67 Extreme4 NVIDIA GeForce GTX 560 Ti Corsair Vengeance Black 
RAMRAMRAMHard Drive
Corsair Vengeance Black Corsair Vengeance Red Corsair Vengeance Red OCZ Vertex 3 60GB 
Hard DriveOptical DriveCoolingOS
Western Digital Caviar Black 1TB ASUS 12x BD-ROM XIGMATEK LOKI SD963 Windows 7 SP1 x64 Ultimate 
MonitorKeyboardPowerCase
Sony Bravia 32" 720p 60Hz Sidewinder X4 OCZ ZX Series 850W COOLER MASTER HAF 922 
MouseMouse PadAudio
RAZER ABYSSUS Black 3 Buttons Random anime character ASUS Xonar D1 
  hide details  
Reply
First decent rig
(19 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2600K P67 Extreme4 NVIDIA GeForce GTX 560 Ti Corsair Vengeance Black 
RAMRAMRAMHard Drive
Corsair Vengeance Black Corsair Vengeance Red Corsair Vengeance Red OCZ Vertex 3 60GB 
Hard DriveOptical DriveCoolingOS
Western Digital Caviar Black 1TB ASUS 12x BD-ROM XIGMATEK LOKI SD963 Windows 7 SP1 x64 Ultimate 
MonitorKeyboardPowerCase
Sony Bravia 32" 720p 60Hz Sidewinder X4 OCZ ZX Series 850W COOLER MASTER HAF 922 
MouseMouse PadAudio
RAZER ABYSSUS Black 3 Buttons Random anime character ASUS Xonar D1 
  hide details  
Reply
post #3 of 7
For what it's worth I'm pretty much in the same boat as far knowing seemingly lots about windows and getting smacked down to noob when trying linux. Took some significant tenacity and will power to continue with it past all the issues I had on various attempts at...things.

I would suggest creating some google docs (my online doc of choice) and taking careful notes as you go so you have a reference point to go back to. It might seem like it's takign that much longer but you'll be really glad when you have to come back to it in 6 or more months rolleyes.gif

That's what I did for my pxe boot thing, my CLI virtualbox thing, my apt-cache server thing, my wifi-via-cli thing, my openwrt on my router thing, well you get the idea. I made some tables with commands and what they do too.

I too find myself on occassion having to find things in the file system and was happy to find out the command is relatively simple and doesn't require extensive knowledge of regular expressions:

find / -name foldername*

You may want to practice in a virtualmachine (like virtualbox) before trying to put it on a physical machine. This also may seem time consuming but after 10+ years of off-and-on linux attempts practicing in a VM and taking extensive notes in various google documents is the only way that has allowed me to make any progress what-so-ever.

Also, if you haven't already I would recommend installing an SSH daemon (openssh-server, I believe) so you admin conveniently from your Windows PC (via putty). Also, Webmin is a separated web daemon for administering the system through a convenient web interface. My virtualbox/linux guide linked below covers that, just ignore the virtualbox bits smile.gif
Edited by subassy - 10/21/13 at 3:29pm
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
post #4 of 7
Thread Starter 
Yea its not finding the Guides and tutorials on how to add certain components.
Its more the in-betweens that seem to be missing for a newb like me tongue.gif

Its not hard to understand , but harder to remember when its without any overview in the system. I was not realy prepared to start writing things down :/

At this point , thanks for that find directory , i found something about that find command but it was not written like you write it.

So if i would type:

find -steamcmd

It shows me the where its located or something in that direction redface.gif ?

Other then that id like to remember how to write folder again.
For example i had files like:

[ /home/chieftec/unreal/steam ]

But my server doesnt respond because im unsure.
If i type:
[ cd /home/chieftec ]
I get no result
But when i type: [ cd /home ] i succefully get into that root

at this point i am even unsure the user folder (in my case named: chieftec
Is even there :/

The login works so that is the username.

But i know i have folder named:
/home
/chieftec
/unreal
/steam
/kfserver

I just forget in wich order or if what order , or 2 in the same folder .... Maybe i should get a GUi so i at least can have a peak into the directory structure im creating. But stil just use terminal only..?

Oke so on that part its actualy all i need atm =) il run into more problems and that would make things easyier sinds most problem are searcheble but my newbies is not biggrin.gif
     
CPUMotherboardGraphicsRAM
AMD Phenom II X4 960T Asrock 870 Extreme3 Xfx dual fan Ati Radeon HD 6870 Corsair XMS3 2gb 1333mhz 
RAMHard DriveHard DriveOptical Drive
Corsair XMS3 2gb 1333mhz 1TB western digital 7200rpm sata3 64mb 250GB Western Digital Back-up Drive Plextor PX-891SA 
CoolingOSMonitorKeyboard
Cooler Master Hyper 212 Evo Windows 8 Pro with mediacenter pack LG Flatron E2240 LED (1080p) Medion Erazer 
PowerCaseMouseMouse Pad
Adata 650W HM Series  Aerocool Vx-r Razer Abysus Steelseries Mop limited edition 
Audio
Creative Sound Blaster X-Fi Titanium Fatal1ty C... 
CPUMotherboardGraphicsRAM
Intel Core i7 720QM 0874P6 ATI Mobility Radeon HD 5470  Hyundai Electronics  
RAMCoolingOSMonitor
Elpida  Cooler Master NotePal U3 Windows 7 1080p LED 
Audio
SRS Premium Sound 
  hide details  
Reply
     
CPUMotherboardGraphicsRAM
AMD Phenom II X4 960T Asrock 870 Extreme3 Xfx dual fan Ati Radeon HD 6870 Corsair XMS3 2gb 1333mhz 
RAMHard DriveHard DriveOptical Drive
Corsair XMS3 2gb 1333mhz 1TB western digital 7200rpm sata3 64mb 250GB Western Digital Back-up Drive Plextor PX-891SA 
CoolingOSMonitorKeyboard
Cooler Master Hyper 212 Evo Windows 8 Pro with mediacenter pack LG Flatron E2240 LED (1080p) Medion Erazer 
PowerCaseMouseMouse Pad
Adata 650W HM Series  Aerocool Vx-r Razer Abysus Steelseries Mop limited edition 
Audio
Creative Sound Blaster X-Fi Titanium Fatal1ty C... 
CPUMotherboardGraphicsRAM
Intel Core i7 720QM 0874P6 ATI Mobility Radeon HD 5470  Hyundai Electronics  
RAMCoolingOSMonitor
Elpida  Cooler Master NotePal U3 Windows 7 1080p LED 
Audio
SRS Premium Sound 
  hide details  
Reply
post #5 of 7
As I said, the ls command is your friend.

If you do
Code:
cd /home/
and then
Code:
ls
You'll see what's in /home

and google is also your friend for the in between. Just google "list folder content linux" for example and you'll easily find your answer.

You shouldn't put anything in the root( / ), but keep everything is your user folder in the home directory until you learn more.
So you should have the following instead:
/home
/home/chieftec
/home/chieftec/unreal
/home/chieftec/steam
/home/chieftec/kfserver

Some simple commands(you can either use the full path or just the name of the file or folder if it's in the current directory):
mkdir name_of_folder = create a folder
rm name_of_folder_or_file = delete a file or empty folder
rm -R name_of_folder = delete a folder and everything in it
mv name_of_folder_or_file new_folder_or_file_name_or_new_location = move or rename a file
Edited by SamKook - 10/21/13 at 6:04pm
First decent rig
(19 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2600K P67 Extreme4 NVIDIA GeForce GTX 560 Ti Corsair Vengeance Black 
RAMRAMRAMHard Drive
Corsair Vengeance Black Corsair Vengeance Red Corsair Vengeance Red OCZ Vertex 3 60GB 
Hard DriveOptical DriveCoolingOS
Western Digital Caviar Black 1TB ASUS 12x BD-ROM XIGMATEK LOKI SD963 Windows 7 SP1 x64 Ultimate 
MonitorKeyboardPowerCase
Sony Bravia 32" 720p 60Hz Sidewinder X4 OCZ ZX Series 850W COOLER MASTER HAF 922 
MouseMouse PadAudio
RAZER ABYSSUS Black 3 Buttons Random anime character ASUS Xonar D1 
  hide details  
Reply
First decent rig
(19 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2600K P67 Extreme4 NVIDIA GeForce GTX 560 Ti Corsair Vengeance Black 
RAMRAMRAMHard Drive
Corsair Vengeance Black Corsair Vengeance Red Corsair Vengeance Red OCZ Vertex 3 60GB 
Hard DriveOptical DriveCoolingOS
Western Digital Caviar Black 1TB ASUS 12x BD-ROM XIGMATEK LOKI SD963 Windows 7 SP1 x64 Ultimate 
MonitorKeyboardPowerCase
Sony Bravia 32" 720p 60Hz Sidewinder X4 OCZ ZX Series 850W COOLER MASTER HAF 922 
MouseMouse PadAudio
RAZER ABYSSUS Black 3 Buttons Random anime character ASUS Xonar D1 
  hide details  
Reply
post #6 of 7
In Linux when you login to it you are automatically in your home directory. For example it would be /home/username. If you use the command "cd ~" it'll take you there.
My System
(21 items)
 
Server/HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD 8320 Asus m5a99fx pro EVGA 660ti  Gskill 8GB F3-1600C9-8GXM x2 
RAMHard DriveHard DriveHard Drive
4GB x2 OCZ Agility 3 Sasmsung 840 EVO Western Digital Caviar Blue 
Hard DriveOptical DriveOptical DriveCooling
Seagate 500gb Asus DRW-24B1ST Asus BC-12B1ST cool master hyper 212 evo 
OSOSMonitorMonitor
Windows 10 Pro x64 Arch  Asus 23" VH238 Asus 23" VH238H 
PowerCase
Corsair CX600M Fractal Design Define R5  
CPUMotherboardRAMHard Drive
i3 6100 Asus Z170M-Plus something 16gb DDR4 Western Digital 200GB 
Hard DriveHard DriveHard DriveOS
Western Digital 1TB Samsung 2TB Western Digital Red 3TB Centos 7 
OSPowerCase
Ubuntu Server - VM Corsair CX430  Cooler Master HAF 912 
  hide details  
Reply
My System
(21 items)
 
Server/HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD 8320 Asus m5a99fx pro EVGA 660ti  Gskill 8GB F3-1600C9-8GXM x2 
RAMHard DriveHard DriveHard Drive
4GB x2 OCZ Agility 3 Sasmsung 840 EVO Western Digital Caviar Blue 
Hard DriveOptical DriveOptical DriveCooling
Seagate 500gb Asus DRW-24B1ST Asus BC-12B1ST cool master hyper 212 evo 
OSOSMonitorMonitor
Windows 10 Pro x64 Arch  Asus 23" VH238 Asus 23" VH238H 
PowerCase
Corsair CX600M Fractal Design Define R5  
CPUMotherboardRAMHard Drive
i3 6100 Asus Z170M-Plus something 16gb DDR4 Western Digital 200GB 
Hard DriveHard DriveHard DriveOS
Western Digital 1TB Samsung 2TB Western Digital Red 3TB Centos 7 
OSPowerCase
Ubuntu Server - VM Corsair CX430  Cooler Master HAF 912 
  hide details  
Reply
post #7 of 7
Quote:
So if i would type:

find -steamcmd

It shows me the where its located or something in that direction

Did some snipping. In this case the -name bit literally means to enter in -name. I can see where that would be confusing though.

First the command, find
then the place to start the search from which would be root or /
Then the -name bit
then what you're search for like sources.list

string it all together and you have
find / -name sources.list
no fill-in-the-blank involved, you can copy/paste that into the SSH client/command line and it should list all the instances of the sources.list file.

I have found ls -l is a good way of listing directory contents. Just my personal preference. And sometimes ls -la so you can see hidden files (typically file/folder names that star with a period; you'll notice ls -la lists .. and . e.g. "one directory up" and "current directory" respectively).

This page provides a few more examples, albeit with annoying ads:
http://www.tecmint.com/35-practical-examples-of-linux-find-command/
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Servers
Overclock.net › Forums › Specialty Builds › Servers › I want to learn how to build and run my own tiny dedicated gaming-server running on Linux!