0% found this document useful (0 votes)
32 views

Howto ServerArk

The document provides instructions for setting up a dedicated Ark game server on Ubuntu. It includes steps to: 1) Update the system repositories and install SteamCMD to download Ark from Steam. 2) Use SteamCMD to login, force the install directory, and download/install the Ark server files. 3) Configure firewall rules, file limits, and edit the server configuration files to set options like the max players. 4) Start the Ark server and put the startup command in rc.local to run it automatically on system boot.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Howto ServerArk

The document provides instructions for setting up a dedicated Ark game server on Ubuntu. It includes steps to: 1) Update the system repositories and install SteamCMD to download Ark from Steam. 2) Use SteamCMD to login, force the install directory, and download/install the Ark server files. 3) Configure firewall rules, file limits, and edit the server configuration files to set options like the max players. 4) Start the Ark server and put the startup command in rc.local to run it automatically on system boot.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

**PROCURAR UM ID DE JOGO DEDICADO

https://steamdb.info/search/?a=app&q=dedicated+server
*** regra de firewall do google udp:7777-7778;udp:27015-27020

-------------------------------INICIO DOS COMANDOS ---------------------------


-Pegar Acesso administrador
sudo -i

-configurar o repositorio
vi /etc/apt/sources.list
---sair com :wq

-aperta INSERT e cola as linhas abaixo


deb http://archive.ubuntu.com/ubuntu xenial main universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-security main universe multiverse

-aperta ESC
-para sair e salvar escreve :wq

---CONFIG e BAIXAR STEAM


add-apt-repository multiverse
dpkg --add-architecture i386
apt-get update
apt-get install lib32gcc1 steamcmd
echo "fs.file-max=100000" >> /etc/sysctl.conf && sysctl -p
echo "* soft nofile 100000" >> /etc/security/limits.conf
echo "* hard nofile 100000" >> /etc/security/limits.conf
echo "session required pam_limits.so" >> /etc/pam.d/common-session

-IR para a pasta onde esta o steamCMD


cd /usr/games/

-LOGAR no SteamCMD - baixar e instalar o ARK


./steamcmd login senha
login "seulogin" "SUASENHA"
--->VAI RECEBER UM EMAIL COM O CODIGO PARA COLAR
force_install_dir /usr/games/ark
app_update 376030
---DEPOIS DE INSTALADO
quit

-------INICIAR O SERVIDOR
/usr/games/ark/ShooterGame/Binaries/Linux/ShooterGameServer "TheIsland?listen?
MaxPlayers=40"
--dar o comando para fechar 2 vezes
CRTL + C
CRTL + C
************** SOMENTE SE CASO TRAVAR **************
---se parar de responder SAIR DO TERMINAL - fechar a JANela e abrir novamente a
ganela
---dar o comando para reiniciar
-- sudo -i
-- reboot

*************** SE NAO TRAVOU CONTINUAR DAQUI ******

---EDITANDO AS CONFIG DO SERVIDOR


vi /usr/games/ark/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini
---sair com :wq

******** zerar as Conf do servidor se PRECISAR **********


echo a > /usr/games/ark/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini

--IR PARA O DIRETORIO Das configura��es


cd /usr/games/ark/ShooterGame/Saved/Config/LinuxServer/

--colocar o arquivo de configura��o em modo somente leitura - Modo de edicao( 777 )


chmod 444 GameUserSettings.ini

-------INICIAR O SERVIDOR - PARA TESTE


/usr/games/ark/ShooterGame/Binaries/Linux/ShooterGameServer "TheIsland?listen?
MaxPlayers=40"

-------COLOCAR NO INICIO AUTOMATICO


vi /etc/rc.local
#!/bin/sh -e

/usr/games/ark/ShooterGame/Binaries/Linux/ShooterGameServer "TheIsland?listen?
MaxPlayers=40"
---sair com :wq

--colocar o comando para rodar na inicializa��o


chmod +x /etc/rc.local

You might also like