Skip to content

Instantly share code, notes, and snippets.

@tpokorra tpokorra/dplyKolab16.sh
Last active Dec 14, 2016

Embed
What would you like to do?
#!/bin/bash
branch=Kolab16
# we need a fully qualified domain name
hostnamectl set-hostname $branch.demo.example.org
yum install -y wget which bzip2 mailx selinux-policy-targeted
# disable SELinux
sed -i 's/enforcing/permissive/g' /etc/selinux/config
wget -O $branch.tar.gz https://github.com/TBits/KolabScripts/archive/$branch.tar.gz
tar xzf $branch.tar.gz
cd KolabScripts-$branch/kolab
# to make Kolab run on 512 MB of RAM on dply.co, disable Amavis and ClamAV
export WITHOUTSPAMFILTER=1
echo "y" | ./reinstall.sh || exit 1
./initSetupKolabPatches.sh || exit 1
setup-kolab --default --mysqlserver=new --timezone=Europe/Berlin --directory-manager-pwd=test || exit 1
# next steps:
# http://your.ip/kolab-webadmin, login with user: cn=Directory Manager, password: test
# http://your.ip/roundcubemail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.