MT Boxes: Difference between revisions

From Minetest
 
(13 intermediate revisions by the same user not shown)
Line 38: Line 38:


<span id="devel-boxes"></span>
<span id="devel-boxes"></span>
== Devel boxes as of 2023&nbsp; ==
== Devel boxes as of 2024&nbsp; ==


As of late 2023, there were 5 boxes of note:
This page presently discusses 5 project boxes:


newyork
newyork<br />
easter
easter<br />
rabbit
rabbit<br />
magazine
magazine<br />
ircsite
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.
There may be other relevant boxes.


The boxes are expected to last long term though the hardware and IPV4 addresses may change.
The details below may have changed since this page was updated. 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.


<span id="box-newyork"></span>
<span id="box-newyork"></span>
== "newyork" box&nbsp; ==
== "newyork" box&nbsp; ==


Line 87: Line 90:
|VPS setup date:
|VPS setup date:
|July 24, 2023
|July 24, 2023
|-
|VPS mgmt link:
|[https://my.racknerd.com/clientarea.php?action=productdetails&id=251020 Manage]
|-
|-
|Hardware:
|Hardware:
Line 138: Line 144:
|-
|-
|DNS renewal:
|DNS renewal:
|TBD
|N/A (see below)
|-
|-
|IPV4:
|IPV4:
Line 148: Line 154:
|VPS service ID:
|VPS service ID:
|racknerd-cffd68
|racknerd-cffd68
|-
|VPS setup date:
|July 27, 2023
|-
|VPS mgmt link:
|[https://my.racknerd.com/clientarea.php?action=productdetails&id=251723 Manage]
|-
|-
|Hardware:
|Hardware:
Line 162: Line 174:


#Final Minetest worlds
#Final Minetest worlds
<br />
 
As of mid-2024, the domain name chillcorner.org pointed to this box but the DNS record[s] were hosted elsewhere. This box didn't host DNS record[s] for any domain.


<span id="box-rabbit"></span>
<span id="box-rabbit"></span>


== "rabbit" box as of 2023&nbsp; ==
== "rabbit" box&nbsp; ==
 
Some details as of June 09, 2024 (may be obsolete):
 
{|
|Date of this info:
|June 09, 2024
|-
|Informal "ssh" name:&nbsp;
|rabbit
|-
|Distro:
|Debian 11
|-
|MIAB-based:
|No
|-
|Uses cdisk.dat:
|No
|-
|DNS renewal:
|N/A (see below)
|-
|IPV4:
|107.175.69.192
|-
|VPS host:
|https://my.racknerd.com/
|-
|VPS service ID:
|racknerd-c60be5
|-
|VPS setup date:
|July 27, 2023
|-
|VPS mgmt link:
|[https://my.racknerd.com/clientarea.php?action=productdetails&id=251725 Manage]
|-
|Hardware:
|4.81 GB RAM 5 vCPU 100 GB SSD
|-
|Cost:
|$5.91 USD per month billed annually
|-
|Payment is due on:
|July 27
|}


Informal "ssh" name: "rabbit". This box runs Debian 11. It hosts primarily these things:
This box hosts primarily these things:


#git.minetest.io git repos
#git.minetest.io git repos
<br />
 
As of mid-2024, the domain name git.minetest.io pointed to this box but the DNS record[s] were hosted elsewhere. This box didn't host DNS record[s] for any domain.


<span id="box-magazine"></span>
<span id="box-magazine"></span>
== "magazine" box as of 2023&nbsp; ==


Informal "ssh" name: "rabbit". This box runs Debian 11. It hosts primarily these things:
== "magazine" box&nbsp; ==
 
Some details as of June 09, 2024 (may be obsolete):


#A "Mail in a Box" email server
{|
|Date of this info:
|June 09, 2024
|-
|Informal "ssh" name:&nbsp;
|magazine
|-
|Distro:
|Debian 11
|-
|MIAB-based:
|Yes
|-
|Uses cdisk.dat:
|Probably later
|-
|DNS renewal:
|Handled by MIAB
|-
|IPV4:
|104.168.87.198
|-
|VPS host:
|https://my.racknerd.com/
|-
|VPS service ID:
|racknerd-f8b71d
|-
|VPS setup date:
|July 31, 2023
|-
|VPS mgmt link:
|[https://my.racknerd.com/clientarea.php?action=productdetails&id=252839 Manage]
|-
|Hardware:
|4.81 GB RAM 5 vCPU 100 GB SSD
|-
|Cost:
|$5.91 USD per month billed annually
|-
|Payment is due on:
|July 31
|}
 
This box hosts primarily these things:
 
#A "Mail in a Box" (aka MIAB) email server
#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 />
 
The MIAB email server has been patched by OldCoder to work on a Debian 11 box.
 
This box hosts and manages a number of domains by way of MIAB.


<span id="box-ircsite"></span>
<span id="box-ircsite"></span>
== "ircsite" box as of 2023&nbsp; ==


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.
== "ircsite" box&nbsp; ==
 
Some details as of June 09, 2024 (may be obsolete):
 
{|
|Date of this info:
|June 09, 2024
|-
|Informal "ssh" name:&nbsp;
|ircsite
|-
|Distro:
|Debian 10
|-
|MIAB-based:
|No
|-
|Uses cdisk.dat:
|No
|-
|DNS renewal:
|TBD
|-
|IPV4:
|142.171.132.221
|-
|VPS host:
|https://my.racknerd.com/
|-
|VPS service ID:
|racknerd-5b62dc
|-
|VPS setup date:
|May 30, 2020
|-
|VPS mgmt link:
|[https://my.racknerd.com/clientarea.php?action=productdetails&id=21420 Manage]
|-
|Hardware:
|5.82 GB RAM 4 vCPU 131 GB SSD
|-
|Cost:
|$7.92 USD per month billed annually
|-
|Payment is due on:
|July 30
|}
 
The contents of this box may be merged into "magazine" and this box may then be decommissioned. As of 2024, this is an older VPS. It runs Debian 10.


Domains and services:
Domains and services:
Line 214: Line 371:


<span id="box-common"></span>
<span id="box-common"></span>
== Compressed Filesystem&nbsp; ==
== Compressed Filesystem&nbsp; ==



Latest revision as of 18:18, 9 June 2024



Introduction

This page provides some documentation of interest mostly to admins of the Final Minetest VPS boxes.

VPS Box Admin 

Devel boxes as of 2024 

This page presently discusses 5 project boxes:

newyork
easter
rabbit
magazine
ircsite

There may be other relevant boxes.

The details below may have changed since this page was updated. 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 

Some details as of June 09, 2024 (may be obsolete):

Date of this info: June 09, 2024
Informal "ssh" name:  newyork
Distro: Debian 11
MIAB-based: No
Uses cdisk.dat: Yes
DNS renewal: /etc/cron.daily/renew-letse
IPV4: 198.46.143.42
VPS host: https://my.racknerd.com/
VPS service ID: racknerd-711248
VPS setup date: July 24, 2023
VPS mgmt link: Manage
Hardware: 4.81 GB RAM 5 vCPU 100 GB SSD
Cost: $5.91 USD per month billed annually
Payment is due on: July 24

This box hosts primarily these things:

  1. The Final Minetest wiki site
  2. minetest.io and minetest.org websites
  3. Other websites
  4. Final Minetest worlds
  5. The Final Minetest master sources

Disk space as of June 09, 2024:
80 GB of 96 GB on / was used
13 GB was free on /
38 GB of 51 GB on /mnt/cdisk was used
12 GB was free on /mnt/cdisk

/mnt/cdisk was a loopback filesystem stored in:
/loopdisks/cdisk.dat

"easter" box 

Some details as of June 09, 2024 (may be obsolete):

Date of this info: June 09, 2024
Informal "ssh" name:  easter
Distro: Debian 11
MIAB-based: No
Uses cdisk.dat: Yes
DNS renewal: N/A (see below)
IPV4: 104.168.87.4
VPS host: https://my.racknerd.com/
VPS service ID: racknerd-cffd68
VPS setup date: July 27, 2023
VPS mgmt link: Manage
Hardware: 4.81 GB RAM 5 vCPU 100 GB SSD
Cost: $5.91 USD per month billed annually
Payment is due on: July 27

This box hosts primarily these things:

  1. Final Minetest worlds

As of mid-2024, the domain name chillcorner.org pointed to this box but the DNS record[s] were hosted elsewhere. This box didn't host DNS record[s] for any domain.

"rabbit" box 

Some details as of June 09, 2024 (may be obsolete):

Date of this info: June 09, 2024
Informal "ssh" name:  rabbit
Distro: Debian 11
MIAB-based: No
Uses cdisk.dat: No
DNS renewal: N/A (see below)
IPV4: 107.175.69.192
VPS host: https://my.racknerd.com/
VPS service ID: racknerd-c60be5
VPS setup date: July 27, 2023
VPS mgmt link: Manage
Hardware: 4.81 GB RAM 5 vCPU 100 GB SSD
Cost: $5.91 USD per month billed annually
Payment is due on: July 27

This box hosts primarily these things:

  1. git.minetest.io git repos

As of mid-2024, the domain name git.minetest.io pointed to this box but the DNS record[s] were hosted elsewhere. This box didn't host DNS record[s] for any domain.

"magazine" box 

Some details as of June 09, 2024 (may be obsolete):

Date of this info: June 09, 2024
Informal "ssh" name:  magazine
Distro: Debian 11
MIAB-based: Yes
Uses cdisk.dat: Probably later
DNS renewal: Handled by MIAB
IPV4: 104.168.87.198
VPS host: https://my.racknerd.com/
VPS service ID: racknerd-f8b71d
VPS setup date: July 31, 2023
VPS mgmt link: Manage
Hardware: 4.81 GB RAM 5 vCPU 100 GB SSD
Cost: $5.91 USD per month billed annually
Payment is due on: July 31

This box hosts primarily these things:

  1. A "Mail in a Box" (aka MIAB) email server
  2. Proposed: May hold Final Minetest worlds
  3. Proposed: May hold relocated IRC network

The MIAB email server has been patched by OldCoder to work on a Debian 11 box.

This box hosts and manages a number of domains by way of MIAB.

"ircsite" box 

Some details as of June 09, 2024 (may be obsolete):

Date of this info: June 09, 2024
Informal "ssh" name:  ircsite
Distro: Debian 10
MIAB-based: No
Uses cdisk.dat: No
DNS renewal: TBD
IPV4: 142.171.132.221
VPS host: https://my.racknerd.com/
VPS service ID: racknerd-5b62dc
VPS setup date: May 30, 2020
VPS mgmt link: Manage
Hardware: 5.82 GB RAM 4 vCPU 131 GB SSD
Cost: $7.92 USD per month billed annually
Payment is due on: July 30

The contents of this box may be merged into "magazine" and this box may then be decommissioned. As of 2024, 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