contos7 方舟私服搭建
配置
1. 开放端口
120.0.0.0/0 UDP:7777,27015 27015:查询端口 0.0.0.0/0 TCP:32330 32330:Rcon端口
2. 服务器配置
1234567891011121314151617181920# 1. 更新yum update -y# 2. 添加用户adduser steampasswd steam# 3. 安装依赖yum install glibc.i686 libstdc++.i686 ncurses-lib.i686 -yyum install screen -y# 4. 预配置echo "fs.file-max=100000" >> /etc/sysctl.confsysctl -p /etc/sysctl.conf# 打开 /etc/security/limits.confvim /etc/security/limits.conf# 尾部确保值大* soft nofile 100001* hard nofile 100002
安装
1. 安装steamcmd
切换用户
12su steamc ...