|
|
@@ -850,7 +850,7 @@ netstat -tulpn | grep -E "80|3307|8081|11434"
|
|
|
|
|
|
# Local Food AI - Detailed Operator Installation Guide
|
|
|
|
|
|
-This document is a step-by-step installation, mapping, configuration, and verification manual for deploying the **Local Food AI** system in an enterprise environment. It covers hybrid hypervisor infrastructure (WSL2, Hyper-V, and VirtualBox), cross-node networking, SNMPv3 monitoring, alert channels, and acceptance testing.
|
|
|
+This document is a step-by-step installation, configuration, and verification manual for deploying the **Local Food AI** system in an enterprise environment. It covers mixed environments ranging from native, physical Unix/Linux servers (bare-metal) to hybrid hypervisor infrastructures (WSL2, Hyper-V, and VirtualBox), cross-node networking, SNMPv3 monitoring, alert channels, and acceptance testing.
|
|
|
|
|
|
---
|
|
|
|
|
|
@@ -870,15 +870,15 @@ Before running installation scripts, the operator **must** collect the following
|
|
|
|
|
|
## 2. Platform Mapping: Which Container Goes Where?
|
|
|
|
|
|
-To maximize CPU/GPU efficiency and secure database read/writes, services are distributed across three distinct environments:
|
|
|
+To maximize CPU/GPU efficiency and secure database read/writes, services can be distributed across native physical servers or virtualized environment hypervisors:
|
|
|
|
|
|
| COMPONENT CONTAINER | DEPLOYMENT ENVIRONMENT | WHY |
|
|
|
| :--- | :--- | :--- |
|
|
|
-| **streamlit-app (app.py)** | Local WSL2 (Windows) | Low-latency rendering and direct client access |
|
|
|
-| **mysql (Database Node)** | Hyper-V VM (Server A) | Persistent enterprise-grade disk storage |
|
|
|
-| **ollama (NLP llama3.2:3b Engine)** | VirtualBox VM (Server B) | Dedicated CPU/GPU virtualization allocation |
|
|
|
-| **zabbix-server & web (Monitoring)** | Hyper-V VM (Server A) | Centralized SNMPv3 alert processing and logs |
|
|
|
-| **searxng (Meta-Search Gateway)** | Local WSL2 (Windows) | Dynamic browser-level loopbacks |
|
|
|
+| **streamlit-app (app.py)** | Local WSL2 or Bare-Metal Unix | Low-latency rendering and direct client access |
|
|
|
+| **mysql (Database Node)** | Bare-Metal Server or Hyper-V VM | Persistent enterprise-grade disk storage |
|
|
|
+| **ollama (NLP llama3.2:3b Engine)** | Bare-Metal Server or VirtualBox VM | Dedicated CPU/GPU resource allocation |
|
|
|
+| **zabbix-server & web (Monitoring)** | Bare-Metal Server or Hyper-V VM | Centralized SNMPv3 alert processing and logs |
|
|
|
+| **searxng (Meta-Search Gateway)** | Local WSL2 or Bare-Metal Unix | Dynamic browser-level loopbacks |
|
|
|
|
|
|
---
|
|
|
|
|
|
@@ -914,6 +914,16 @@ vboxmanage storageattach "FoodAI-AI-Node" --storagectl "SATA Controller" --port
|
|
|
vboxmanage startvm "FoodAI-AI-Node" --type headless
|
|
|
```
|
|
|
|
|
|
+### 3.4: Native Physical Unix/Linux Server (No Virtualization)
|
|
|
+For a native physical installation directly on the hardware (bare-metal Ubuntu Server):
|
|
|
+1. Install Ubuntu Server 22.04 LTS or 24.04 LTS on the physical machine.
|
|
|
+2. Ensure SSH is installed and running:
|
|
|
+ ```bash
|
|
|
+ sudo apt update && sudo apt install -y openssh-server
|
|
|
+ sudo systemctl enable --now ssh
|
|
|
+ ```
|
|
|
+3. Configure a static IP address and ensure the host firewall allows traffic on the required ports (e.g. 80, 8502, 3306, 8081).
|
|
|
+
|
|
|
---
|
|
|
|
|
|
## 4. Secure Authentication & SSH Exchange
|