User Tools

Site Tools


linux:owncloud_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:owncloud_setup [2016/04/04 09:40]
ozan
linux:owncloud_setup [2016/04/04 10:58] (current)
ozan [ownCloud Active Directory Setup]
Line 1: Line 1:
 ===== ownCloud Setup ===== ===== ownCloud Setup =====
  
-After using pyd.io ​(aka ajaxplorer) for 2 years, we had some unidentified errors so instead of installing pydio again, we checked the alternatives and found ownCloud. It is open source and robust. We have Windows 2012 server and running some virtual debians under it, so with the virtual appliance (VHDX format) provided by ownCloud website (under download section), we easily installed ​it. Since I do not want to forget key points of installation and setup, I will give crucial instructions below. Note that ownCloud prefered to use Ubuntu as host OS.+After using pydio (aka ajaxplorer) for 2 years, we had some unidentified errors so instead of installing/​upgrading ​pydio again, we checked the alternatives and found **ownCloud**. It is open source and robust. We have Windows 2012 server and running some virtual debians under it, so with the virtual appliance (VHDX format) provided by ownCloud website (under download section), we easily installed ​ownCloud. Since I do not want to forget key points of installation and setup, I will give crucial instructions below. Note that ownCloud ​is prefered to use Ubuntu as host OS and these instructions are applicable for version 9 of ownCloud.
  
 ==== Download ==== ==== Download ====
Line 9: Line 9:
 ==== HyperV Setup ==== ==== HyperV Setup ====
  
-After unzipping ​you ownCloud appliance to your desired path for your virtual machines, open hyperv and create new virtual machine. After giving a name for the ownCloud virtual machine, you need to choose **Generation 1** :!: for it.+After unzipping ownCloud appliance to your desired path for your virtual machines, open hyperv and create new virtual machine. After giving a name for the ownCloud virtual machine, you need to choose **Generation 1** :!: for virtual machine generation.
 \\ \\
  
Line 15: Line 15:
 \\ \\
  
-When you are at "​Connect Virtual Hardisk Section"​ of HyperV wizard, select "use an existing harddisk"​ and select the unzipped vhdx file of ownCloud, then finish wizard by following the wizard.+When you are at "​Connect Virtual Hardisk Section"​ of HyperV wizard, select "use an existing harddisk"​ and select the unzipped vhdx file of ownCloud, then finish wizard by following the wizard ​pages.
 \\ \\
  
-After creating ownCloud server, open the settings and configure it according to your needs and resources. Under Management section of settings you can select "​Always start this virtual machine automatically"​ from "​Automatic start action"​ menu.+After creating ownCloud server, open virtual machine ​settings and configure it according to your needs and resources. Under Management section of settings you can select "​Always start this virtual machine automatically"​ from "​Automatic start action"​ menu.
  
  
Line 39: Line 39:
 <code php> <code php>
 <?php <?php
-header("​Location:​ /​owncloud"​)+header("​Location:​ /​owncloud"​);
 </​code>​ </​code>​
  
Line 123: Line 123:
 <code php> <code php>
  ...  ...
-  "​overwriteprotocol"​ => "​https",​+  "​overwriteprotocol"​ => "​https", ​//if your reverse proxy server forces to https
   "​trusted_proxies" ​  => ['​192.168.1.127'​],​ //reverse proxy server address   "​trusted_proxies" ​  => ['​192.168.1.127'​],​ //reverse proxy server address
   //"​overwritecondaddr"​ => "​^192\.168\.1\.127$",​ // if you want to see the real IPs in the logs   //"​overwritecondaddr"​ => "​^192\.168\.1\.127$",​ // if you want to see the real IPs in the logs
Line 136: Line 136:
 apt-get install php5-ldap apt-get install php5-ldap
 </​code>​ </​code>​
 +
 +After installing ''​php5-ldap''​ package, My LDAP settings in ownCloud are as below;
 +{{ :​linux:​owncloud_setup:​owncloud-ldap-settings1.png |}}
 +
 +You can also create a dedicated domain group and select it if you do not want to add all domain users.
 +{{ :​linux:​owncloud_setup:​owncloud-ldap-settings2.png |}}
 +
 +Have fun.
 +
 +{{tag>​owncloud setup ubuntu virtual_machine hyperv LDAP Active_Directory}}
 +
 +~~DISCUSSION~~
linux/owncloud_setup.txt · Last modified: 2016/04/04 10:58 by ozan