Installazione di Owncloud in Debian: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
m Created page with "{{Stub}} ==Installazione== * Installare librerie di supporto sudo apt-get install apache2 php5 php5-sqlite php5-json php5-gd \ mp3info curl libcurl3 libcurl3-dev php5-curl…"
 
mNo edit summary
Line 1: Line 1:
{{Stub}}
=Debian Jessie=
==Installazione==
 
* Installare i pre-requisiti
sudo apt-get install ca-certificates postfix
 
* Impostare i repository
wget -nv https://download.owncloud.org/download/repositories/stable/Debian_8.0/Release.key -O - | sudo apt-key add -
echo 'deb http://download.owncloud.org/download/repositories/stable/Debian_8.0/ /' | sudo tee  /etc/apt/sources.list.d/owncloud.list
sudo apt-get update
 
==Installazione monolitica==
* Installare
sudo apt-get install owncloud
 
* Verrà richiesta la configurazione del DB, poi loggarsi
 
==Installazione con DB esterno==
* Se non si vuole installare mysql, perchè si vuole usare un Database esterno:
sudo apt-get install owncloud mysql-server-
 
* Loggarsi poi su http://myserver.example.priv/owncloud e scegliere:
Storage & Database
 
==Configurazione==
* Loggarsi, ed impostare:
:*indirizzo email di admin
:* parametri nella sezione Admin
 
* Impostare il metodo cron per i backround job, e creare il cronjob di sistema:
sudoedit /etc/cron.d/owncloud
 
*/15  *  *  *  * www-data      /usr/bin/php -f /var/www/owncloud/cron.php 2>&1 | grep -v '^PHP Notice'
 
* Provare ad eseguirlo, non eve generare errori:
sudo -u www-data      /usr/bin/php -f /var/www/owncloud/cron.php
 
* Se la macchina su cui gira 'istanza owncloud deve usare un prosy per raggiungere internet, impostarlo:
sudoedit /var/www/owncloud/config/config.php
 
'proxy' => 'proxy.example.priv:3128',
 
==Riferimenti==
*[https://download.owncloud.org/download/repositories/stable/owncloud/ Install package owncloud]
*[https://forum.owncloud.org/viewtopic.php?t=29367 Install owncloud without Mysql - ownCloud Forums]
*[https://doc.owncloud.org/server/8.2/admin_manual/configuration_server/background_jobs_configuration.html Defining Background Jobs — ownCloud 8.2 Server Administration Manual 8.2 documentation]
 
 
=Installazione Manuale (DEPRECATO)=
* Installare librerie di supporto
* Installare librerie di supporto
  sudo apt-get install apache2 php5 php5-sqlite php5-json php5-gd \
  sudo apt-get install apache2 php5 php5-sqlite php5-json php5-gd \

Revision as of 16:06, 1 March 2016

Debian Jessie

  • Installare i pre-requisiti
sudo apt-get install ca-certificates postfix
  • Impostare i repository
wget -nv https://download.owncloud.org/download/repositories/stable/Debian_8.0/Release.key -O - | sudo apt-key add -
echo 'deb http://download.owncloud.org/download/repositories/stable/Debian_8.0/ /' | sudo tee  /etc/apt/sources.list.d/owncloud.list
sudo apt-get update

Installazione monolitica

  • Installare
sudo apt-get install owncloud 
  • Verrà richiesta la configurazione del DB, poi loggarsi

Installazione con DB esterno

  • Se non si vuole installare mysql, perchè si vuole usare un Database esterno:
sudo apt-get install owncloud mysql-server-
Storage & Database

Configurazione

  • Loggarsi, ed impostare:
  • indirizzo email di admin
  • parametri nella sezione Admin
  • Impostare il metodo cron per i backround job, e creare il cronjob di sistema:
sudoedit /etc/cron.d/owncloud 
  • /15 * * * * www-data /usr/bin/php -f /var/www/owncloud/cron.php 2>&1 | grep -v '^PHP Notice'
  • Provare ad eseguirlo, non eve generare errori:
sudo -u www-data       /usr/bin/php -f /var/www/owncloud/cron.php
  • Se la macchina su cui gira 'istanza owncloud deve usare un prosy per raggiungere internet, impostarlo:
sudoedit /var/www/owncloud/config/config.php
'proxy' => 'proxy.example.priv:3128',

Riferimenti


Installazione Manuale (DEPRECATO)

  • Installare librerie di supporto
sudo apt-get install apache2 php5 php5-sqlite php5-json php5-gd \
     mp3info curl libcurl3 libcurl3-dev php5-curl zip
  • Riavviare apache2 per caricare librerie installate
sudo invoke-rc.d apache2 restart
  • Scaricare Owncloud:
cd /tmp
wget http://owncloud.org/go/owncloud-download -O owncloud-owncloud-master.tar.gz
  • Scompattare:
cd /var/www/owncloud
tar xfz /tmp/owncloud-owncloud-master.tar.gz
  • Sistemare permissions
cd /var/www; sudo chown -R www-data:www-data owncloud
  • Loggarsi, e creare l'utente master.
  • Se da solo mysql come db, riavviare apache per caricare le librerie php di sqlite

Plugin per address book thunderbird

  • Add New Remote address book

Calendario in Thunderbird

Usare url:

Sync Android

Riferimenti