- Official Minetest server must already be installed on your GNU/Linux system. If it is not the case, please refers to the https://minetest.net website for the installation instructions.
We suppose you have already installed a production server that is actually in use and stable. But now you want to install another server in parallel on the same system in order to test the development version of NALC.
3. No need to download the server files again because they are already downloaded in the dir ~/var/lib/minetest/nalc-server~. So you can just do a ~mkdir ~/nalc-dev~. But you can always do a ~git clone https://sys4.fr/gitea/nalc/nalc-server.git ~/nalc-dev~ if you prefer. Whatever your choice and for the next steps we will refer to the install dir as ~$SCRIPT_DIR~.
4.~$SCRIPT_DIR/install.sh -d ~/.minetest -w test -P 30001 --branch dev ~/nalc-dev~
Other combinations are possible and I cannot describe all of them. Don't hesitate to read the help of the script with ~--help~ option and do your own tests :)
For that you can create the dir ~$DESTINATION/custom/mods~ where ~$DESTINATION~ is the dir where you have installed the server (the one containing the ~nalc.conf~ file).
Then copy your mods and modpacks in ~$DESTINATION/custom/mods~ and you need to execute ~$INSTALL/upgrade.sh -s $DESTINATION -w <world> -b <version> -f worldmt~ for regenerating the ~world.mt~ file of your world.
Replace ~<world>~ by your world name.
Replace ~<version>~ by the branch name specified during the installation, either 'stable', 'dev' or 'exp'.
Note: Depending on how you have installed NALC server, but ~$INSTALL~ and ~$DESTINATION~ can point to the same directory. If it's the case you can ommit the ~-s~ option.
We suppose minetest is installed from portage with the ~+server~ USE flag and NALC server is installed in the home of the minetest user ~/var/lib/minetest/nalc-server~. If you would use your Gentoo/Calculate Linux system run init to start/stop NALC server as a service then you can follow theses steps:
You can execute the ~install.sh~ script again. If a ~nalc.conf~ file is detected in the specified destination, all the settings specified during the previous installation will be loaded.