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
Proxmox VE Server with at least one configured ZFS Pool.
### Included services:
2021-04-15 21:46:19 +02:00
- `zmb-standalone` => ZMB (Samba) standalone server with ZFS volume snapshot support (previous versions)
2021-04-17 15:33:59 +02:00
- `zmb-ad` => ZMB (Samba) Active Directory Domain Controller, DNS Backends `SAMBA_INTERNAL` and `BIND9_DLZ` are supported
- `zmb-member` => ZMB (Samba) AD member with ZFS volume snapshot support (previous versions)
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-04-17 15:33:59 +02:00
- `debian-unpriv` => Debian unprivileged container with basic toolset
- `debian-unpriv` => Debian privileged container with basic toolset
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
2021-04-17 22:24:22 +02:00
To fit your requirements, please edit the file `zamba.conf` with your favourite text editor (e.g. `vim` or `nano` ).
2021-04-08 23:13:20 +02:00
The required adjustments are in the LXC container section and in the section for the service you want to launch.
2021-04-09 18:10:47 +02:00
For further information about the config variables, have a look at [zamba.conf.md ](zamba.conf.md )
2021-04-08 23:13:20 +02:00
### Installation
After configuring, you are able to launch the script interactively:
```bash
bash install.sh
```
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.