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 [2008/09/05 08:58] thierrywww_divers [2012/04/26 15:45] (Version actuelle) thierry
Ligne 90: Ligne 90:
 Forcer l'usage d'une IP (si on a plusieurs interface...) Forcer l'usage d'une IP (si on a plusieurs interface...)
   set net:socket-bind-ipv4 <IP_A_NOUS_QU'ON_VEUT_UTILISER>   set net:socket-bind-ipv4 <IP_A_NOUS_QU'ON_VEUT_UTILISER>
 +
 +====== OpenPhoto ======
 +
 +Liens:
 +  *http://theopenphotoproject.org/documentation/guide/InstallationUbuntuApache
 +  *http://korben.info/openphoto.html
 +
 +===== Créer la base MySQL =====
 +
 +  mysql> CREATE DATABASE openphoto;
 +  Query OK, 1 row affected (0.04 sec)
 +  
 +  mysql> GRANT ALL ON openphoto.* TO openphoto@localhost IDENTIFIED BY "PASSWORD";
 +  Query OK, 0 rows affected (0.08 sec)
 +  
 +  mysql>
 +
 +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.1220605103.txt.gz · Dernière modification : 2008/09/05 08:58 de thierry