MT Boxes: Difference between revisions
(Created page with "<div class="p44_navbar"> Start Page Browser Play! Minetest MT worlds Bucket Game Player Basics Downloads Contact Devel Center </div> <div class="p44_navbar"> [https://minetest.org/ minetest.org] [https://minetest.io minetest.io] [https://git.minetest.io/ 9,000 gits] [https://irc.minetest.org:9000/ CoderChat] [https://edgy1.net/ EdgyNet] <...") |
No edit summary |
||
Line 61: | Line 61: | ||
#Final Minetest worlds | #Final Minetest worlds | ||
#The Final Minetest master sources | #The Final Minetest master sources | ||
<br /> | |||
<span id="box-easter"></span> | <span id="box-easter"></span> | ||
Line 68: | Line 69: | ||
#Final Minetest worlds | #Final Minetest worlds | ||
<br /> | |||
<span id="box-rabbit"></span> | <span id="box-rabbit"></span> | ||
Line 75: | Line 77: | ||
#git.minetest.io git repos | #git.minetest.io git repos | ||
<br /> | |||
<span id="box-magazine"></span> | <span id="box-magazine"></span> | ||
Line 84: | Line 87: | ||
#Proposed: May hold Final Minetest worlds | #Proposed: May hold Final Minetest worlds | ||
#Proposed: May hold relocated IRC network | #Proposed: May hold relocated IRC network | ||
<br /> | |||
<span id="box-ircsite"></span> | <span id="box-ircsite"></span> | ||
Line 113: | Line 117: | ||
( node /usr/local/bin/thelounge start ) & | ( node /usr/local/bin/thelounge start ) & | ||
<br /> | |||
<span id="box-common"></span> | <span id="box-common"></span> | ||
== | == Compressed Filesystem == | ||
Some of these boxes include the following file: | |||
/loopdisks/cdisk.dat | /loopdisks/cdisk.dat | ||
Line 128: | Line 133: | ||
"/mnt/cdisk/" is used to hold websites, Final Minetest worlds, and other files that can benefit from compression. The directories stored in the loopback filesystem are symlinked to where scripts expect to find them. | "/mnt/cdisk/" is used to hold websites, Final Minetest worlds, and other files that can benefit from compression. The directories stored in the loopback filesystem are symlinked to where scripts expect to find them. | ||
<br /> | |||
<span id="box-common"></span> | |||
== Dash-Ell Directory == | |||
Some of these boxes include a directory named "/l" (dash lower-case ell). This directory is used to make CLI navigation easier. It contains symlinks such as the following: | |||
/l/log # Symlink to Final MT log directory | |||
/l/assemble # Symlink to "assemble" source tree | |||
/l/mtworlds # Symlink to Final MT "mtworlds" tree | |||
So, for example, to go to the log directory in CLI, you can use this command: | |||
cd /l/log | |||
In cases where tab completion is possible, this may speed up CLI navigation significantly. | |||
'''End of page''' | '''End of page''' |
Revision as of 23:52, 19 November 2023
Introduction
This page provides some documentation of interest mostly to admins of the Final Minetest VPS boxes.
VPS Box Admin
Devel boxes as of 2023
As of late 2023, there were 5 boxes of note:
newyork easter rabbit magazine ircsite
The details below may have changed since then. If the changes are too significant to edit in easily here, this page should be preserved and a new page should be added.
The boxes are expected to last long term though the hardware and IPV4 addresses may change.
"newyork" box as of 2023
Informal "ssh" name: "newyork". This box runs Debian 11. It hosts primarily these things:
- The Final Minetest wiki site
- minetest.io and minetest.org websites
- Other websites
- Final Minetest worlds
- The Final Minetest master sources
"easter" box as of 2023
Informal "ssh" name: "easter". This box runs Debian 11. It hosts primarily these things:
- Final Minetest worlds
"rabbit" box as of 2023
Informal "ssh" name: "rabbit". This box runs Debian 11. It hosts primarily these things:
- git.minetest.io git repos
"magazine" box as of 2023
Informal "ssh" name: "rabbit". This box runs Debian 11. It hosts primarily these things:
- A "Mail in a Box" email server
- Proposed: May hold Final Minetest worlds
- Proposed: May hold relocated IRC network
"ircsite" box as of 2023
Informal "ssh" name: "ircsite". The contents of this box may be merged into "magazine" and this box may then be decommissioned. As of 2023, this is an older VPS. It runs Debian 10.
Domains and services:
irc.oldcoder.org goes to the "ircsite" box. The box runs IRC as ngircd on that domain and ports 6667 and 6697. The network created is known informally as CoderNet.
irc.minetest.org goes to the "ircsite" box as well. The box runs a website as nginx on that domain and port 443 [https]. nginx redirects that to "The Lounge" running on port 9000. The Lounge provides a web gateway to CoderNet.
An IRC bot named Limnoria is hosted here. It connects to various channels on multiple networks including CoderNet.
Anope runs here as well and provides IRC services such as ChanServ.
Some key pieces of "ircsite":
/etc/rc.local -- Post-boot script. If "ircsite" is updated to Debian 11 or above, a systemd tweak will be needed so that the script continues to run.
/opt/minebest/etc/bestboot.sh -- rc.local runs this script to finish boot-time operations.
nginx and ngircd are started automatically as system services. Anope, Limnoria and The Lounge need to be added to bestboot.sh. Presently, they are started as follows:
( cd /opt/anope/bin/ && ./services ) &
( usr/bin/python3 /usr/local/bin/supybot /root/supybot/Limnoria.conf --allow-root ) &
( node /usr/local/bin/thelounge start ) &
Compressed Filesystem
Some of these boxes include the following file:
/loopdisks/cdisk.dat
The file contains a btrfs compressed filesystem. The filesystem is mounted automatically at boot time on "/mnt/cdisk/".
The file is too large to back up and this wouldn't be safe regardless. The contents of the filesystem need to be backed up in pieces much as the rest of the system is backed up.
On an SSD system with reasonable CPU and RAM, this approach offers extra albeit simulated disk space without much cost in terms of speed.
"/mnt/cdisk/" is used to hold websites, Final Minetest worlds, and other files that can benefit from compression. The directories stored in the loopback filesystem are symlinked to where scripts expect to find them.
Dash-Ell Directory
Some of these boxes include a directory named "/l" (dash lower-case ell). This directory is used to make CLI navigation easier. It contains symlinks such as the following:
/l/log # Symlink to Final MT log directory /l/assemble # Symlink to "assemble" source tree /l/mtworlds # Symlink to Final MT "mtworlds" tree
So, for example, to go to the log directory in CLI, you can use this command:
cd /l/log
In cases where tab completion is possible, this may speed up CLI navigation significantly.
End of page