OwnCloud 6.x needs Php v5.3.8 or newer where Fedora 19 met the requirement

Similar documents
owncloud 8 and DigitalOcean Matthew Davidson Bluegrass Linux User Group 03/09/2015

Installing Drupal 8 on Windows 7 with XAMPP. I am trying to install Drupal 8 on my Windows machine as a development system.

Kollaborate Server Installation Guide!! 1. Kollaborate Server! Installation Guide!

INUVIKA OVD INSTALLING INUVIKA OVD ON RHEL 6

HOW TO BUILD A VMWARE APPLIANCE: A CASE STUDY

How to Install SMTPSwith Mailer on Centos Server/VPS

vtiger CRM 4.2 Installation Guide for Linux OS

owncloud Administrators Manual

Installing an open source version of MateCat

MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server

SIMIAN systems. Setting up a Sitellite development environment on Mac OS X. Sitellite Content Management System

Install Cacti Network Monitoring Tool on CentOS 6.4 / RHEL 6.4 / Scientific Linux 6.4

How To Include Attachments with your form

EZcast Installation guide

Red Hat JBoss Core Services Apache HTTP Server 2.4 Apache HTTP Server Installation Guide

Software Collections

Cloud Homework instructions for AWS default instance (Red Hat based)

Backup and Restore MySQL Databases

MySQL quick start guide

SecuritySpy Setting Up SecuritySpy Over SSL

Moving Drupal to the Cloud: A step-by-step guide and reference document for hosting a Drupal web site on Amazon Web Services

Sugar Open Source Installation Guide

PassBy[ME] - Bugzilla integration on

CN=Monitor Installation and Configuration v2.0

Installing Booked scheduler on CentOS 6.5

Web Site Content Management Server. Installation Guide Version 4.1 Build 0

Tonido Cloud Admin Guide

XCloner Official User Manual

MOODLE Installation on Windows Platform

Implementing HTTPS in CONTENTdm 6 September 5, 2012

System and Network Monitoring With Zabbix

How to Install Multicraft on a VPS or Dedicated Server (Ubuntu bit)

AJ Matrix V5. Installation Manual

Contents. 1. Infrastructure

Marketing Software

Rancid Server Build and Operation Overview (v0.3) (This is being done from memory so expect some errors)

Sugar Open Source Installation Guide. Version 4.5.1

MapGuide Open Source. Installing and Configuring on Windows

Livezilla How to Install on Shared Hosting By: Jon Manning

CC ICT-SUD. Setting up and integrate Apache, MySQL and PHP on a Linux system

Partek Flow Installation Guide

1. Building Testing Environment

Written by: Johan Strand, Reviewed by: Chafic Nassif, Date: Getting an ipath server running on Linux

Magento Optimised Template CentOS 6 with cpanel/whm V1.0

MySQL Quick Start Guide

How To Install Amyshelf On Windows 2000 Or Later

MySQL Quick Start Guide

SVNManager Installation. Documentation. Department of Public Health Erasmus MC University Medical Center

Installing Dspace 1.8 on Ubuntu 12.04

OpenCATS Documentation

OpenPro ERP Software Installation Guide REDHAT LINUX

PHP+MYSQL, EASYPHP INSTALLATION GUIDE

EZcast technical documentation

Server Installation/Upgrade Guide

Expresso Quick Install

OPENPROJECT INSTALL ON CENTOS 7 RUNNING IN VMWARE PLAYER

OxyClassifieds Installation Handbook

INSTALLATION GUIDE VERSION

Applications Manager Best Practices document

Installation Instructions

Fermilab Central Web Service Site Owner User Manual. DocDB: CS-doc-5372

LAMP Quickstart for Red Hat Enterprise Linux 4

Extending Remote Desktop for Large Installations. Distributed Package Installs

Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide

Provider's Guide to Integrating Parallels Presence Builder 12 with Parallels Automation

itixi Ubuntu Server Deployment How-To/Information

Installing buzztouch Self Hosted

Getting FileMaker Server 11 and IIS 7.x to Work with SSL. By Todd Duell

Graphviz Website Installation, Administration and Maintenance

Parallels Plesk Automation

Lets Get Started In this tutorial, I will be migrating a Drupal CMS using FTP. The steps should be relatively similar for any other website.

