Skip to content

Commit 901604d

Browse files
committed
Some homelab stuff
1 parent 4679851 commit 901604d

File tree

2 files changed

+156
-54
lines changed

2 files changed

+156
-54
lines changed

home-lab/hypervisors/proxmox/pve-install.md

+129-53
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@
1010

1111
> - 🔗 [Proxmox Virtual Environment (PVE) Administration Guide](https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_install_proxmox_ve_on_debian)
1212
> - [Proxmox Virtual Environment - Open-Source Server Virtualization Platform](https://proxmox.com/en/products/proxmox-virtual-environment/overview)
13-
> - ➡️ [Proxmox VE Helper-Scripts](https://tteck.github.io/Proxmox/)
13+
> - ➡️ [Proxmox VE Helper-Scripts](https://community-scripts.github.io/ProxmoxVE/scripts)
1414
1515
---
1616

17-
> 📌 Some of the following commands are based on the [Proxmox VE Helper-Scripts](https://tteck.github.io/Proxmox/).
17+
> 📌 Some of the following commands are based on the [Proxmox VE Helper-Scripts](https://community-scripts.github.io/ProxmoxVE/scripts)
18+
>
19+
> ❗ Use the Proxmox **shell** on the main node via the pve web GUI
1820
1921
## Updating PVE - Manually
2022

21-
- SSH into PVE
23+
- Open the Proxmox shell on the main node (or SSH into PVE -> risky)
2224

2325
```bash
2426
apt update && apt -y dist-upgrade
@@ -37,21 +39,21 @@ apt update && apt -y dist-upgrade
3739
- Update Proxmox VE
3840

3941
```bash
40-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"
42+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/post-pve-install.sh)"
4143

4244
# It is recommended to answer “yes” (y) to all options presented during the process.
4345
```
4446

4547
## Kernel Clean
4648

4749
```bash
48-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/kernel-clean.sh)"
50+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/kernel-clean.sh)"
4951
```
5052

5153
## Processor Microcode
5254

5355
```bash
54-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/microcode.sh)"
56+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/microcode.sh)"
5557
```
5658

5759
## Network configuration
@@ -133,6 +135,16 @@ alias ports='ss -lpntu'
133135
alias updatepve='apt update && apt -y dist-upgrade'
134136
```
135137

138+
### Netdata
139+
140+
> [Netdata - http://192.168.5.2:19999/](http://192.168.5.2:19999/)
141+
142+
```bash
143+
144+
```
145+
146+
147+
136148
### Backup Proxmox Config
137149

138150
> - [ ] TO TRY
@@ -182,9 +194,9 @@ The script supports [healthchecks.io](https://healthchecks.io/) notifications, e
182194
**PROXMOX** - Network > edit `eth0` and set the Static IP.
183195

184196
```bash
185-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/pbs.sh)"
197+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/proxmox-backup-server.sh)"
186198

187-
# PBS Interface <IP>:3000
199+
# PBS Interface <IP>:8007
188200

189201
# Set a root password if using autologin. This will be the PBS password.
190202
# Login to WebGUI and open PBS shell
@@ -205,7 +217,7 @@ sudo passwd root
205217
Run the command below in the **Proxmox Backup Server Shell** and answer "yes" to all options presented
206218

207219
```bash
208-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pbs-install.sh)"
220+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/post-pbs-install.sh)"
209221
```
210222

211223

@@ -225,19 +237,19 @@ bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pbs-i
225237
### LXCs - Cleaner
226238

227239
```bash
228-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/clean-lxcs.sh)"
240+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/clean-lxcs.sh)"
229241
```
230242

231243
### LXCs - Updater
232244

233245
```bash
234-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/update-lxcs.sh)"
246+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/update-lxcs.sh)"
235247
```
236248

237249
### LXC - Filesystem Trim
238250

239251
```bash
240-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/fstrim.sh)"
252+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/fstrim.sh)"
241253
```
242254

243255

@@ -247,7 +259,7 @@ bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/fstrim.sh)
247259
> *DELETED*
248260
249261
```bash
250-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/uptimekuma.sh)"
262+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/uptimekuma.sh)"
251263
```
252264

253265

@@ -259,7 +271,7 @@ bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/uptimekuma.s
259271
**PROXMOX** - Network > edit `eth0` and set the Static IP.
260272

261273
```bash
262-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/adguard.sh)"
274+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/adguard.sh)"
263275

