Raised This Month: $51 Target: $400
 12% 

HLDS with CentOS 6.3 32bit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kNowo
Senior Member
Join Date: Apr 2011
Location: Malaysia
Old 07-18-2013 , 10:26   HLDS with CentOS 6.3 32bit
Reply With Quote #1

This is my first time using linux machine to run my server so this is a really new situation for me because I only used to run hlds on windows. I just installed hlds via SteamCMD on a fresh CentOS 6.3 32bit VPS today and started it, everything is ok and I can join and play like normal. But now I can't upload metamod and amxx to the folder because I don't know where it got installed and the VPS don't have FTP.

About the install dir, if I followed the steps on steamcmd wiki page, where will the hlds files located at? I mean if on windows, I know exactly where it will be because well its windows and has GUI.

About the FTP, i tried installing zPanel(an open source control panel for CentOS) and i created ftp account with rootdir access but when I log on, all I see is public_html folder.

Can anyone help me with this problem? I'm like a stranded human left alone on this linux space D:
kNowo is offline
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 07-18-2013 , 10:31   Re: HLDS with CentOS 6.3 32bit
Reply With Quote #2

So you installed server with ssh section, and you don't know/remember where did you install server..?
Well it's probably in somewhere /home/ direction, so type cd /home/;find . -name "hlds_run" and then it should give you path where hlds_run is located.

e. You can probably use sftp connection (you can use it like ftw), just add new site with filezilla ja put sftp to protocol type.
__________________
Quote:
367. Everyone's copyright will be broken. No exceptions.

Last edited by jonnzus; 07-18-2013 at 10:34.
jonnzus is offline
kNowo
Senior Member
Join Date: Apr 2011
Location: Malaysia
Old 07-18-2013 , 10:38   Re: HLDS with CentOS 6.3 32bit
Reply With Quote #3

I used this install dir when using SteamCMD

Code:
force_install_dir ./hlds/
EDIT: it's located in ./root/hlds/hlds_run

Last edited by kNowo; 07-18-2013 at 10:45.
kNowo is offline
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 07-18-2013 , 10:47   Re: HLDS with CentOS 6.3 32bit
Reply With Quote #4

So, what is your problem?
You don't remember directory where SteamCMD are located?
__________________
Quote:
367. Everyone's copyright will be broken. No exceptions.
jonnzus is offline
kNowo
Senior Member
Join Date: Apr 2011
Location: Malaysia
Old 07-18-2013 , 10:51   Re: HLDS with CentOS 6.3 32bit
Reply With Quote #5

Haha well, in general, linux is my problem. Ok lets take one thing at a time.

1. I'm on directory "root/hlds/", I start hlds using ./hlds_run -game cstrike +map de_dust2 +maxplayers 31. But when I close PuTTY, the server closes too. How do I keep the server running (preferably with autorestart function)

More questions coming..

Last edited by kNowo; 07-18-2013 at 10:51.
kNowo is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-18-2013 , 10:53   Re: HLDS with CentOS 6.3 32bit
Reply With Quote #6

Don't use root, Steam and SteamCMD don't like it

Also, a lot of your questions can be answered if you search
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-18-2013 , 10:54   Re: HLDS with CentOS 6.3 32bit
Reply With Quote #7

Quote:
Originally Posted by kNowo View Post
Haha well, in general, linux is my problem. Ok lets take one thing at a time.

1. I'm on directory "root/hlds/", I start hlds using ./hlds_run -game cstrike +map de_dust2 +maxplayers 31. But when I close PuTTY, the server closes too. How do I keep the server running (preferably with autorestart function)

More questions coming..
Use the screen command to launch it.

For instance, I use screen -d -m -U -S tf2 [command line here] to start my Team Fortress 2 server. This launches it in screen in the background... I can bring the console back to the foreground with screen -rx tf2 and put it in the background again by hitting ctrl-A then D

Unfortunately, I don't know what command to issue to install screen on CentOS. (Google suggests running this as root: yum install screen)

Edit:

The screen flags above mean:
-m = create a new session...
-d = ...running in the background (detached mode)
-U = supports UTF-8
-S = Refer to the screen by this name

and for the other command:
-r = reattach to a running screen...
-x = ...even if someone else is already attached to it
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-18-2013 at 11:09.
Powerlord is offline
kNowo
Senior Member
Join Date: Apr 2011
Location: Malaysia
Old 07-18-2013 , 11:03   Re: HLDS with CentOS 6.3 32bit
Reply With Quote #8

Thanks Yamki and Powerlord, I'll get back to that after I'm done installing vsftpd. About that, I kinda stuck at the editing of the vsftpd.conf file. I can't quit editing it (like save and closes notepad on windows).
kNowo is offline
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 07-18-2013 , 11:20   Re: HLDS with CentOS 6.3 32bit
Reply With Quote #9

Did you open it with nano? If yes, press ctrl + o (save) and then ctrl + c.
__________________
Quote:
367. Everyone's copyright will be broken. No exceptions.
jonnzus is offline
kNowo
Senior Member
Join Date: Apr 2011
Location: Malaysia
Old 07-18-2013 , 11:30   Re: HLDS with CentOS 6.3 32bit
Reply With Quote #10

I opened with vi, I've found some vi tutorial and succeeded editing the file. Thanks anyway.
kNowo is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode