Last active
October 3, 2015 07:05
-
-
Save benjiao/03d524f4840764051b5b 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
apt-get -y update | |
# Download Zulip | |
cd /root | |
wget https://www.zulip.com/dist/releases/zulip-server-1.3.6.tar.gz | |
echo "665a1e6ef840b3a86cc18946429ad1c0033d27a2 zulip-server-1.3.6.tar.gz" | sha1sum -c | |
tar -xf zulip-server-1.3.6.tar.gz | |
mv zulip-server-1.3.6 zulip | |
# Install SSL Certs | |
apt-get install openssl | |
openssl genrsa -des3 -passout pass:x -out server.pass.key 4096 | |
openssl rsa -passin pass:x -in server.pass.key -out zulip.key | |
rm server.pass.key | |
openssl req -new -key zulip.key -out server.csr | |
openssl x509 -req -days 365 -in server.csr -signkey zulip.key -out zulip.combined-chain.crt | |
rm server.csr | |
cp zulip.key /etc/ssl/private/zulip.key | |
cp zulip.combined-chain.crt /etc/ssl/certs/zulip.combined-chain.crt | |
# Run Zulip Setup Script | |
cd /root/zulip | |
./scripts/setup/install | |
# Next Steps... | |
# Configure: /etc/zulip/settings.py | |
# Initialize Database: su zulip -c /home/zulip/deployments/current/scripts/setup/initialize-database |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: Run as sudo (
sudo -i
before running)