linux 七日杀服务器ip,【图片】17-06-16 丨教程丨Linux 部署七日杀服务器_七日杀吧_百度贴吧...

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

下面对安装流程做一下简要说明

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.

这句话的意思大概就是为了隔绝系统安全性,不要直接用root用户直接运行,创建一个名为steam的用户运行SteamCMD

useradd -m steam //创建一个用户名为steam的 用户

cd /home/steam //切换目录到 用户目录

以下是linux 安装steamcmd 命令

1. It's recommended to install the SteamCMD package from your distribution repositories, if available:

如果可以的话,建议使用仓库安装的方式来安装Steamcmd

下面是安装命令:

Ubuntu/Debian 系统 :sudo apt-get install steamcmd

RedHat/CentOS 系统:yum install steamcmd

Arch Linux :pacman -S steamcmd

2. Link the steamcmd executable:

ln -s /usr/games/steamcmd steamcmd //创建快捷方式

1. Before you begin, you must first install the dependencies required to run SteamCMD:

当你运行steamcmd 之前,安装一下依赖

Ubuntu/Debian 64-Bit:sudo apt-get install lib32gcc1

RedHat/CentOS:yum install glibc libstdc++

RedHat/CentOS 64-Bit:yum install glibc.i686 libstdc++.i686

2. As the root user, escalate to the steam user:

使用root用户 升级steam

su - steam

If you're not logging in as root and you instead use sudo to perform administration, escalate to the steam user as follows:

如果没有登录root 用户,使用下面命令:

sudo -iu steam

3. Create a directory for SteamCMD and switch to it.

为SteamCMD 创建 Steam目录

mkdir ~/Steam && cd ~/Steam

4. Download and extract SteamCMD for Linux.

下载并解压linux包

curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -

安装steamcmd 就此完成


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部