From 742c93f69ce937cafe2b1703d5c876d698d68817 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 2 Jan 2025 18:23:40 +0000 Subject: [PATCH] doc: added details on how to actually set up the container --- src/procedures/skynet/new_server.md | 71 ++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/src/procedures/skynet/new_server.md b/src/procedures/skynet/new_server.md index fb3ae6d..d926e43 100644 --- a/src/procedures/skynet/new_server.md +++ b/src/procedures/skynet/new_server.md @@ -64,4 +64,73 @@ Now that ye have all the details about the build it is time to add them to the [ Add a new one, incrementing the index, and fill in the rest of the information. For the IP address if the last segment (ABC in this: 193.1.99.ABC) is less than 100 then add a leading ``0`` to it. -This is so that it can be easily sorted. \ No newline at end of file +This is so that it can be easily sorted. + +## Login to Proxmox + +Login to Proxmox (TODO: insert link to accessing Proxmox here) + +## Create Container Using the Base LXC Image +The Proxmox documentation for LXC's is available [here][proxmox_lxc]. + +Top right there is a button [Create CT], that brings up a window. +Each section below is one of the tabs in the window. + +### General +#### Hostname +This is the **Name** of the server, lowercase. +#### Unprivilaged +Ensure this is ticked. +#### Nesting +Ensure this is ticked. +#### SSH Public Keys +Enter the ``root`` pub ssh key. +This is used to login to teh container later. + +### Template +Select the container image, most likely ``nixos-system-x86_64-linux.tar.xz``. + +### Disks +#### Storage +Most likely it is ``main_pool``, it should have a significant amount of storage available. +**DO NOT** use ``local-zfs``, this is on Proxmox's own drive and not suited for container data. + +#### Disk Size +Self-explanatory, how much space you want to give teh container. +A minimum of 30Gb is suggested. + +### CPU +One core minimum, larger servers will require up to 6 or so. + +### Memory +Nixos will happily run on 512Mb if its load is not too intensive + +### Network +#### Bridge +The main bridge we use is ``vmbr0`` which is for most servers as it connects to the normal Skynet DMZ. + +We also have ``vmbr1`` which is for ``skynet.skynet.ie`` and connects to Skynet-EXT DMZ. +This is due to our users needing ssh access. + +#### IPv4 +##### IPv5/CIDR +This is the **IP** followed by ``/26``. +For example ``193.1.99.75/26`` + +##### Gateway +The main gateway we use is ``193.1.99.65``. +There is a secondary one for ``skynet.skynet.ie`` which is ``193.1.96.161``. + +### DNS +You can either use ``use host settings`` or fill in ``193.1.99.120`` and ``193.1.99.109``. + +### Confirm +Use this as a chance to review all the options. +There are a few gotcha's outlined above that ye do have to look over. + +#### Start after created +Tick this box if you want it to boot up immediately after being installed. + + + +[proxmox_lxc]: https://pve.proxmox.com/wiki/Linux_Container \ No newline at end of file