Hi, i rent a dedicate server and i would like to rent 2-3 css server.
Ive been reading janne message: http://forums.srcds.com/viewtopic/10860 post #2.
I would like an update on this please: i use fedora linux.
my steam is on : /opt/srcds with css install
I have 2 client (they want to rent 1 css server each). So i use 2 username
1- /home/client1
2- /home/client2
In my situation do you think the janne option is good for me?
Here what he is doing:
-----------------------------------------------------------------------
Create a user & folder for the shared content.
Code:
sudo useradd -d/home/srcds -m srcds
Make a default srcds installation in that folder as user srcds.
Also if you want put some extra maps and plugins you need to be common for all servers. (if so, don't to edit maplist.txt etc...)
Then create the first user
Code:
sudo useradd -d/home/user1 -m user1
and as root create symbolic links from srcds
Code:
sudo cp -s -R /home/srcds/* /home/user1/
and replace user editable files with a fresh copy of their own
Code:
sudo rm /home/user1/cstrike/cfg/*
sudo rm /home/user1/cstrike/*.txt
sudo rm /home/user1/cstrike/*.db
sudo cp /home/srcds/cstrike/cfg/* /home/user1/cstrike/cfg/
sudo cp /home/srcds/cstrike/*.txt /home/user1/cstrike/
sudo cp /home/srcds/cstrike/*.db /home/user1/cstrike/
and set proper permissions for directories
Code:
sudo find /home/user1/ -type d -exec chown user1.user1 {} \;
and files
Code:
sudo chown user1.user1 /home/user1/cstrike/cfg/*
sudo chown user1.user1 /home/user1/cstrike/*.txt
sudo chown user1.user1 /home/user1/cstrike/*.db
the add user1 to group srcds so it can read its files
Code:
sudo usermod -a -Gsrcds user1 (-G srcds i suppose)
Repeat the user process for more servers.
All updates will this way only be needed on the shared content.
All users can edit their own configs and install new maps and plugins which wasn't part of the shared content.
-----------------------------------------------------------------------
For css i need to modify the directory for /orangebox/cstrike i think
So is there anything miss in this and everything good ? what you think about this?
Thank you for your help
Ive been reading janne message: http://forums.srcds.com/viewtopic/10860 post #2.
I would like an update on this please: i use fedora linux.
my steam is on : /opt/srcds with css install
I have 2 client (they want to rent 1 css server each). So i use 2 username
1- /home/client1
2- /home/client2
In my situation do you think the janne option is good for me?
Here what he is doing:
-----------------------------------------------------------------------
Create a user & folder for the shared content.
Code:
sudo useradd -d/home/srcds -m srcds
Make a default srcds installation in that folder as user srcds.
Also if you want put some extra maps and plugins you need to be common for all servers. (if so, don't to edit maplist.txt etc...)
Then create the first user
Code:
sudo useradd -d/home/user1 -m user1
and as root create symbolic links from srcds
Code:
sudo cp -s -R /home/srcds/* /home/user1/
and replace user editable files with a fresh copy of their own
Code:
sudo rm /home/user1/cstrike/cfg/*
sudo rm /home/user1/cstrike/*.txt
sudo rm /home/user1/cstrike/*.db
sudo cp /home/srcds/cstrike/cfg/* /home/user1/cstrike/cfg/
sudo cp /home/srcds/cstrike/*.txt /home/user1/cstrike/
sudo cp /home/srcds/cstrike/*.db /home/user1/cstrike/
and set proper permissions for directories
Code:
sudo find /home/user1/ -type d -exec chown user1.user1 {} \;
and files
Code:
sudo chown user1.user1 /home/user1/cstrike/cfg/*
sudo chown user1.user1 /home/user1/cstrike/*.txt
sudo chown user1.user1 /home/user1/cstrike/*.db
the add user1 to group srcds so it can read its files
Code:
sudo usermod -a -Gsrcds user1 (-G srcds i suppose)
Repeat the user process for more servers.
All updates will this way only be needed on the shared content.
All users can edit their own configs and install new maps and plugins which wasn't part of the shared content.
-----------------------------------------------------------------------
For css i need to modify the directory for /orangebox/cstrike i think
So is there anything miss in this and everything good ? what you think about this?
Thank you for your help