# Selfhosting

---

## Why should I selfhost?

 - Privacy
 - Security
 - Freedom
 - Can be cheaper
 - To learn

---

## Hardware

 - Any PC can become server
 - Mini PC
 - Single board computers (RasperryPi, etc.)
 - Desktop  
 - Enterprise

### Storage

 - More than one hdd 
 - SAS vs HDD vs SSD vs NVMe
 - RAID, RAID controllers

### CPU

- Xeon 
- Rizen

### UPS and APC

### Backups

### Network

- Router
- Switch


---

## Software

 Linux containers (LXC) vs Virtual Machine (VM)


### Server Managers

 - Proxmox
    - static ip on install
    - raid
 - XCP-ng

### Container and Managment

- Docker
- Kubernetes (k8s) 
- Portainer
- Lilipod

---

## Network

- Pfsense
- OpenWRT


---

## Security
  

---

## Services

- Dmz Services
- Proxmox comunity scripts

### Popular

- Home assistant
- Jellyfin
- Adblock
- LLMs
- Libredirect

### Tools

- Nginx and SSL
    - Nginx Proxy Manager
    - Caddy
- VPN
    - Wireguard
    - Open VPN
- SSH
    - disable password login
    - ssh jump
    - local port forwarding


## Dashboards and analytics

- Dashy
- Homepage
- Grafana


 ---

## Licences

- Copyleft
- Permissive

 ---
