
Server configuration: Alibaba cloud, which is not very useful at hand
- System
CentOS 6.5 x86_ sixty-four
- Configuration
1h1g
disk 40G
Peak 100Mbps (bandwidth on demand, I haven't seen it before, and there are still hundreds of volumes that have not been reduced)
Pre operation
Before installing steamcmd, you need to install the following, if it is not troublesome yum update
Upgrade the system
CentOS x86_ 64( 64bit )
yum install mailx postfix curl wget bzip2 gzip unzip python tmux glibc.i686 libstdc++ libstdc++.i686
CentOS x64( 32bit )
yum install mailx postfix curl wget bzip2 gzip unzip python tmux libstdc++
Original words of steam course
Create a user account named steam to run SteamCMD safely, isolating it from the rest of the operating system. Do not run steamcmd while operating as the root user - to do so is a security risk.
It is best not to run steamcmd with the root user
Create user and create storage directory
AddUser steam ා create a user named steam
passwd steam ා and set the password at will. Here, I don't have the permission to create files in the folder of survival Road 2. It is recommended to switch back to root to create
Cd ~ # to enter the user's root directory
MKDIR steamcmd ා to create a storage directory
Official yum install steamcmd
I didn't succeed. My friends can have a try
cd ~/steamCmd
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_ linux.tar.gz
tar -zxvf steamcmd_ Linux. Tar. GZ ා to prevent decompression before downloading, this is a separate operation
Run steamcmd to install and survive 2
Ah~
Run script
./steamcmd.sh
At this time, you will enter steamcmd
This is an anonymous login to steam to view the game that needs to log in with a user name. Find it here Here, here
Login with other user names Login user name
Here the road to survival 2 supports anonymous login, we use anonymous
login anonymous
I didn't do the step of specifying the download directory. The default download directory is steam/steamapps/common/
inside
force_ install_ dir /home/steam/l4d2
Take it with you when you download it validate The data downloaded by validation is missing or missing
app_ update 222860 validate

Waiting for installation to complete
When the installation is completed, you will be prompted Success! App '222860' fully installed.
input exit
or quit
or Ctrl + C
or Ctrl + Z
sign out
Configure and run the way to survive 2
Open the configuration file directory under the directory of road to survival 2
cd /home/steam/Steam/steamapps/common/Left 4 Dead 2 Dedicated Server/left4dead2/cfg
establish server.cfg
configuration file
hostname "Me WuHan School? "Host name SV"_ Cheats 1 enable cheating SV_ Region 4 ා the Asian server I set here (0 is global hot)
SV_ Steam group "2791593511845411016724628356" ා set steam group
SV_ steamgroup_ Exclusive 1 enable private group SV_ allow_ wait_ Command 0 no wait sb_ all_ bot_ Game 1 keep a computer SV_ Consistency 0 ා mod, you can play SV together if you are not the same_ search_ max_ Ping 300 ᦇ over 300ping, you can't find me (if you turn off the private group)
FPS_ Max 72 ා limit fps72 බ Z_ Difficulty hard ා turn on difficult mode
Open the directory of road to survival 2
cd /home/steam/Steam/steamapps/common/Left 4 Dead 2 Dedicated Server/
Administrator rights create a startup script
nano l4d2_ run.sh
The contents are as follows:
./srcds_ Run - game left4dead2 - Secure + IP 0.0.0.0 - port 25566 - condebug + exec server. CFG ﹖ I add IP here because the program gets to alicloud's intranet address. I specify the port specified by
- port, and the personalized service
- condebug records the damage process of bear children
OK, run it~
./l4d2_ run.sh
By the way, aliyun spicy chicken