264276
# Setup interface <IP>:3000
265277

@@ -281,7 +293,7 @@ bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/adguard.sh)"
281293
- Based on Alpine Linux
282294

283295
```bash
284-
bash -c "$(wget -qO - https://github.com/tteck/Proxmox/raw/main/ct/alpine-vaultwarden.sh)"
296+
bash -c "$(wget -qO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/alpine-vaultwarden.sh)"
285297

286298
# To Update Alpine-Vaultwarden, or Set the Admin Token, run the command above in the Vaultwarden LXC Console.
287299
# or run
@@ -303,7 +315,9 @@ Set `https://vaultwarden.lab.syselement.com` in the **General settings - Domain
303315
**PROXMOX** - Network > edit `eth0` and set the Static IP.
304316

305317
```bash
306-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/zoraxy.sh)"
318+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/zoraxy.sh)"
319+
320+
# To Manually Update Zoraxy, run the command above (or type update) in the Zoaxy LXC Console.
307321
```
308322

309323
- `Set Proxy Root` to `localhost:8080`
@@ -335,11 +349,11 @@ bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/zoraxy.sh)"
335349
**PROXMOX** - Network > edit `eth0` and set the Static IP.
336350

337351
```bash
338-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/wikijs.sh)"
352+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/wikijs.sh)"
339353

340354
# Wiki.js Interface <IP>:3000
341355

342-
# To Manually Update Wiki.js , run the command above (or type update) in the Wiki.js LXC Console.
356+
# To Manually Update Wiki.js, run the command above (or type update) in the Wiki.js LXC Console.
343357
```
344358

345359

@@ -351,9 +365,11 @@ bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/wikijs.sh)"
351365
> [Technitium - http://192.168.5.11:5380/](http://192.168.5.11:5380/)
352366
353367
```bash
354-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/technitiumdns.sh)"
368+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/technitiumdns.sh)"
355369

356370
# Technitium DNS Interface <IP>:5380
371+
372+
# To Manually Update Technitium DNS, run the command above (or type update) in the Technitium DNS LXC Console.
357373
```
358374

359375
Open the webpage and navigate to **Zones**
@@ -397,7 +413,7 @@ Open the webpage and navigate to **Zones**
397413
> OFF
398414
399415
```bash
400-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/pihole.sh)"
416+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/pihole.sh)"
401417
402418
# Reboot Pi-hole LXC after install
403419
#P i-hole Interface <IP>/admin
@@ -415,7 +431,7 @@ pihole -a -p
415431
**PROXMOX** - Network > edit `eth0` and set the Static IP.
416432

417433
```bash
418-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/homepage.sh)"
434+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/homepage.sh)"
419435

420436
# Homepage Interface: IP:3000
421437

@@ -437,7 +453,7 @@ cd /opt/homepage/config/
437453
**PROXMOX** - Network > edit `eth0` and set the Static IP.
438454

439455
```bash
440-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/runtipi.sh)"
456+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/runtipi.sh)"
441457
```
442458

443459

@@ -449,7 +465,7 @@ bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/runtipi.sh)"
449465
**PROXMOX** - Network > edit `eth0` and set the Static IP.
450466

451467
```bash
452-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/prometheus.sh)"
468+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/prometheus.sh)"
453469
```
454470

455471

@@ -461,7 +477,7 @@ bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/prometheus.s
461477
> - https://github.com/awesome-jellyfin/awesome-jellyfin
462478
463479
```bash
464-
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/jellyfin.sh)"
480+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/jellyfin.sh)"
465481
```
466482

467483
**Windows**
@@ -479,25 +495,92 @@ bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/jellyfin.sh)
479495

480496

481497

