[ Index ]

PHP Cross Reference of GASELL SVN Trunk

title

Body

[close]

/doc/ -> chroot_debian_gasell.rest (source)

   1  ======================================================
   2  Installation de Gasell dans un chroot Debian
   3  ======================================================
   4  
   5  :Organization: Linux-Nantes Association
   6  :Author: Raude-Morvan Damien (DrazziB)
   7  :Version: $Id: chroot_debian_gasell.rest 762 2005-12-28 19:50:40Z drazzib $
   8  :Status: Alpha
   9  :Date: 28/12/2005
  10  
  11  .. Reste plus qu'à mettre des explications :)
  12  
  13  ------------------------
  14  1. Création d'un chroot
  15  ------------------------
  16  
  17  ::
  18  
  19      # debootstrap sarge /mnt/data/debian-sarge http://ftp.fr.debian.org/debian/
  20      # chroot /mnt/data/debian-sarge
  21      # mount /proc
  22      # apt-setup
  23      # apt-get install locales vim less cvs
  24      
  25      (configuration par défaut)
  26  
  27  
  28  ------------------------
  29  2. Install de Postgresql
  30  ------------------------
  31  
  32  ::
  33  
  34      # apt-get install postgresql
  35      
  36      (configuration par défaut)
  37      
  38      # su postgres
  39          $ createuser -P gasell (création de base=n, création d'utilisateur=n)
  40          $ createdb -O gasell gasell
  41          $ psql -U gasell gasell
  42          (Erreur)
  43          $ exit
  44      # vi /etc/postgresql/pg_hba.conf
  45  
  46  # All other connections by UNIX sockets
  47  local   all         all                                             trust
  48  +
  49  # All IPv4 connections from localhost
  50  host    all         all         127.0.0.1         255.255.255.255   trust
  51  
  52      # su postgres
  53          $ psql -U gasell gasell
  54          (connection ok)
  55          $ exit
  56  
  57  ------------------------
  58  3. Install d'Apache/PHP
  59  ------------------------
  60  
  61  ::
  62  
  63      # apt-get install apache
  64      (configuration par défaut)
  65      # apt-get install php-date php4-pear libapache-mod-php4 php4-pgsql php4-domxml
  66      (configuration par défaut)
  67  
  68  
  69  ------------------------
  70  6. Install de GASELL
  71  ------------------------
  72  
  73  ::
  74  
  75      # cd /var/www/
  76      # svn co http://svn.gna.org/svn/gasell/trunk gasell
  77  
  78  ---- http://127.0.0.1/gasell/setup/install.php
  79  
  80  
  81  ----------------
  82  7. Divers (optionnel)
  83  ----------------
  84  
  85  Install de phppgadmin
  86  ^^^^^^^^^^^^^^^^^^^^^^^^^
  87      # apt-get install phppgadmin
  88  
  89  ---- http://127.0.0.1/phppgadmin


Generated: Tue Jan 6 01:17:25 2009 Cross-referenced by PHPXref 0.7