Skip to content

Instantly share code, notes, and snippets.

@bspavel
Last active April 4, 2018 10:53
Show Gist options
  • Save bspavel/fa3f9ee3b6d489cb36cac5a30480c41e to your computer and use it in GitHub Desktop.
Save bspavel/fa3f9ee3b6d489cb36cac5a30480c41e to your computer and use it in GitHub Desktop.
#!/bin/bash
# https://github.com/Open365/Open365
# https://superuser.com/questions/769920/python3-pip-installed-but-pip3-command-not-found
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y git vim mc
sudo apt-get install -y python3
#install docker and docker-compose
sudo apt-get install -y docker docker-compose
# https://docs.docker.com/install/linux/docker-ce/debian/#install-using-the-convenience-script
# https://docs.docker.com/compose/install/#uninstallation
sudo apt-get install -y default-libmysqlclient-dev
sudo apt-get install -y python3-dev
sudo apt-get install -y python3-pip
pip3 install mysqlclient
pip3 install pymongo
pip3 install ldap3
pip3 install requests
cd /home
git clone https://github.com/Open365/Open365.git
cd ./Open365
sudo ./open365 install
#Create users and domain
#If you want to create new users run the following command:
#sudo ./open365 user-create USERNAME --firstname FIRSTNAME --surname SURNAME --password PASS --email USER_EMAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment