Running Server 5.0.1 on Ubuntu VPS

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

Running Server 5.0.1 on Ubuntu VPS

by Chrozayis » Mon Jul 22, 2019 18:13

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 » Mon Jul 22, 2019 19:39

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: 13
Joined: Mon Jul 22, 2019 17:49
Location: Canada

Re: Running Server 5.0.1 on Ubuntu VPS

by Chrozayis » Mon Jul 22, 2019 20:35

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: 244
Joined: Fri Mar 01, 2019 19:25
Location: The Netherlands
In-game: Miniontoby

Re: Running Server 5.0.1 on Ubuntu VPS

by Miniontoby » Tue Jul 23, 2019 08:25

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

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

Re: Running Server 5.0.1 on Ubuntu VPS

by sfan5 » Tue Jul 23, 2019 19:58

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: 13
Joined: Mon Jul 22, 2019 17:49
Location: Canada

Re: Running Server 5.0.1 on Ubuntu VPS

by Chrozayis » Tue Jul 23, 2019 20:04

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

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

Re: Running Server 5.0.1 on Ubuntu VPS

by sfan5 » Tue Jul 23, 2019 20:32

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: 13
Joined: Mon Jul 22, 2019 17:49
Location: Canada

Re: Running Server 5.0.1 on Ubuntu VPS

by Chrozayis » Tue Jul 23, 2019 20:38

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

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

Re: Running Server 5.0.1 on Ubuntu VPS

by Chrozayis » Thu Jul 25, 2019 13:57

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?
 


Return to Problems



Who is online

Users browsing this forum: No registered users and 2 guests