archive | ||
conf | ||
src | ||
.gitignore | ||
CHANGELOG.md | ||
install.sh | ||
LICENSE | ||
new-config.py | ||
proxmox.conf | ||
README.md | ||
sources.list | ||
zamba.conf | ||
zamba.conf.example | ||
zamba.conf.md |
Zamba LXC Toolbox
IMPORTANT NOTE:
devel
branch is still under heavy development, do not use this on a productive machine!
About
Zamba LXC Toolbox is a collection of scripts to easily install Debian LXC containers with preconfigured services on Proxmox with ZFS.
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.
The package also provides LXC container installers for mailpiler
, matrix-synapse
+ element-web
and more services will follow in future releases.
Requirements
Proxmox VE Server with at least one configured ZFS Pool.
Included services:
zmb-standalone
=> ZMB (Samba) standalone server with ZFS volume snapshot support (previous versions)zmb-ad
=> ZMB (Samba) Active Directory Domain Controller, DNS BackendsSAMBA_INTERNAL
andBIND9_DLZ
are supportedzmb-member
=> ZMB (Samba) AD member with ZFS volume snapshot support (previous versions)mailpiler
=> mailpiler mail archive mailpiler.orgmatrix
=> Matrix Synapse Homeserver matrix.org with Element Web Element on githubdebian-unpriv
=> Debian unprivileged container with basic toolsetdebian-unpriv
=> Debian privileged container with basic toolset
Usage
Just ssh into your Proxmox machine and clone this git repository. Make sure you have installed git
.
apt update
apt -y install git
Clone this Repository
git clone https://github.com/bashclub/zamba-lxc-toolbox
cd zamba-lxc-toolbox
Configuration
To fit your requirements, please edit the file zamba.conf
with your favourite text editor (e.g. vim
or nano
).
The required adjustments are in the LXC container section and in the section for the service you want to launch.
For further information about the config variables, have a look at zamba.conf.md
Installation
After configuring, you are able to launch the script interactively:
bash install.sh
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.
Once the script has finished, the container is installed and running and you can continue with the service specific configuration.