Page 1 of 1

Running Server 5.0.1 on Ubuntu VPS

PostPosted: Mon Jul 22, 2019 18:13
by Chrozayis
I'm new to Minetest and trying to set up a server on my VPS running Ubuntu 18.04.

Adding the PPA gives me minetest up to date, but not minetest-server
Code: Select all
$ apt search minetest
Sorting... Done
Full Text Search... Done
minetest/bionic 5.0.1-ppa1~ubuntu18.04.1 amd64
  Infinite-world block sandbox game and engine
...
minetest-server/bionic 0.4.16+repack-4 amd64
  Multiplayer infinite-world block sandbox (server)

This wiki page references an executable, but I can't find it.
https://wiki.minetest.net/Setting_up_a_server#Linux
I suspect that wiki article is severely out of date.

The other Linux wiki article looks correct, but I want 5.0.1 not version 0.4.16 which what I have in my repos.
https://wiki.minetest.net/Setting_up_a_server/Debian

I'm also failing to find compilation instructions for minetest-server

Re: Running Server 5.0.1 on Ubuntu VPS

PostPosted: Mon Jul 22, 2019 19:39
by shabek
I'm running minetest server (and client) on my desktop (Ubuntu 18.04), but it should be the same for VPS. Ignore minetest-server package, use minetest from PPA (with --server). I think that I followed instructions from https://www.vultr.com/docs/how-to-setup ... untu-17-04 (more or less), or from some similar article.

In short, first make sure that you can start minetest server from command line (main issue will be to setup correct minetest.conf and paths to world, mods etc.), and after that you can create and enable systemd minetest service.

Re: Running Server 5.0.1 on Ubuntu VPS

PostPosted: Mon Jul 22, 2019 20:35
by Chrozayis
so it's
Code: Select all
$ minetest --server --...

like in the Windows instructions

Seems the wiki is badly in need of an update then.

Re: Running Server 5.0.1 on Ubuntu VPS

PostPosted: Tue Jul 23, 2019 08:25
by Miniontoby

Re: Running Server 5.0.1 on Ubuntu VPS

PostPosted: Tue Jul 23, 2019 19:58
by sfan5
It is not necessary to install the full client to host a server, using minetest --server is suboptimal.
A script that compiles only minetestserver for headless operation on a server can be found here.

Re: Running Server 5.0.1 on Ubuntu VPS

PostPosted: Tue Jul 23, 2019 20:04
by Chrozayis
In what way is it suboptimal? Is there a perfomance impact or is it just saving some disk space?

Re: Running Server 5.0.1 on Ubuntu VPS

PostPosted: Tue Jul 23, 2019 20:32
by sfan5
Disk space but also network traffic since apt will also keep all those unneeded graphical packages updated.
There is no performance impact, no.

Re: Running Server 5.0.1 on Ubuntu VPS

PostPosted: Tue Jul 23, 2019 20:38
by Chrozayis
I can't really say I'm concerned about apt's resource usage. I'll stick with the simplest solution.

Re: Running Server 5.0.1 on Ubuntu VPS

PostPosted: Thu Jul 25, 2019 13:57
by Chrozayis
Is there a way to create a world / manage mods over CLI or do I need to set that up first then upload to my VPS?