Zamba LXC Toolbox a script collection to setup LXC containers on Proxmox + ZFS. Zamba is the fusion of ZFS and Samba (standalone, active directory dc or active directory member), preconfigured to access ZFS snapshots by "Previous Versions" to easily recov
Go to file
Thorsten Spille 87f40367b5
Merge pull request #20 from bashclub/devel
Reworked install.sh, implemented #6, updated doc, created .gitignore
Preparing first release
2021-04-21 00:42:07 +02:00
.gitignore Createg .gitignore 2021-04-20 01:33:23 +02:00
CHANGELOG.md Updated changelog 2021-04-21 00:32:44 +02:00
debian-priv.sh Merge branch 'main' into devel 2021-04-20 22:35:32 +02:00
debian-unpriv.sh Improved doc, removed just-lxc, added (un)priv ct 2021-04-17 15:33:59 +02:00
install.sh Fixed install.sh 2021-04-20 23:26:12 +02:00
LICENSE Create LICENSE 2021-04-15 23:13:43 +02:00
mailpiler.sh mailpiler - reworked webserver config 2021-04-21 00:33:18 +02:00
matrix.sh Removed timezone setting 2021-04-20 22:08:46 +02:00
README.md Merge branch 'main' into devel 2021-04-20 22:35:32 +02:00
sources.list Push custom apt sources.list to container 2021-04-14 01:01:05 +02:00
zamba.conf Changed ssh-keys, mailpiler and element version 2021-04-21 00:33:53 +02:00
zamba.conf.md Improved doc, removed just-lxc, added (un)priv ct 2021-04-17 15:33:59 +02:00
zmb-ad.sh Removed timezone setting 2021-04-20 22:09:22 +02:00
zmb-member.sh Removed timezone setting 2021-04-20 22:09:57 +02:00
zmb-standalone.sh Removed timezone setting 2021-04-20 22:10:26 +02:00

Zamba LXC Toolbox

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 Backends SAMBA_INTERNAL and BIND9_DLZ are supported
  • zmb-member => ZMB (Samba) AD member with ZFS volume snapshot support (previous versions)
  • mailpiler => mailpiler mail archive mailpiler.org
  • matrix => Matrix Synapse Homeserver matrix.org with Element Web Element on github
  • debian-unpriv => Debian unprivileged container with basic toolset
  • debian-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.