Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- reinstall d'une debian proxmox
- ajouts dans /etc/apt/sources.list
- ## squeeze-backports
- deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
- + non-free partout
- /!\ il faudra vérifier les confs de postfix si l'install de filez marche
- installation LAMP
- http://wiki.debian.org/LaMp
- // le test du php se fait dans /var/www/
- //pour phpmyadmin, il faut rajouter Include /etc/phpmyadmin/apache.conf dans /etc/apache2/apache2.conf
- installation filez à partir de https://github.com/UAPV/FileZ
- bien suivre les requirements :
- Apache configured with “modrewrite” and the “AllowOverride” of your virtual host set to “FileInfo Options” or “All” (important !_)
- a2enmod rewrite && apache2ctl restart
- PHP cannot be in safe_mode. vérifier que le safe_mode est désactiver sur la page test.php
- pour la barre de progression:
- APC
- aptitude install php-apc
- echo "apc.rfc1867 = On" >> /etc/php5/apache2/conf.d/apc.ini
- apache2ctl restart
- PECL::UploadProgress
- aptitude install php5-dev
- // là il faut installer pecl... http://blog.jerrevds.be/article/install-apc-or-pecl-debian
- aptitude install make
- aptitude install php-pear
- ajouter dans /etc/php5/apache2/php.ini :
- extension=uploadprogress.so
- extension=apc.so
- apc.rfc1867 = 1
- //on reprend les directives des requirements
- pecl install uploadprogress
- echo "extension = uploadprogress.so" >> /etc/php5/apache2/conf.d/uploadprogress.ini
- apache2ctl restart
- to be able to authenticate against a CAS server:
- aptitude install php5-curl
- vérifier que DOM est bien dans le info.php
- to be able to identicate with a LDAP server :
- aptitude install php5-ldap
- on passe à l'install :
- installer git
- aptitude install git
- se placer dans /root et importer les fichier de filez
- cd /root
- git clone git://github.com/FileZ/FileZ.git filez_web_root
- créer un dossier /var/www/filez
- déplacer les fichiers et fichiers cachés dans /var/www/filez
- cp -R /root/filez_web_root/* /var/www/filez
- cp -R /root/filez_web_root/.* /var/www/filez
- créer les dossiers d'upload et de log :
- mkdir /var/filez
- mkdir /var/filez/uploads
- chown www-data /var/filez/uploads
- mkdir /var/log/filez
- chown www-data /var/log/filez
- /!\ surtout ne pas changer les droits dans /var/www/filez
- on continue la conf par l'interface web http://10.0.0.11/filez
- on valide par défaut
- remplir les champs
- après validation, le fichier filez.ini se génère mais ne s'écrit pas dans /var/www/filez/config/ son contenu est écrit, recopier et coller dans un fichier filez.ini dans /var/www/filez/config/ , en root
- puis valider et se loguer avec les l/p par défaut: admin/filez
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement