Compare commits
2 Commits
a6fa2738cd
...
d82801a8f1
| Author | SHA1 | Date | |
|---|---|---|---|
| d82801a8f1 | |||
| 3f940f4c0a |
@ -69,3 +69,17 @@ bash linux-brprinter-installer-*.*.*-* DCP-L2520DW
|
|||||||
- **For Network Users**: Choose `Y` (Yes) and provide the DeviceURI number
|
- **For Network Users**: Choose `Y` (Yes) and provide the DeviceURI number
|
||||||
|
|
||||||
The installation process may take some time. Wait until it completes.
|
The installation process may take some time. Wait until it completes.
|
||||||
|
|
||||||
|
**Optional**
|
||||||
|
|
||||||
|
If the automatic installer does not work, it is possible to manually set the printer to a fixed IP address with the following commands:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# For models compatible with brsaneconfig4
|
||||||
|
brsaneconfig4 -a name=DCP-L2520DW model=DCP-L2520DW ip=192.168.1.100
|
||||||
|
|
||||||
|
# For models compatible with brsaneconfig3
|
||||||
|
brsaneconfig3 -a name=MFC-9010CN model=MFC-9010CN ip=192.168.1.100
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note**: Use brsaneconfig4 or brsaneconfig3 depending on the model of your Brother printer/scanner. Refer to the documentation to determine compatibility.
|
||||||
|
|||||||
@ -63,10 +63,11 @@ Replace the placeholders below with the appropriate values for your setup:
|
|||||||
- **Server Configuration**
|
- **Server Configuration**
|
||||||
|
|
||||||
- Server IP address: `<server-ip-address>` (e.g., 192.168.1.100)
|
- Server IP address: `<server-ip-address>` (e.g., 192.168.1.100)
|
||||||
- Hostname - Intranet: `<hostname-intranet>` (e.g., aptly-server)
|
- Hostname - Intranet: `<hostname-intranet>` (e.g., aptly-server.domain.com)
|
||||||
- Hostname - Internet: `<hostname-internet>` (e.g., aptly.domain.com)
|
- Hostname - Internet: `<hostname-internet>` (e.g., aptly.domain.com)
|
||||||
- Hostname - Hypervisor: `<hostname-hypervisor>` (e.g., proxmox-hypervisor)
|
- Hostname - Hypervisor: `<hostname-hypervisor>` (e.g., proxmox-hypervisor.domain.com)
|
||||||
- Hostname - Hypervisor NAS: `<hostname-hypervisor-nas>` (e.g., nas-server)
|
- Hostname - Hypervisor NAS: `<hostname-hypervisor-nas>` (e.g., nas-server.domain.com)
|
||||||
|
- Name - Hypervisor NAS: `<name-hypervisor-nas>` (e.g., nas-server)
|
||||||
|
|
||||||
- **SSH Keys**
|
- **SSH Keys**
|
||||||
|
|
||||||
@ -139,13 +140,13 @@ ssh <username>@<hostname-hypervisor-nas> "ls /mnt/proxmox/template/cache/"
|
|||||||
**Create the container**
|
**Create the container**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ssh <username-hypervisor>@<hostname-hypervisor> "pct create 100 stor2:vztmpl/debian-12-upgraded_12.5_amd64.tar.zst --hostname <hostname-intranet> --cores 2 --memory 2048 --swap 2048 --net0 name=net0,bridge=vmbr0,ip=dhcp,firewall=1 --rootfs stor2:250 --unprivileged 1 --features nesting=1 --ssh-public-keys <ssh-key-proxmox> --start 1"
|
ssh <username-hypervisor>@<hostname-hypervisor> "pct create 100 <name-hypervisor-nas>:vztmpl/debian-12-upgraded_12.5_amd64.tar.zst --hostname <hostname-intranet> --cores 2 --memory 2048 --swap 2048 --net0 name=net0,bridge=vmbr0,ip=dhcp,firewall=1 --rootfs <name-hypervisor-nas>:250 --unprivileged 1 --features nesting=1 --ssh-public-keys <ssh-key-proxmox> --start 1"
|
||||||
```
|
```
|
||||||
|
|
||||||
**Backup**
|
**Backup**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\""
|
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage <name-hypervisor-nas> --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\""
|
||||||
```
|
```
|
||||||
|
|
||||||
**Set the state of the Proxmox HA Manager for Container 100**
|
**Set the state of the Proxmox HA Manager for Container 100**
|
||||||
@ -219,7 +220,7 @@ chown -R aptly:aptly /home/aptly/.ssh/
|
|||||||
2. **Backup before starting**
|
2. **Backup before starting**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\""
|
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage <name-hypervisor-nas> --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\""
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Install Required Dependencies**
|
3. **Install Required Dependencies**
|
||||||
@ -623,7 +624,7 @@ chown -R aptly:aptly /home/aptly/.ssh/
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
ssh <username-hypervisor>@<hostname-hypervisor> "ha-manager set ct:100 --state stopped"
|
ssh <username-hypervisor>@<hostname-hypervisor> "ha-manager set ct:100 --state stopped"
|
||||||
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup post installation\""
|
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage <name-hypervisor-nas> --note \"$(date +'%Y-%m-%d %H:%M') Backup post installation\""
|
||||||
```
|
```
|
||||||
|
|
||||||
15. **Start the server**
|
15. **Start the server**
|
||||||
|
|||||||
@ -58,10 +58,11 @@ Replace the placeholders below with the appropriate values for your setup:
|
|||||||
- **Server Configuration**
|
- **Server Configuration**
|
||||||
|
|
||||||
- Server IP address: `<server-ip-address>` (e.g., 192.168.1.100)
|
- Server IP address: `<server-ip-address>` (e.g., 192.168.1.100)
|
||||||
- Hostname - Intranet: `<hostname-intranet>` (e.g., gitea-server)
|
- Hostname - Intranet: `<hostname-intranet>` (e.g., gitea-server.domain.com)
|
||||||
- Hostname - Internet: `<hostname-internet>` (e.g., gitea.domain.com)
|
- Hostname - Internet: `<hostname-internet>` (e.g., gitea.domain.com)
|
||||||
- Hostname - Hypervisor: `<hostname-hypervisor>` (e.g., proxmox-hypervisor)
|
- Hostname - Hypervisor: `<hostname-hypervisor>` (e.g., proxmox-hypervisor.domain.com)
|
||||||
- Hostname - Hypervisor NAS: `<hostname-hypervisor-nas>` (e.g., nas-server)
|
- Hostname - Hypervisor NAS: `<hostname-hypervisor-nas>` (e.g., nas-server.domain.com)
|
||||||
|
- Name - Hypervisor NAS: `<name-hypervisor-nas>` (e.g., nas-server)
|
||||||
|
|
||||||
- **SSH Keys**
|
- **SSH Keys**
|
||||||
|
|
||||||
@ -125,13 +126,13 @@ ssh <username>@<hostname-hypervisor-nas> "ls /mnt/proxmox/template/cache/"
|
|||||||
**Create the container**
|
**Create the container**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ssh <username-hypervisor>@<hostname-hypervisor> "pct create 100 stor2:vztmpl/debian-12-upgraded_12.5_amd64.tar.zst --hostname <hostname-intranet> --cores 2 --memory 2048 --swap 2048 --net0 name=net0,bridge=vmbr0,ip=dhcp,firewall=1 --rootfs stor2:250 --unprivileged 1 --features nesting=1 --ssh-public-keys <ssh-key-proxmox> --start 1"
|
ssh <username-hypervisor>@<hostname-hypervisor> "pct create 100 <name-hypervisor-nas>:vztmpl/debian-12-upgraded_12.5_amd64.tar.zst --hostname <hostname-intranet> --cores 2 --memory 2048 --swap 2048 --net0 name=net0,bridge=vmbr0,ip=dhcp,firewall=1 --rootfs <name-hypervisor-nas>:250 --unprivileged 1 --features nesting=1 --ssh-public-keys <ssh-key-proxmox> --start 1"
|
||||||
```
|
```
|
||||||
|
|
||||||
**Backup**
|
**Backup**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\""
|
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage <name-hypervisor-nas> --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\""
|
||||||
```
|
```
|
||||||
|
|
||||||
**Set the state of the Proxmox HA Manager for Container 100**
|
**Set the state of the Proxmox HA Manager for Container 100**
|
||||||
@ -207,7 +208,7 @@ cat /home/<username>/.ssh/<username>.pub >> /home/<username>/.ssh/authorized_key
|
|||||||
2. **Backup before starting**
|
2. **Backup before starting**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\""
|
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage <name-hypervisor-nas> --note \"$(date +'%Y-%m-%d %H:%M') Backup fresh install\""
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Install Required Dependencies**
|
3. **Install Required Dependencies**
|
||||||
@ -503,7 +504,7 @@ cat /home/<username>/.ssh/<username>.pub >> /home/<username>/.ssh/authorized_key
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
ssh <username-hypervisor>@<hostname-hypervisor> "ha-manager set ct:100 --state stopped"
|
ssh <username-hypervisor>@<hostname-hypervisor> "ha-manager set ct:100 --state stopped"
|
||||||
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage stor2 --note \"$(date +'%Y-%m-%d %H:%M') Backup post installation\""
|
ssh <username-hypervisor>@<hostname-hypervisor> "vzdump 100 --compress zstd --mode stop --storage <name-hypervisor-nas> --note \"$(date +'%Y-%m-%d %H:%M') Backup post installation\""
|
||||||
```
|
```
|
||||||
|
|
||||||
20. **Start the server**
|
20. **Start the server**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user