Difference between revisions of "Owncloud"
From Blue-IT.org Wiki
(→Ubuntu 12.04 LTS) |
(→Ubuntu 12.04 LTS) |
||
Line 11: | Line 11: | ||
Accourding to the manual | Accourding to the manual | ||
− | * Add the appropriate key for your distribution | + | * Add the appropriate key for your distribution (here for Ubuntu 12.04): |
+ | wget -qO - http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/Release.key | sudo apt-key add - | ||
* Add a sources list file and | * Add a sources list file and | ||
Line 18: | Line 19: | ||
* Install the server package | * Install the server package | ||
apt-get install owncloud | apt-get install owncloud | ||
− | |||
− | |||
=== Prepare apache2 for owncloud === | === Prepare apache2 for owncloud === | ||
Line 61: | Line 60: | ||
</VirtualHost> | </VirtualHost> | ||
</IfModule> | </IfModule> | ||
+ | |||
+ | === Create a database === | ||
+ | If you like to use a database like mysql you have to create a database, user and password in advance! | ||
+ | |||
+ | === Settings === | ||
+ | Now open your new Owncloud webpage and | ||
+ | |||
+ | # Add admin accoutn settings | ||
+ | # Optional: enter database settings | ||
+ | |||
+ | Then you can enter new users! |
Revision as of 17:28, 4 February 2014
Contents
Ubuntu 12.04 LTS
Sources.list and Installation
For the official installation manual see:
Accourding to the manual
- Add the appropriate key for your distribution (here for Ubuntu 12.04):
wget -qO - http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/Release.key | sudo apt-key add -
- Add a sources list file and
apt-get update
- Install the server package
apt-get install owncloud
Prepare apache2 for owncloud
This is necessary to get access to the webinterface of owncloud:
vim /etc/apache2/sites-avaible/owncloud.conf
<VirtualHost *:80> ServerAdmin webmaster@YOURSERVER.TLD ServerName owncloud.yourserver.tld DocumentRoot /path_to/www/owncloud.yourserver.tld <Directory /path_to/www/owncloud.yourserver.tld> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> </VirtualHost> <IfModule mod_ssl.c> <VirtualHost *:443> ServerAdmin webmaster@YOURSERVER.TLD ServerName owncloud.yourserver.tld DocumentRoot /path_to/www/owncloud.yourserver.tld <Directory /path_to/www/owncloud.yourserver.tld> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> # SSL SSLEngine on SSLCertificateFile /etc/apache2/ssl/ssl.pem </VirtualHost> </IfModule>
Create a database
If you like to use a database like mysql you have to create a database, user and password in advance!
Settings
Now open your new Owncloud webpage and
- Add admin accoutn settings
- Optional: enter database settings
Then you can enter new users!