slides: added proxmox presentation
This commit is contained in:
parent
0ae7384153
commit
db3ed9b0bd
3 changed files with 85 additions and 1 deletions
|
@ -11,7 +11,7 @@ Topics that will be covered by teh skynet Training
|
|||
* [LDAP](./5_ldap.html)
|
||||
* Email
|
||||
* [CI/CD](./6_cicd.html)
|
||||
* Proxmox/VM/LXC
|
||||
* [Proxmox/VM/LXC](./8_proxmox.html)
|
||||
* [Databases (Sqlite)](./7_databases.html)
|
||||
|
||||
This list may be added to in teh future, if ye have any ideas feel free to ping.
|
80
src/slides/skynet/8_proxmox.md
Normal file
80
src/slides/skynet/8_proxmox.md
Normal file
|
@ -0,0 +1,80 @@
|
|||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
title = "Skynet: Proxmox"
|
||||
date = 2023-11-19
|
||||
slides = true
|
||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
# Proxmox
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
Proxmox is a primarily a virtualization platform.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
Open source.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
Built on Debian. (all normal linux commands work)
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
Suitable for both homelab and datacenter.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
Allows clustering of physical machines.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
Uses a webgui to manage/monitor.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
Also can manage ZFS storage.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
Can manage VM's and LXC's
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
We mostly use LXC's (got a base template set up)
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
There is a root login, but recommended to use yer skynet account.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
# Demo Time
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
## Creating a new LXC (Proxmox)
|
||||
|
||||
1. Login to Proxmox
|
||||
2. Top right, Create Container
|
||||
3. Set Hostname (example), Upload Admin public key
|
||||
4. Select template
|
||||
5. Set Disk/CPU/Memory
|
||||
6. Set IPv4 address and gateway (193.1.99.xyz/26, 193.1.99.65)
|
||||
7. Finish
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
## Creating a new LXC (Nixos config)
|
||||
|
||||
1. Create a new Machine
|
||||
2. Set hostname and IP
|
||||
3. Add to ``flake.nix``
|
||||
4. Bootup the server in Proxmox and ssh into it (using above key)
|
||||
5. ``cat /etc/ssh/ssh_host_ed25519_key.pub`` into ``/secrets/secrets.nix``
|
||||
6. ``agenix -r`` - grant the new server access to secrets.
|
||||
7. ``colmena apply --on @dns`` - Update records
|
||||
8. ``colmena apply --on example``
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
//Use this time to explore the nixos repo to explain//
|
|
@ -22,6 +22,10 @@
|
|||
left: 50%;
|
||||
transform: translate(-50%, -50%) scale(3);
|
||||
}
|
||||
ol, ul {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
let slide_number = 0;
|
||||
|
|
Loading…
Reference in a new issue