doc: added details on how to actually set up the container
This commit is contained in:
parent
76a87c8d95
commit
742c93f69c
1 changed files with 70 additions and 1 deletions
|
@ -65,3 +65,72 @@ 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.
|
||||
|
||||
## 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
|
Loading…
Reference in a new issue