Skip to content

Server Setup

Pikachar2 edited this page Dec 31, 2021 · 1 revision

Server Setup

Install Teamviewer - go to site and manually download and run

Set static IP

	-- Go to Network menu
	-- Click gear on connected port
	-- IPV4 -> Manual
	-- Address: 192.168.1.25
	-- Netmask: 255.255.255.0
	-- Gateway: 192.168.1.1
	-- DNS: 8.8.8.8, 1.1.1.1 

Connect to Shared Drive: smb://192.168.1.26/shared/

	-- Username: highi
	-- Domain: WORKGROUP
	-- Password: xbox pw
	-- Remember forever

Setup .bash_profile

-- Add to .bashrc:
if [ -f ~/.bash_profile ]; then
    . ~/.bash_profile
fi

Install SteamcCMD - https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD

-- Follow non-manual install instructions

Install Ark - https://ark.fandom.com/wiki/Dedicated_server_setup

Install Tomcat

	-- https://linuxhint.com/install_apache_tomcat_server_ubuntu/
	-- Useful env vars - https://askubuntu.com/questions/135824/what-is-the-tomcat-installation-directory
	-- chmod webapps folder - sudo chmod o+rwx $CATALINA_BASE/webapps
	-- Create shortcut to webapps folder - ln -s /$CATALINA_BASE/webapps/ ~/webapps

Install RCON

	-- install gcc: sudo apt install gcc
	-- https://www.ark-survival.net/en/2015/07/09/rcon-tutorial/
	-- file: https://www.ryanschulze.net/archives/1052
	-- change pass -> ARK_ADMIN_PASS
	-- change host -> RCON_HOST
	-- change port -> RCON_PORT
	-- copy rcon to $RCON_HOME (from where you compiled it)
		-- sudo cp rcon $RCON_HOME

Copy scripts to appropriate places

	-- currently ~/Scripts/Ark_Scripts
	-- Start_Projects.sh -> ~ 
		-- Make sure it's executable.
	-- Make all scripts in ArkScripts executable: sudo chmod +x *.sh

Copy SavedMaps folder to Servers/Ark_Server/ShooterGame

Copy server_start.sh to ~/Servers/Ark_Server/ShooterGame/Binaries/Linux

-- Edit this file to change startup commands (like what event is running)

Copy Mods into .../ShooterGame/Content/Mods

Copy ui into webapps folder

-- Make sure it's all lowercase

Copy java project into ~/Web

Clone this wiki locally