498+
### [BookStack](https://www.bookstackapp.com/)
499+
500+
> [BookStack - http://192.168.5.164/](http://192.168.5.164/)
501+
502+
```bash
503+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/bookstack.sh)"
504+
505+
# BookStack Interface <IP>:80
506+
507+
# Bookstack works only with static ip. If you Change the IP of your LXC, you Need to edit the .env File nano /opt/bookstack/.env
508+
509+
# To Manually Update BookStack, run the command above (or type update) in the BookStack LXC Console.
510+
```
511+
512+
```bash
513+
# Default Login Credentials
514+
# Username:
515+
516+
# Password:
517+
password
518+
```
519+
520+
521+
522+
### [phpIPAM](https://phpipam.net/)
523+
524+
> [phpIPAM - http://192.168.5.8](http://192.168.5.8)
525+
526+
```bash
527+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/phpipam.sh)"
528+
529+
# Run the "3 Advanced Setting" to set static IP
530+
# phpIPAM Interface <IP>:80
531+
532+
# To Manually Update phpIPAM, run the command above (or type update) in the phpIPAM LXC Console.
533+
```
534+
535+
```bash
536+
# Default Login Credentials
537+
# Username:
538+
Admin
539+
# Password:
540+
ipamadmin
541+
```
542+
543+
544+
545+
### [NetBox](https://netboxlabs.com/oss/netbox/)
546+
547+
> - [ ] TO TRY
548+
549+
```bash
550+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/netbox.sh)"
551+
```
552+
553+
554+
555+
### Checkmk
556+
557+
```bash
558+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/checkmk.sh)"
559+
560+
561+
```
562+
563+
564+
482565
------
483566

484567
## Ubuntu Server VM
485568

486569
> 🔗 ➡️ My [Ubuntu Server - VM](../../../operating-systems/linux/distros/ubuntu-server.md#first-boot-and-update) additional/updated guide
487570
488571
```bash
489-
bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/vm/ubuntu-vm.sh)"
572+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/vm/ubuntu2404-vm.sh)"
490573
```
491574

492575
Turn OFF the VM (if ON).
493576

494-
Follow the instruction at [Useful Ubuntu 22.04 VM Commands](https://github.com/tteck/Proxmox/discussions/2072) to set up Cloud-Init on the VM:
577+
Follow the instruction at [Useful Ubuntu 22.04 VM Commands](https://github.com/community-scripts/ProxmoxVE/discussions/272) to set up Cloud-Init on the VM:
495578

496579
- User
497580
- Password
498581
- SSH public key for SSH Key login
499582
- Upgrade packages - `No`
500-
- Static IP
583+
- Static IP (may need DHCP)
501584
- Click `Regenerate Image`
502585

503586
Start the VM.
@@ -762,39 +845,15 @@ microk8s.kubectl config view --raw > $HOME/.kube/config
762845

763846

764847

765-
---
766-
767-
## Alpine VM
768-
769-
> - [ ] TO TRY
770-
771-
> [10 Alpine Linux apk Command Examples - nixCraft](https://www.cyberciti.biz/faq/10-alpine-linux-apk-command-examples/)
772-
773-
774-
775-
---
776-
777-
## BookStack VM
778-
779-
> Use TurnKey LXC or a fresh Ubuntu Server VM
780-
>
781-
> ```bash
782-
> bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/turnkey/turnkey.sh)"
783-
>
784-
> # Resource and network settings are adjustable post LXC creation.
785-
>
786-
> # The script creates a *.creds file in the Proxmox root directory with the password of the newly created TurnKey LXC Appliance.
787-
> # Retrieve Password
788-
> cat turnkey-name.creds
789-
> ```
848+
### BookStack (only on fresh Ubuntu)
790849

791850
> 🔗 [BookStack Admin Documentation - Installation](https://www.bookstackapp.com/docs/admin/installation/)
792851
>
793852
> ​ 🔗 [docker-bookstack](https://github.com/linuxserver/docker-bookstack)
794853
>
795854
> ​ 🔗 [Ubuntu 24.04 Installation Script](https://www.bookstackapp.com/docs/admin/installation/#ubuntu-2404)
796855
797-
- Install an [Ubuntu Server VM](#ubuntu-server-vm)
856+
- Install a fresh [Ubuntu Server VM](#ubuntu-server-vm)
798857

799858
- SSH into the Ubuntu VM and run the `BookStack` Ubuntu Installation script
800859

@@ -817,5 +876,22 @@ sudo ./installation-ubuntu-22.04.sh
817876
818877

819878

879+
---
880+
881+
## [Alpine VM](https://community-scripts.github.io/ProxmoxVE/scripts?id=alpine)
882+
883+
> - [ ] TO TRY
884+
885+
> [10 Alpine Linux apk Command Examples - nixCraft](https://www.cyberciti.biz/faq/10-alpine-linux-apk-command-examples/)
886+
887+
```bash
888+
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/alpine.sh)"
889+
```
890+
891+
```bash
892+
# To update
893+
apk update && apk upgrade
894+
```
895+
820896
------
821897

0 commit comments

Comments
 (0)