mirror of
https://github.com/myronblair/ai-context
synced 2026-06-30 17:50:08 -05:00
Initial AI context index — lean project reference for fast session resume
This commit is contained in:
+69
@@ -0,0 +1,69 @@
|
||||
# Server Reference Card
|
||||
|
||||
## SSH Patterns
|
||||
|
||||
```bash
|
||||
# DigitalOcean (all websites + JARVIS)
|
||||
sshpass -p 'Gonewalk1974!@#' ssh -o StrictHostKeyChecking=no root@165.22.1.228 'cmd'
|
||||
|
||||
# PVE1 via FortiGate DDNS (survives IP changes)
|
||||
sshpass -p 'Joker1974!!!' ssh -o StrictHostKeyChecking=no root@orbisne.fortiddns.com 'cmd'
|
||||
|
||||
# PVE1 direct (local network only)
|
||||
sshpass -p 'Joker1974!!!' ssh -o StrictHostKeyChecking=no root@10.48.200.90 'cmd'
|
||||
|
||||
# PVE2 (local only)
|
||||
sshpass -p 'Joker1974!!!' ssh -o StrictHostKeyChecking=no root@10.48.200.91 'cmd'
|
||||
|
||||
# FusionPBX
|
||||
sshpass -p 'Joker1974!@#' ssh -o StrictHostKeyChecking=no root@134.209.72.226 'cmd'
|
||||
|
||||
# Local VMs (myron user + sudo, password Joker1974!)
|
||||
sshpass -p 'Joker1974!' ssh -o StrictHostKeyChecking=no myron@10.48.200.18 'sudo cmd'
|
||||
|
||||
# Run command inside a Proxmox VM
|
||||
sshpass -p 'Joker1974!!!' ssh -o StrictHostKeyChecking=no root@10.48.200.90 \
|
||||
'qm guest exec <VMID> -- bash -c "cmd"'
|
||||
```
|
||||
|
||||
**Password order to try if first fails:** `Joker1974!@#` → `Joker1974!!!` → `Joker1974!`
|
||||
|
||||
## Server Map
|
||||
|
||||
| Host | IP | User | Password | Purpose |
|
||||
|------|----|------|----------|---------|
|
||||
| DO | 165.22.1.228 | root | Gonewalk1974!@# | Websites + JARVIS |
|
||||
| PVE1 | orbisne.fortiddns.com (10.48.200.90) | root | Joker1974!!! | Primary hypervisor |
|
||||
| PVE2 | 10.48.200.91 | root | Joker1974!!! | Secondary hypervisor |
|
||||
| FusionPBX | 134.209.72.226 | root | Joker1974!@# | FreeSWITCH PBX |
|
||||
| HomeAssistant | 10.48.200.97 | myron | Joker1974!!! | HA VM (PVE1 VM 101) |
|
||||
| Homebridge | 10.48.200.18 | myron | Joker1974! | Homebridge VM (PVE1 VM 118) |
|
||||
| Jellyfin | 10.48.200.33 | myron | Joker1974! | Jellyfin VM (PVE1 VM 112) |
|
||||
| Ollama | 10.48.200.95 | myron | Joker1974! | LLM VM (PVE1 VM 210) |
|
||||
| alien-pc | 10.48.200.66 | — | — | Windows PC (JARVIS agent only) |
|
||||
| NetworkBackup | 10.48.200.99 | myron | Joker1974! | Backup VM (PVE2 VM 302) |
|
||||
|
||||
## Proxmox API
|
||||
```bash
|
||||
# Accessible from DO via FortiGate DDNS (port 8006 forwarded)
|
||||
curl -sk "https://orbisne.fortiddns.com:8006/api2/json/..." \
|
||||
-H "Authorization: PVEAPIToken=root@pam!jarvis=c45b5feb-f9a9-445d-a626-14fbb959f78b"
|
||||
|
||||
# Cluster API — gets VMs from BOTH PVE1 and PVE2
|
||||
GET /api2/json/cluster/resources?type=vm
|
||||
```
|
||||
|
||||
## Key DO Server Paths
|
||||
```
|
||||
/home/jarvis.orbishosting.com/ — JARVIS app root
|
||||
/home/jarvis.orbishosting.com/public_html/ — web root (index.html, api.php, admin/)
|
||||
/home/jarvis.orbishosting.com/api/ — backend (config.php, endpoints/, lib/)
|
||||
/var/backups/jarvis/ — daily backups (tar.gz, up to 7 days)
|
||||
/usr/local/bin/jarvis-backup.sh — backup script
|
||||
/usr/local/lsws/lsphp85/bin/lsphp — PHP runtime for CLI scripts
|
||||
```
|
||||
|
||||
## PHP / OLS Notes
|
||||
- Run scripts: `/usr/local/lsws/lsphp85/bin/lsphp /path/to/script.php`
|
||||
- Syntax check: `php8.3 -l file.php` (lsphp segfaults on -l)
|
||||
- Web server: OpenLiteSpeed (`lshttpd`), NOT apache/nginx
|
||||
Reference in New Issue
Block a user