User Tools

Site Tools


owncloud_with_iredmail_ldap

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
owncloud_with_iredmail_ldap [2016/10/17 19:57] herwarthowncloud_with_iredmail_ldap [2016/10/17 20:00] (current) herwarth
Line 9: Line 9:
   yum install httpd -t   yum install httpd -t
   yum install php55 php55-php-gd php55-php-mbstring php55-php-xml php55-php-mysqlnd php55-php php55-php-ldap   yum install php55 php55-php-gd php55-php-mbstring php55-php-xml php55-php-mysqlnd php55-php php55-php-ldap
-   
-  #yum install php-mysql php-ldap php php-gd php-mbstring php-xml bzip2 policycoreutils-python 
  
   cp /opt/rh/httpd24/root/etc/httpd/conf.d/php55-php.conf /etc/httpd/conf.d   cp /opt/rh/httpd24/root/etc/httpd/conf.d/php55-php.conf /etc/httpd/conf.d
Line 44: Line 42:
   setsebool -P httpd_use_nfs 1   setsebool -P httpd_use_nfs 1
 I am using NFS mount for data mounted on /mnt/data I am using NFS mount for data mounted on /mnt/data
- +<code - /etc/fstab> 
-  [2a02:22a0:bbb7:403::3]:/mnt/hdd/owncloud /mnt/data nfs _netdev,rw,vers=3,auto 0 0 +
-  m +. 
-  semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/owncloud/data' +[2a02:22a0:bbb7:403::3]:/mnt/hdd/owncloud /mnt/data nfs _netdev,rw,vers=3,auto 0 0
-  restorecon -Rv '/var/www/html/owncloud/data' +
- +
-  semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/owncloud/config' +
-  restorecon -Rv '/var/www/html/owncloud/config' +
- +
-  semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/owncloud/apps' +
-  restorecon -Rv '/var/www/html/owncloud/apps' +
-====Apache==== +
-<code - /etc/httpd/conf.d/owncloud.conf> +
-<IfModule mod_alias.c> +
-Alias /owncloud /var/www/html/owncloud +
-</IfModule> +
-<Directory "/var/www/html/owncloud"> +
-Options Indexes FollowSymLinks +
-AllowOverride All +
-Order allow,deny +
-allow from all +
-</Directory>+
 </code> </code>
 +  mkdir /mnt/data
 +  mount -a
 +  chown apache. /mnt/data
  
 ====Add LDAP plugin==== ====Add LDAP plugin====
Line 144: Line 127:
 . .
 . .
-</code> 
- 
-====Enable calendar and contact apps in 8.0.2==== 
-There is a bug in the SSL crap of owncloud so here is a quick fix. 
- 
-on line 73 add the following: 
-<code - /var/www/html/owncloud/lib/private/httphelper.php> 
-                        curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); 
 </code> </code>
  
 {{tag>centos}} {{tag>centos}}
owncloud_with_iredmail_ldap.1476734268.txt.gz · Last modified: by herwarth