Outils pour utilisateurs

Outils du site


www_divers

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
www_divers [2012/04/25 21:02] thierrywww_divers [2012/04/26 15:45] (Version actuelle) thierry
Ligne 108: Ligne 108:
  
 La "database" openphoto est créé, et l'utilisateur "openphoto" peut s'en servir. La "database" openphoto est créé, et l'utilisateur "openphoto" peut s'en servir.
 +
 +====== ZeroBin ======
 +
 +Liens:
 +  *http://sebsauvage.net/wiki/doku.php?id=php:zerobin
 +
 +Installer:
 +
 +  $ su
 +  # cd /var/www
 +  # mkdir zerobin
 +  # cd zerobin
 +  # wget http://sebsauvage.net/files/zerobin_0.15_alpha.zip
 +  # unzip zerobin_0.15_alpha.zip
 +A donc a alors ça:
 +  total 120
 +  -rw-r--r-- 1 root root 14003 20 avril 22:06 index.php
 +  drwxr-xr-x 2 root root  4096 20 avril 22:14 lib
 +  -rw-r--r-- 1 root root  1440 20 avril 21:53 README.txt
 +  drwxr-xr-x 2 root root  4096 20 avril 21:43 tpl
 +  -rw-r--r-- 1 root root 89707 20 avril 22:08 zerobin_0.15_alpha.zip
 +Ménage et préparation:
 +  # rm zerobin_0.15_alpha.zip
 +
 +  # mkdir tmp
 +  # chown www-data: tmp
 +  # mkdir data
 +  # chown www-data: data
 +
 +Virtual Host sur apache (Exemple):
 +  <VirtualHost *:80>
 +    DocumentRoot /var/www/zerobin
 +    ServerName zerobin.eez.fr
 +  
 +    <Directory "/var/www/zerobin">
 +      AllowOverride None
 +      Order deny,allow
 +      Allow from all
 +    </Directory>
 +  
 +    ErrorLog /var/log/apache2/error.log
 +  
 +    # Possible values include: debug, info, notice, warn, error, crit,
 +    # alert, emerg.
 +    LogLevel warn
 +  
 +    CustomLog /var/log/apache2/access.log combined
 +    ServerSignature Off
 +  
 +  </VirtualHost>
 +
 +Voila: http://zerobin.eez.fr
 +
  
www_divers.txt · Dernière modification : 2012/04/26 15:45 de thierry