Mise à jour de 'services/minetest.libre-service.eu.md'
This commit is contained in:
parent
fec2c8dcae
commit
e3a60c1d47
1 changed files with 62 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
|
Ouvrir les ports nécessaires :
|
||||||
|
```
|
||||||
|
TODO
|
||||||
|
```
|
||||||
|
|
||||||
Installer le serveur Minetest :
|
Installer le serveur Minetest :
|
||||||
```
|
```
|
||||||
apt-get install minetest-server minetestmapper
|
apt-get install minetest-server minetestmapper
|
||||||
|
@ -10,6 +15,63 @@ apt-get install minetest-server minetestmapper
|
||||||
|
|
||||||
# Mineclone2
|
# Mineclone2
|
||||||
|
|
||||||
|
## Install
|
||||||
Récupérer le zip :
|
Récupérer le zip :
|
||||||
* https://content.minetest.net/packages/Wuzzy/mineclone2/
|
* https://content.minetest.net/packages/Wuzzy/mineclone2/
|
||||||
* cliquer sur le bouton `Download`
|
* cliquer sur le bouton `Download`
|
||||||
|
|
||||||
|
Décompresser :
|
||||||
|
̀```
|
||||||
|
unzip mineclone2_6745.zip
|
||||||
|
```
|
||||||
|
|
||||||
|
Ranger dans l'arborescence de Minetest :
|
||||||
|
```
|
||||||
|
mv mineclone2 /usr/share/games/minetest/games/
|
||||||
|
```
|
||||||
|
|
||||||
|
## Création d'un monde
|
||||||
|
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 ;
|
||||||
|
- …
|
||||||
|
|
||||||
|
Créer le nouveau monde :
|
||||||
|
```
|
||||||
|
systemctl start minetest-server@foolan.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
|
||||||
|
minetestserver --migrate PostgreSQL --world TODOOOOOOOOOOOOOO
|
||||||
|
```
|
||||||
|
|
||||||
|
Optimiser Postgresql :
|
||||||
|
- en modifiant `/etc/postgresql/13/main/postgresql.conf` :
|
||||||
|
```
|
||||||
|
-shared_buffers = 128MB # min 128kB
|
||||||
|
+shared_buffers = 512MB # min 128kB
|
||||||
|
```
|
||||||
|
- avoir au moins 512MB de mémoire disponible pour Minetest hors Postgresql.
|
||||||
|
|
||||||
|
Vérifier les réglages du backend dans `/TODO` :
|
||||||
|
```
|
||||||
|
backend = postgresql
|
||||||
|
pgsql_connection = host=127.0.0.1 port=5432 user=minetest password=XXXXX dbname=minetest-fooland-db
|
||||||
|
|
||||||
|
auth_backend = postgresql
|
||||||
|
pgsql_auth_connection = host=127.0.0.1 port=5432 user=minetest password=XXXXXX dbname=minetest-fooland-auth
|
||||||
|
|
||||||
|
player_backend = postgresql
|
||||||
|
pgsql_player_connection = host=127.0.0.1 port=5432 user=minetest password=XXXXXX dbname=minetest-fooland-users
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Play
|
||||||
|
Information about Mineclone2 : https://wiki.minetest.net/Games/MineClone_2/Differences_from_Minetest_Game
|
||||||
|
|
Loading…
Reference in a new issue