Owncloud : installation sur Debian 6
De wikiGite
Révision datée du 8 avril 2012 à 11:06 par Pierrick (discussion | contributions)
dépendances :
apt-get install apache2 php5 php5-mysql php5-json mp3info curl libcurl3 libcurl3-dev php5-curl zip git mysql-server
Installation de la base mysql:
mysql -u root -p
CREATE USER 'owncloud'@'localhost' IDENTIFIED BY '***';
GRANT USAGE ON * . * TO 'owncloud'@'localhost' IDENTIFIED BY '***' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
CREATE DATABASE IF NOT EXISTS `owncloud` ;
GRANT ALL PRIVILEGES ON `owncloud` . * TO 'owncloud'@'localhost';
Installation de owncloud :
cd /var/ git clone git://gitorious.org/owncloud/owncloud.git chown -R www-data:www-data owncloud
Apache :