Raised This Month: $ Target: $400
 0% 

How to start cs 1.6 linux servers as steam not root


Post New Thread Reply   
 
Thread Tools Display Modes
Vivo
Senior Member
Join Date: May 2014
Old 11-30-2014 , 20:35   Re: How to start cs 1.6 linux servers as steam not root
Reply With Quote #21

Quote:
Originally Posted by YamiKaitou View Post
Code:
su steam -c 'cd /home/steam/steamcmd/27015 && ./hlds_run -game cstrike -master -secure -autoupdate -pingboost 2 +ip 95.172.92.152 +port 27015 +maxplayers 32 +hpk_maxsize 1 -debug -console -noaff -sys_ticrate 1000 +sv_lan 0 +map de_dust2 &'

su steam -c 'cd /home/steam/steamcmd/27016 && ./hlds_run -game cstrike -master -secure -autoupdate -pingboost 2 +ip 95.172.92.152 +port 27016 +maxplayers 11 +hpk_maxsize 1 -debug -console -noaff -sys_ticrate 1000 +sv_lan 0 +map de_dust2 &'

su steam -c 'cd /home/steam/steamcmd/27019 && ./hlds_run -game cstrike -master -secure -autoupdate -pingboost 2 +ip 95.172.92.152 +port 27019 +maxplayers 12 +hpk_maxsize 1 -debug -console -noaff -sys_ticrate 1000 +sv_lan 0 +map de_dust2 &'
Try this
How if i'm not with root and i need to add password when i use su steam
__________________
ViRuSeS # The best Servers and Host: viruses.ga
CSGO: 185.107.96.150:27015 or viruses.ga:27015
TeamSpeak3: 185.107.96.150:9987 or viruses.ga
Welcome! Good luck and have fun enjoy your time.
Vivo is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-01-2014 , 08:06   Re: How to start cs 1.6 linux servers as steam not root
Reply With Quote #22

Quote:
Originally Posted by Vivo View Post
How if i'm not with root and i need to add password when i use su steam
Then you log in as the user steam and run the commands directly.
__________________
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
Vivo
Senior Member
Join Date: May 2014
Old 12-01-2014 , 18:35   Re: How to start cs 1.6 linux servers as steam not root
Reply With Quote #23

Quote:
Originally Posted by YamiKaitou View Post
Then you log in as the user steam and run the commands directly.
Well this is problem because i want server to auto-start, Anyway i'll start it as my username not root or steam there will be np..
__________________
ViRuSeS # The best Servers and Host: viruses.ga
CSGO: 185.107.96.150:27015 or viruses.ga:27015
TeamSpeak3: 185.107.96.150:9987 or viruses.ga
Welcome! Good luck and have fun enjoy your time.
Vivo is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-01-2014 , 18:38   Re: How to start cs 1.6 linux servers as steam not root
Reply With Quote #24

Quote:
Originally Posted by Vivo View Post
Well this is problem because i want server to auto-start
I don't see the problem as you can still have it auto-start
__________________
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
Vivo
Senior Member
Join Date: May 2014
Old 12-04-2014 , 08:40   Re: How to start cs 1.6 linux servers as steam not root
Reply With Quote #25

Quote:
Originally Posted by YamiKaitou View Post
I don't see the problem as you can still have it auto-start
Yes i fixed this problem...
Someone from NFO-SERVERS wrote in comment use chrt for 1000FPS..
I didn't understand, You have
PHP Code:
su steam -'cd /home/steam/steamcmd/27015 && ./hlds_run -game cstrike -master -secure -autoupdate -pingboost 2 +ip 95.172.92.152 +port 27015 +maxplayers 32 +hpk_maxsize 1 -debug -console -noaff -sys_ticrate 1000 +sv_lan 0 +map de_dust2 &'

su steam -'cd /home/steam/steamcmd/27016 && ./hlds_run -game cstrike -master -secure -autoupdate -pingboost 2 +ip 95.172.92.152 +port 27016 +maxplayers 11 +hpk_maxsize 1 -debug -console -noaff -sys_ticrate 1000 +sv_lan 0 +map de_dust2 &'

su steam -'cd /home/steam/steamcmd/27019 && ./hlds_run -game cstrike -master -secure -autoupdate -pingboost 2 +ip 95.172.92.152 +port 27019 +maxplayers 12 +hpk_maxsize 1 -debug -console -noaff -sys_ticrate 1000 +sv_lan 0 +map de_dust2 &' 
Do you know how to add chrt to make them in real time ?
__________________
ViRuSeS # The best Servers and Host: viruses.ga
CSGO: 185.107.96.150:27015 or viruses.ga:27015
TeamSpeak3: 185.107.96.150:9987 or viruses.ga
Welcome! Good luck and have fun enjoy your time.
Vivo is offline
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 12-04-2014 , 14:11   Re: How to start cs 1.6 linux servers as steam not root
Reply With Quote #26

And how can i have an instant restart at crash ? (step by step)

I used to have plugin that causes random crashes like 1 or 2 per week. It's no longer the case because i rewrote theses plugins from scratch.

Still crashes still happen when i play too much with monster mod, in a number that the server don't like it and crash xD... NO COMMENT PLEASE.

So i'm still interested about it.
Fr33m@n is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-04-2014 , 14:26   Re: How to start cs 1.6 linux servers as steam not root
Reply With Quote #27

Quote:
Originally Posted by Fr33m@n View Post
And how can i have an instant restart at crash ? (step by step)
Linux servers already restart automatically by default
__________________
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
Vivo
Senior Member
Join Date: May 2014
Old 12-05-2014 , 07:43   Re: How to start cs 1.6 linux servers as steam not root
Reply With Quote #28

Quote:
Originally Posted by YamiKaitou View Post
Linux servers already restart automatically by default
What about chrt ? please check my reply
__________________
ViRuSeS # The best Servers and Host: viruses.ga
CSGO: 185.107.96.150:27015 or viruses.ga:27015
TeamSpeak3: 185.107.96.150:9987 or viruses.ga
Welcome! Good luck and have fun enjoy your time.
Vivo is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-05-2014 , 07:58   Re: How to start cs 1.6 linux servers as steam not root
Reply With Quote #29

Quote:
Originally Posted by Vivo View Post
What about chrt ? please check my reply
Figure it out yourself. If you are going to be managing a server, you need to learn how to operate it. Here is the man docs for chrt, http://linux.die.net/man/1/chrt
__________________
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
Vivo
Senior Member
Join Date: May 2014
Old 12-05-2014 , 09:37   Re: How to start cs 1.6 linux servers as steam not root
Reply With Quote #30

Quote:
Originally Posted by YamiKaitou View Post
Figure it out yourself. If you are going to be managing a server, you need to learn how to operate it. Here is the man docs for chrt, http://linux.die.net/man/1/chrt
I understand what you are saying but i'm running servers as steam not root like you learned me that's why i'm asking you for help, Thanks anyway.
__________________
ViRuSeS # The best Servers and Host: viruses.ga
CSGO: 185.107.96.150:27015 or viruses.ga:27015
TeamSpeak3: 185.107.96.150:9987 or viruses.ga
Welcome! Good luck and have fun enjoy your time.
Vivo 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 21:23.


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