Running Server 5.0.1 on Ubuntu VPS

Post Reply
Chrozayis
Member
Posts: 14
Joined: Mon Jul 22, 2019 17:49
Location: Canada

Running Server 5.0.1 on Ubuntu VPS

by Chrozayis » Post

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

shabek
New member
Posts: 2
Joined: Mon Jun 17, 2019 05:43

Re: Running Server 5.0.1 on Ubuntu VPS

by shabek » Post

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.

Chrozayis
Member
Posts: 14
Joined: Mon Jul 22, 2019 17:49
Location: Canada

Re: Running Server 5.0.1 on Ubuntu VPS

by Chrozayis » Post

so it's

Code: Select all

$ minetest --server --...

like in the Windows instructions

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

User avatar
Miniontoby
Member
Posts: 392
Joined: Fri Mar 01, 2019 19:25
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: Running Server 5.0.1 on Ubuntu VPS

by Miniontoby » Post

My English isn't very good because I'm Dutch ---- Check my mod "Doorbell" Vote your gang

User avatar
sfan5
Moderator
Posts: 3920
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Running Server 5.0.1 on Ubuntu VPS

by sfan5 » Post

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.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

Chrozayis
Member
Posts: 14
Joined: Mon Jul 22, 2019 17:49
Location: Canada

Re: Running Server 5.0.1 on Ubuntu VPS

by Chrozayis » Post

In what way is it suboptimal? Is there a perfomance impact or is it just saving some disk space?

User avatar
sfan5
Moderator
Posts: 3920
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Running Server 5.0.1 on Ubuntu VPS

by sfan5 » Post

Disk space but also network traffic since apt will also keep all those unneeded graphical packages updated.
There is no performance impact, no.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

Chrozayis
Member
Posts: 14
Joined: Mon Jul 22, 2019 17:49
Location: Canada

Re: Running Server 5.0.1 on Ubuntu VPS

by Chrozayis » Post

I can't really say I'm concerned about apt's resource usage. I'll stick with the simplest solution.

Chrozayis
Member
Posts: 14
Joined: Mon Jul 22, 2019 17:49
Location: Canada

Re: Running Server 5.0.1 on Ubuntu VPS

by Chrozayis » Post

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?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest