From 5ed1dfb175e2a92fead0a6a879e4fd4fc4ac4aea Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 19 Nov 2021 20:11:56 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'services/minetest.?= =?UTF-8?q?libre-service.eu.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/minetest.libre-service.eu.md | 34 +++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/services/minetest.libre-service.eu.md b/services/minetest.libre-service.eu.md index 05de714..a5d9446 100644 --- a/services/minetest.libre-service.eu.md +++ b/services/minetest.libre-service.eu.md @@ -4,7 +4,7 @@ Ouvrir les ports nécessaires : ``` -TODO +iptables -A INPUT -i $WAN -p udp --dport 30000 -j ACCEPT ``` Installer le serveur Minetest : @@ -34,20 +34,44 @@ Créer un fichier de configuration vierge : ``` cp /etc/minetest/minetest.conf /etc/minetest/fooland.conf ``` + Éditer le fichier de configuration : -- nom du monde : foolan ; -- … +``` +- server_name = My Minetest server ++ server_name = Miclouland – Mineclone2 LibreServiceEU + +- server_description = Minetest server powered by Debian ++ server_description = Mineclone2 en libre-service sur LibreServiceEU + +- server_address = minetest.libre-service.eu ++ server_url = https://minetest.libre-service.eu/ + +- default_game = minetest ++ default_game = miclouland + +- motd = Welcome to Minetest. Enjoy your stay! ++ motd = Bienvenue sur le Minetest de Libre-service.eu \o/ + +- max_users = 15 ++ max_users = 64 + +- enable_damage = false ++ enable_damage = true + +- # disallow_empty_password = false ++ disallow_empty_password = false +``` Créer le nouveau monde : ``` -systemctl start minetest-server@foolan.service +systemctl start minetest-server@fooland.service ``` Tester le nouveau monde en se connectant avec client Minetest. Migrer le nouveau monde vers le backend Postgres : ``` -systemctl stop minetest-server@foolan.service +systemctl stop minetest-server@fooland.service minetestserver --migrate PostgreSQL --world TODOOOOOOOOOOOOOO ```