update readme
This commit is contained in:
@@ -29,6 +29,11 @@ To enable full functionality, you must configure these three files:
|
|||||||
|
|
||||||
### 🚀 Installation Guide
|
### 🚀 Installation Guide
|
||||||
|
|
||||||
|
#### 0. Root Privileges
|
||||||
|
All installation steps must be executed as the `root` user. Before starting, elevate your privileges by running:
|
||||||
|
```bash
|
||||||
|
sudo su
|
||||||
|
|
||||||
#### 1. Clone the Repository
|
#### 1. Clone the Repository
|
||||||
Clone the agent into `/opt` to ensure path consistency:
|
Clone the agent into `/opt` to ensure path consistency:
|
||||||
```bash
|
```bash
|
||||||
@@ -40,7 +45,7 @@ cd /opt/fleet-node-agent
|
|||||||
```bash
|
```bash
|
||||||
sudo python3 -m venv venv
|
sudo python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
sudo pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 3. Configuration
|
#### 3. Configuration
|
||||||
@@ -52,10 +57,10 @@ sudo pip install -r requirements.txt
|
|||||||
|
|
||||||
#### 4. Systemd Service (Auto-start)
|
#### 4. Systemd Service (Auto-start)
|
||||||
```bash
|
```bash
|
||||||
sudo cp fleet-agent.service /etc/systemd/system/
|
cp fleet-agent.service /etc/systemd/system/
|
||||||
sudo systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
sudo systemctl enable fleet-agent
|
systemctl enable fleet-agent
|
||||||
sudo systemctl start fleet-agent
|
systemctl start fleet-agent
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -85,6 +90,11 @@ Per il corretto funzionamento, è necessario definire i parametri in questi tre
|
|||||||
|
|
||||||
### 🚀 Guida all'Installazione
|
### 🚀 Guida all'Installazione
|
||||||
|
|
||||||
|
#### 0. Privilegi di Root
|
||||||
|
Tutti i passaggi di installazione devono essere eseguiti come utente `root`. Prima di iniziare, eleva i tuoi privilegi eseguendo:
|
||||||
|
```bash
|
||||||
|
sudo su
|
||||||
|
|
||||||
#### 1. Clonazione del Repository
|
#### 1. Clonazione del Repository
|
||||||
Clona l'agente nella cartella `/opt` per garantire la coerenza con i servizi systemd:
|
Clona l'agente nella cartella `/opt` per garantire la coerenza con i servizi systemd:
|
||||||
```bash
|
```bash
|
||||||
@@ -96,7 +106,7 @@ cd /opt/fleet-node-agent
|
|||||||
```bash
|
```bash
|
||||||
sudo python3 -m venv venv
|
sudo python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
sudo pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 3. Personalizzazione
|
#### 3. Personalizzazione
|
||||||
@@ -108,10 +118,10 @@ sudo pip install -r requirements.txt
|
|||||||
|
|
||||||
#### 4. Esecuzione come Servizio (systemd)
|
#### 4. Esecuzione come Servizio (systemd)
|
||||||
```bash
|
```bash
|
||||||
sudo cp fleet-agent.service /etc/systemd/system/
|
cp fleet-agent.service /etc/systemd/system/
|
||||||
sudo systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
sudo systemctl enable fleet-agent
|
systemctl enable fleet-agent
|
||||||
sudo systemctl start fleet-agent
|
systemctl start fleet-agent
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
+22
-8
@@ -5,6 +5,13 @@
|
|||||||
This script is meant to be installed on each remote node
|
This script is meant to be installed on each remote node
|
||||||
(e.g., Raspberry Pi, MMDVM host). [cite: 11]
|
(e.g., Raspberry Pi, MMDVM host). [cite: 11]
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
0. IMPORTANT: ROOT PRIVILEGES
|
||||||
|
------------------------------------------------------------
|
||||||
|
All installation steps must be executed as the "root" user.
|
||||||
|
Before starting, elevate your privileges by running:
|
||||||
|
sudo su
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
1. PRE-REQUISITES & INSTALLATION
|
1. PRE-REQUISITES & INSTALLATION
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
@@ -42,10 +49,10 @@ D) OPTIONAL:
|
|||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
3. RUNNING AS A SERVICE (SYSTEMD)
|
3. RUNNING AS A SERVICE (SYSTEMD)
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
1. sudo cp fleet-agent.service /etc/systemd/system/
|
1. cp fleet-agent.service /etc/systemd/system/
|
||||||
2. sudo systemctl daemon-reload
|
2. systemctl daemon-reload
|
||||||
3. sudo systemctl enable fleet-agent
|
3. systemctl enable fleet-agent
|
||||||
4. sudo systemctl start fleet-agent
|
4. systemctl start fleet-agent
|
||||||
|
|
||||||
|
|
||||||
============================================================
|
============================================================
|
||||||
@@ -55,6 +62,13 @@ D) OPTIONAL:
|
|||||||
Questo script va installato su ogni nodo remoto
|
Questo script va installato su ogni nodo remoto
|
||||||
(es. Raspberry Pi, MMDVM host). [cite: 11]
|
(es. Raspberry Pi, MMDVM host). [cite: 11]
|
||||||
|
|
||||||
|
------------------------------------------------------------
|
||||||
|
0. IMPORTANTE: PRIVILEGI DI ROOT
|
||||||
|
------------------------------------------------------------
|
||||||
|
Tutti i passaggi di installazione devono essere eseguiti
|
||||||
|
come utente "root". Prima di iniziare, eleva i tuoi privilegi:
|
||||||
|
sudo su
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
1. REQUISITI E INSTALLAZIONE
|
1. REQUISITI E INSTALLAZIONE
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
@@ -92,8 +106,8 @@ D) OPZIONALE:
|
|||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
3. ESECUZIONE COME SERVIZIO (SYSTEMD)
|
3. ESECUZIONE COME SERVIZIO (SYSTEMD)
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
1. sudo cp fleet-agent.service /etc/systemd/system/
|
1. cp fleet-agent.service /etc/systemd/system/
|
||||||
2. sudo systemctl daemon-reload
|
2. systemctl daemon-reload
|
||||||
3. sudo systemctl enable fleet-agent
|
3. systemctl enable fleet-agent
|
||||||
4. sudo systemctl start fleet-agent
|
4. systemctl start fleet-agent
|
||||||
============================================================
|
============================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user