Skip to content

Instantly share code, notes, and snippets.

@tpokorra
Last active December 14, 2016 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tpokorra/1ca01c4043c8a69f4a1d9d539d441a45 to your computer and use it in GitHub Desktop.
Save tpokorra/1ca01c4043c8a69f4a1d9d539d441a45 to your computer and use it in GitHub Desktop.
#!/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