0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

EC2にvalheim鯖建てる作業メモ

Posted at

インストール

$ sudo dpkg --add-architecture i386; sudo apt update; sudo apt install curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux netcat lib32gcc1 lib32stdc++6 steamcmd
$ sudo dpkg --add-architecture i386; sudo apt update; sudo apt install libsdl2-2.0-0:i386
$ wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh vhserver
$ ./vhserver install
$ vim lgsm/config-lgsm/vhserver/vhserver.cfg

設定

$ vim lgsm/config-lgsm/vhserver/vhserver.cfg
vhserver.cfg
servername="hoge"
serverpassword="fuga"
gameworld="hogefuga"

起動、停止

$ ./vhserver start
$ ./vhserver stop

容量足りない時

ストレージの空き容量足りなくてエラー出るのでEBSを8GBから20GBに拡張する

$ df -h
$ lsblk
$ sudo growpart /dev/xvda 1
$ sudo resize2fs /dev/xvda1
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?