Mise à jour de 'services/minetest.libre-service.eu.md'
This commit is contained in:
parent
3d5b925741
commit
5ed1dfb175
1 changed files with 29 additions and 5 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue