Owncloud : installation sur Debian 6 : Différence entre versions
De wikiGite
Ligne 1 : | Ligne 1 : | ||
− | |||
dépendances : | dépendances : | ||
apt-get install apache2 php5 php5-mysql php5-json mp3info curl libcurl3 libcurl3-dev php5-curl zip git mysql-server | 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 | ||
+ | <source lang="sql"> | ||
+ | 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'; | ||
+ | </source> | ||
+ | |||
+ | Installation de owncloud : | ||
+ | |||
+ | cd /var/ | ||
+ | git clone git://gitorious.org/owncloud/owncloud.git | ||
+ | chown -R www-data:www-data owncloud | ||
+ | |||
+ | Apache : |
Version du 8 avril 2012 à 11:06
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 :