zamba-lxc-toolbox/README.md

67 lines
4.1 KiB
Markdown
Raw Normal View History

2021-04-15 21:35:03 +02:00
# Zamba LXC Toolbox
2021-04-08 23:13:20 +02:00
## About
2021-04-17 09:31:05 +02:00
Zamba LXC Toolbox is a collection of scripts to easily install Debian LXC containers with preconfigured services on Proxmox with ZFS.
2021-04-17 00:41:55 +02:00
The main feature is `Zamba`, the fusion of ZFS and Samba in three different flavours (standalone, active directory dc or active directory member), preconfigured to access ZFS snapshots by "Windows Previous Versions" to easily recover encrypted by ransomware files, accidently deleted files or just to revert changes.
2021-04-16 23:04:03 +02:00
The package also provides LXC container installers for `mailpiler`, `matrix-synapse` + `element-web` and more services will follow in future releases.
2021-04-09 20:31:22 +02:00
### Requirements
2022-01-16 20:24:55 +01:00
Proxmox VE Server (>=6.30) with at least one configured ZFS Pool.
2021-04-09 20:31:22 +02:00
### Included services:
2023-01-14 01:43:15 +01:00
- `bookstack` => Bookstack wiki software [bookstackapp.com](https://www.bookstackapp.com/)
- `checkmk` => Check_MK 2.0 Monitoring Server [checkmk.com](https://checkmk.com/)
2022-01-15 22:01:54 +01:00
- `debian-priv` => Debian privileged container with basic toolset
- `debian-unpriv` => Debian unprivileged container with basic toolset
2023-02-10 15:32:38 +01:00
- `ecodms` => Fullfeatured DMS [ecodms.de](https://www.ecodms.de)
- `gitea` => Lightweight and fast self-hosted git service [gitea.io](https://gitea.io)
2023-01-12 14:57:33 +01:00
- `kimai` => Kimai Time-Tracking [kimai.org](https://www.kimai.org/)
- `kopano-core` => Kopano Core Groupware [kopano.io](https://kopano.io/)
2021-04-15 21:46:19 +02:00
- `mailpiler` => mailpiler mail archive [mailpiler.org](https://www.mailpiler.org/)
- `matrix` => Matrix Synapse Homeserver [matrix.org](https://matrix.org/docs/projects/server/synapse) with Element Web [Element on github](https://github.com/vector-im/element-web)
2021-05-02 15:10:05 +02:00
- `nextcloud` => Nextcloud Server [nextcloud.com](https://nextcloud.com/) with fail2ban und redis configuration
2023-02-12 15:59:43 +01:00
- `omada` => TP-Link Omada SDN Controller [www.tp-link.com](https://www.tp-link.com/de/omada-sdn/)
2022-01-15 22:01:54 +01:00
- `onlyoffice` => OnlyOffice [onlyoffice.com](https://onlyoffice.com)
- `open3a` => Open3a web based accounting software [open3a.de](https://open3a.de)
- `proxmox-pbs` => Proxmox Backup Server [proxmox.com](https://proxmox.com/en/proxmox-backup-server)
2023-01-14 01:43:15 +01:00
- `unifi` => Unifi Controller [ui.com](https://ui.com)
2022-01-15 22:01:54 +01:00
- `urbackup` => UrBackup Server [urbackup.org](https://urbackup.org)
2023-02-10 15:32:38 +01:00
- `vaultwarden` => Bitwarder compatible Passwordmanager [github.com/dani-garcia/vaultwarden](https://github.com/dani-garcia/vaultwarden)
2022-05-23 23:20:49 +02:00
- `zabbix` => Zabbix Monitoring server [zabbix.com](https://www.zabbix.com)
- `zammad` => Zammad Helpdesk and Ticketing Software [zammad.org](https://zammad.org/)
2022-01-15 22:01:54 +01:00
- `zmb-ad` => ZMB (Samba) Active Directory Domain Controller, DNS Backends `SAMBA_INTERNAL` and `BIND9_DLZ` are supported
2022-05-21 15:47:44 +02:00
- `zmb-ad-join` => Additional Active Directory Domain Controller joining an existing Domain
2022-01-15 22:01:54 +01:00
- `zmb-member` => ZMB (Samba) AD member with ZFS volume snapshot support (previous versions)
- `zmb-standalone` => ZMB (Samba) standalone server with ZFS volume snapshot support (previous versions)
2021-04-08 23:13:20 +02:00
## Usage
Just ssh into your Proxmox machine and clone this git repository. Make sure you have installed `git`.
```bash
apt update
apt -y install git
2021-04-16 23:05:55 +02:00
```
### Clone this Repository
```bash
2021-04-16 18:05:39 +02:00
git clone https://github.com/bashclub/zamba-lxc-toolbox
2021-04-17 22:20:00 +02:00
cd zamba-lxc-toolbox
2021-04-08 23:13:20 +02:00
```
### Configuration
2022-01-15 22:01:54 +01:00
Copy `zamba.conf.example` located in `conf` directory to a new file (default: `zamba.conf`) and adjust your desired settings.
For further information about configuration variables, have a look at [conf/README.md](conf/README.md)
```bash
cp conf/zamba.conf.example conf/zamba.conf
```
2021-04-08 23:13:20 +02:00
### Installation
2022-01-15 22:01:54 +01:00
After configuring, you are able to launch the script interactively (only works with `conf/zamba.conf`):
2021-04-08 23:13:20 +02:00
```bash
bash install.sh
```
2022-01-15 22:01:54 +01:00
### Advanced Usage
You can set optional parameters (config file, service, container id):
#### Example:
```bash
bash install.sh -i 280 -c conf/my-zmb-service.conf -s zmb-member
```
You can also view possible parameters with `install.sh -h`
2021-04-09 16:40:21 +02:00
After container creation, you will be prompted to select the service to install and depending on the service there may be some more questions during installation.
2021-04-08 23:13:20 +02:00
2021-04-16 18:05:39 +02:00
Once the script has finished, the container is installed and running and you can continue with the service specific configuration.