LoginSignup
0
0

More than 5 years have passed since last update.

terariaサーバーのCentOSで構築するメモ

Last updated at Posted at 2018-04-25

自分用です


yum update -y
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
yum install -y mono-complete screen

mono --version

vim /etc/firewalld/services/terraria.xml
# 下の内容適用
firewall-cmd --zone=public --permanent --add-service=terraria
firewall-cmd --reload
firewall-cmd --zone=public --permanent --list-services

useradd -d /home/tshock tshock
passwd tshock

sudo -su tshock
cd ~
wget https://github.com/Pryaxis/TShock/releases/download/v4.3.25/tshock_4.3.25.zip
mkdir 4325
unzip -d 4325/ tshock_4.3.25.zip
cd 4325/
mono TerratiaServer.exe


<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>Terraria</short>
  <description>Open TCP port 7777 for incoming Terraria client connections.</description>
  <port protocol="tcp" port="7777"/>
</service>

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0