Last active
December 14, 2016 12:05
-
-
Save tpokorra/1ca01c4043c8a69f4a1d9d539d441a45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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