Installazione di Owncloud in Debian: Difference between revisions
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…" |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
=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 feve generare errori: | |||
sudo -u www-data /usr/bin/php -f /var/www/owncloud/cron.php | |||
* Se la macchina su cui gira l'istanza owncloud deve usare un proxy 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 \ | ||
Latest revision as of 15:23, 24 April 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-
- 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 feve generare errori:
sudo -u www-data /usr/bin/php -f /var/www/owncloud/cron.php
- Se la macchina su cui gira l'istanza owncloud deve usare un proxy per raggiungere internet, impostarlo:
sudoedit /var/www/owncloud/config/config.php
'proxy' => 'proxy.example.priv:3128',
Riferimenti
- Install package owncloud
- Install owncloud without Mysql - ownCloud Forums
- Defining Background Jobs — ownCloud 8.2 Server Administration Manual 8.2 documentation
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:
- OwnCloud Forums • View topic - [calendar Sync with Lightning?]
- OwnCloud Forums • View topic - Can't remote connect to owncloud
- OwnCloud Forums • View topic - [calendar Sync with Lightning?]