Hardening web application (DOS and Application firewalls. Margus Ernits

Using Internet or Windows Explorer to Upload Your Site

Document History Revision Date: October 30, 2006

Connection Broker Managing User Connections to Workstations and Blades, OpenStack Clouds, VDI, and more. Security Review

Enterprise SSL Support

Bitrix Site Manager 9.x. Installation Guide

TIMETABLE ADMINISTRATOR S MANUAL

owncloud Administrators Manual

Installation, Configuration and Administration Guide

System Administration Training Guide. S100 Installation and Site Management

SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System

OpenCart. SugarCRM CE (Community Edition Only) Integration. Guide

Installing CPV Lab Version 2.17

User Guide Zend Server Community 4.0.3

equate Installation QUICK START GUIDE

ProjectPier v Getting Started Guide

Rails Application Deployment. July Philly on Rails

Enterprise Manager. Version 6.2. Installation Guide

About This Document 3. Integration Overview 4. Prerequisites and Requirements 6

Acronis Backup Cloud APS 2.0 Deployment Guide

Lucid Key Server v2 Installation Documentation.

Sugar Community Edition Application Guide. Version 6.0.0

OpenEyes - Windows Server Setup. OpenEyes - Windows Server Setup

INUVIKA OVD INSTALLING INUVIKA OVD ON UBUNTU (TRUSTY TAHR)

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.2 Web Applications Deployed on BEA WebLogic Server 9.2

CycleServer Grid Engine Support Install Guide. version 1.25

Installation Manual Product of

Web Server using Apache. Heng Sovannarith

ULTEO OPEN VIRTUAL DESKTOP UBUNTU (PRECISE PANGOLIN) SUPPORT

Transcription:

Fedora Core 19 Install OwnCloud 6.x in Fedora 19 minimal OS installation **INFO** OwnCloud 6.x needs Php v5.3.8 or newer where Fedora 19 met the requirement Install Packages # yum install unzip samba-client php-xml php-gd php-phpparser php-intl php-mysql samba-client curl libcurl php-pear-net-curl php-pdo php-mcrypt php-pecl-imagick # yum install owncloud owncloud-mysql Alternative method Install older version OwnCloud from Fedora repository, remove and install the latest OwnCloud from OwnCloud yum repository. This way all dependencies are account for. # yum install owncloud owncloud-httpd owncloud-mysql # yum remove owncloud # # cd /etc/yum.repos.d/ # wget http://download.opensuse.org/repositories/isv:owncloud:community/fedora_19/isv:owncloud:community.repo # # yum install owncloud mod_ssl samba-client # yum update openssl **INFO** conf.d/ OwnCloud installed in directories /var/www/html/owncloud/ and /etc/httpd/ Update Ownership # chown -R apache:apache /var/www/html/owncloud Update PHP Settings Edit file.htaccess by change values in red and add the addtional blue lines to support big file size 20 gigabytes. Fedora Core 19 1

**INFO** php_value memory_limit minimum value must be 512M to support big file. Depends on available RAM, change appropriately. e.g. OS has 2GB RAM, value set to 1024 megabytes. File /var/www/html/owncloud/.htaccess ErrorDocument 404 /core/templates/404.php <IfModule mod_php5.c> php_value mbstring.func_overload 0 php_value upload_max_filesize 20G php_value post_max_size 20G php_value memory_limit 1024M php_value max_input_time -1 php_value max_execution_time 60000 php_value default_socket_timeout 60000 php_value mysql.connect_timeout -1 <IfModule env_module> Edit file php.ini by commented out red lines and add the blue lines File /etc/php.ini ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ; http://php.net/upload-tmp-dir ;upload_tmp_dir = upload_tmp_dir = /var/tmp ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 2M ; Maximum number of files that can be uploaded via a single request ;max_file_uploads = 20 max_file_uploads = 500 Fedora Core 19 2

Enable Services Enable Apache and Mariadb(MySQL) # systemctl enable httpd.service # systemctl start httpd.service # systemctl enable mysqld.service # systemctl start mysqld.service Database Setup It is good to have some knowledges of MariaDB or MySQL dba. Set root user initial password # mysqladmin -u root password 'new-password' Create database, user account and set password for OwnCloud app # mysql -u root -p <enter password> mysql> CREATE database owncloud; mysql> GRANT ALL ON owncloud.* TO owncloud@localhost IDENTIFIED BY "new-password"; mysql> flush privileges; mysql> quit Verify if can connect by issue command: mysql -u owncloud -p OwnCloud Web Install Point browser to URL http://<owncloud-server>/owncloud/ Create admin account and fill in the appropriate database info gathered from previous steps above Internet Proxy It seemed OwnCloud v6.x has issue detecting Internet present if going throught a proxy. Once logged in as admin, clicked the admin tab, saw slow resolution and a message no Internet present. Next, tune the config.php file. Update file /var/www/html/owncloud/config/config.php by add blue lines <?php $CONFIG = array ( 'instanceid' => 'ocfd0df65227', OwnCloud Web Install 3

'passwordsalt' => 'd7e446c33def476222a1avd1c22149', 'trusted_domains' => array ( 0 => 'owncloud.domain.com', ), 'datadirectory' => '/var/www/html/owncloud/data', 'dbtype' => 'mysql', 'version' => '6.0.2.2', 'dbname' => 'ownclouddb', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'owncloud', 'dbpassword' => '<redacted>', 'overwriteprotocol' => 'https', 'has_internet_connection' => false, 'proxy' => 'proxy.domain.com:80', 'maintenance' => false, 'installed' => true, ); Cron Installation Add cron job under Apache user to perform update every 15 minutes # crontab -u apache -e Insert the following content # OwnCloud Update every 15 minutes */15 * * * * php -f /var/www/owncloud/cron.php Web URL Redirect http://owncloud.domain.com/ ==> https://owncloud.domain.com/owncloud/ In file /etc/httpd/conf.d/owncloud.conf, add the following blue lines ## Rewrite OwnCloud http to https <VirtualHost _Default_:80> RewriteEngine on RewriteRule ^/(.*)$ https://%{server_name}/owncloud/ [R,L] </VirtualHost> <Directory /var/www/html/owncloud> AllowOverride All </Directory> Cron Installation 4

Restart httpd # systemctl restart httpd.service Test **INFO** The above will not work with Reverse Proxy, theremore may want to disable if using Reverse Proxy. See Also See Also 5