Difference between revisions of "Owncloud"

From Blue-IT.org Wiki

(Created page with "== Ubuntu 12.04 LTS ==")
 
Line 1: Line 1:
 
== Ubuntu 12.04 LTS ==
 
== Ubuntu 12.04 LTS ==
 +
 +
Prepare apache for 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>
 +
 +
 +
 +
For official installation manual see:
 +
* http://software.opensuse.org/download/package?project=isv:ownCloud:community&package=owncloud
 +
 +
1. Add the appropriate key for your distribution
 +
2. Add a sources list file
 +
apt-get update
 +
 +
3. Install the server
 +
apt-get install owncloud
 +
 +
4. Make administrative account

Revision as of 12:27, 4 February 2014

Ubuntu 12.04 LTS

Prepare apache for 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>


For official installation manual see:

1. Add the appropriate key for your distribution 2. Add a sources list file

apt-get update

3. Install the server

apt-get install owncloud

4. Make administrative account