Skip to content

Instantly share code, notes, and snippets.

@shageman
Last active August 29, 2015 14:07
Show Gist options
  • Save shageman/13d938a123c8b999f549 to your computer and use it in GitHub Desktop.
Save shageman/13d938a123c8b999f549 to your computer and use it in GitHub Desktop.
owncloud setup
# Run by hand:
# apt-get update
# apt-get upgrade
# apt-get install git
apt-get install postgresql postgresql-contrib
#set postgres user password: https://help.ubuntu.com/community/PostgreSQL#Basic_Server_Setup
wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key
sudo apt-key add - < Release.key
echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud.list
apt-get update
apt-get install owncloud
a2enmod ssl
a2ensite default-ssl
service apache2 reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment