Outils pour utilisateurs

Outils du site


doc:dak:installation_de_dak_sur_ondine

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édentes Révision précédente
Prochaine révision
Révision précédente
doc:dak:installation_de_dak_sur_ondine [2005/08/03 15:29]
lehobey
doc:dak:installation_de_dak_sur_ondine [2005/08/03 18:06] (Version actuelle)
lehobey
Ligne 43: Ligne 43:
 **NB** : Il ne demande rien sur le groupe //​debuser//​. **NB** : Il ne demande rien sur le groupe //​debuser//​.
  
-=== Résultat ​=== +[[sortie aptitude dak|Résultat]].
-<​code>​ +
-Paramétrage de dak (1.0-8) ... +
-Domain: localhost.localdomain +
-Creating/​updating dak user account and group... +
-Adding group `debadmin'​ (105)... +
-Fait. +
-Ajout de l'​utilisateur système deb-dak... +
-Adding new user `deb-dak'​ (104) with group `debadmin'​. +
-Création du répertoire personnel /​var/​lib/​dak. +
-Creating config file /​opt/​dak/​katie/​apt.conf with new version +
-Creating config file /​opt/​dak/​katie/​cron.unchecked with new version +
-Creating config file /​opt/​dak/​katie/​katie.conf with new version +
-Creating config file /​etc/​katie/​katie.conf with new version +
-Creating config file /​opt/​dak/​katie/​vars with new version +
-Creating config file /​opt/​dak/​katie/​Contents.top with new version +
-Creating config file /​opt/​dak/​katie/​templates/​alicia.bug-close with new version +
-Creating config file /​opt/​dak/​katie/​templates/​amber.advisory with new version +
-Creating config file /​opt/​dak/​katie/​templates/​jennifer.accepted with new version +
-Creating config file /​opt/​dak/​katie/​templates/​jennifer.announce with new version +
-Creating config file /​opt/​dak/​katie/​templates/​jennifer.bug-close with new version +
-Creating config file /​opt/​dak/​katie/​templates/​jennifer.bug-experimental-fixed with new version +
-Creating config file /​opt/​dak/​katie/​templates/​jennifer.bug-nmu-fixed with new version +
-Creating config file /​opt/​dak/​katie/​templates/​jennifer.new with new version +
-Creating config file /​opt/​dak/​katie/​templates/​jennifer.override-disparity with new version +
-Creating config file /​opt/​dak/​katie/​templates/​katie.rejected with new version +
-Creating config file /​opt/​dak/​katie/​templates/​kelly.installed with new version +
-Creating config file /​opt/​dak/​katie/​templates/​kelly.unaccept with new version +
-Creating config file /​opt/​dak/​katie/​templates/​lauren.stable-rejected with new version +
-Creating config file /​opt/​dak/​katie/​templates/​lisa.bxa_notification with new version +
-Creating config file /​opt/​dak/​katie/​templates/​lisa.prod with new version +
-Creating config file /​opt/​dak/​katie/​templates/​melanie.bug-close with new version +
-Creating config file /​opt/​dak/​katie/​templates/​uma.added with new version +
-</​code>​+
  
 ==== Installation de postgresql ==== ==== Installation de postgresql ====
Ligne 110: Ligne 77:
   Européen   Européen
  
-=== Résultat ​=== +[[sortie aptitude postgresql|Résultat]].
-<​code>​ +
-Paramétrage de postgresql (7.4.7-6sarge1) ... +
- +
-Creating config file /​etc/​postgresql/​postmaster.conf with new version +
-The files belonging to this database system will be owned by user "​postgres"​. +
-This user must also own the server process. +
- +
-The database cluster will be initialized with locale fr_FR@euro. +
- +
-fixing permissions on existing directory /​var/​lib/​postgres/​data... ok +
-creating directory /​var/​lib/​postgres/​data/​base... ok +
-creating directory /​var/​lib/​postgres/​data/​global... ok +
-creating directory /​var/​lib/​postgres/​data/​pg_xlog... ok +
-creating directory /​var/​lib/​postgres/​data/​pg_clog... ok +
-selecting default max_connections... 100 +
-selecting default shared_buffers... 1000 +
-creating configuration files... ok +
-creating template1 database in /​var/​lib/​postgres/​data/​base/​1... ok +
-initializing pg_shadow... ok +
-enabling unlimited row size for system tables... ok +
-initializing pg_depend... ok +
-creating system views... ok +
-loading pg_description... ok +
-creating conversions... ok +
-setting privileges on built-in objects... ok +
-creating information schema... ok +
-vacuuming database template1... ok +
-copying template1 to template0... ok +
- +
-Success. The database server should be started automatically. +
-If not, you can start the database server using: +
- +
-    /​etc/​init.d/​postgresql start +
- +
-Creating config file /​etc/​postgresql/​postgresql.conf with new version +
- +
-</​code>​+
  
 Et le paquet nous informe : Et le paquet nous informe :
Ligne 188: Ligne 118:
   $ rose   $ rose
  
-<​code>​ +[[sortie rose|Résultat]].
-Creating /​opt/​dak/​ftp/ ​... +
-Creating /​opt/​dak/​ftp/​pool/​ ... +
-Creating /​opt/​dak/​database/​dists/​ ... +
-Creating /​opt/​dak/​log/​ ... +
-Creating /​opt/​dak/​morgue/​ ... +
-Creating /​opt/​dak/​scripts/​override/​ ... +
-Creating /​opt/​dak/​testing/​urgencies/​ ... +
-Creating /​opt/​dak/​queue/​accepted/​ ... +
-Creating /​opt/​dak/​queue/​byhand/​ ... +
-Creating /​opt/​dak/​queue/​done/​ ... +
-Creating /​opt/​dak/​queue/​holding/​ ... +
-Creating /​opt/​dak/​queue/​new/​ ... +
-Creating /​opt/​dak/​queue/​reject/​ ... +
-Creating /​opt/​dak/​queue/​unchecked/​ ... +
-Creating /​opt/​dak/​queue/​bts_version_track/​ ... +
-Creating /​opt/​dak/​web ... +
-Creating /​opt/​dak/​katie/​neve-files ... +
-Creating /​opt/​dak/​morgue/​shania ... +
-Creating /​opt/​dak/​morgue/​rhona ... +
-Creating /​opt/​dak/​katie-database/​ ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-alpha ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-amd64 ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-arm ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-hppa ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-hurd-i386 ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-i386 ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-ia64 ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-mips ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-mipsel ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-m68k ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-powerpc ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-s390 ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-sh ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​binary-sparc ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​main/​source ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-alpha ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-amd64 ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-arm ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-hppa ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-hurd-i386 ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-i386 ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-ia64 ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-mips ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-mipsel ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-m68k ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-powerpc ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-s390 ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-sh ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​binary-sparc ... +
-Creating /​opt/​dak/​ftp/​dists/​unstable/​contrib/​source ... +
-Creating /​opt/​dak/​ftp/​project/​experimental ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-alpha ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-amd64 ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-arm ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-hppa ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-hurd-i386 ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-i386 ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-ia64 ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-mips ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-mipsel ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-m68k ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-powerpc ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-s390 ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-sh ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​binary-sparc ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​main/​source ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-alpha ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-amd64 ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-arm ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-hppa ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-hurd-i386 ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-i386 ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-ia64 ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-mips ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-mipsel ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-m68k ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-powerpc ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-s390 ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-sh ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​binary-sparc ... +
-Creating /​opt/​dak/​ftp/​project/​experimental/​contrib/​source ... +
-</​code>​+
  
 ==== Création de la base de données de dak ==== ==== Création de la base de données de dak ====
Ligne 333: Ligne 180:
  
   # su - deb-dak   # su - deb-dak
-  $ cd /​usr/​share/​dak+  $ cd /​usr/​share/​dak ​; neve -a
 **NB :** Le //cd// est important ! **NB :** Le //cd// est important !
-  $ /​usr/​share/​dak/​neve -a 
  
-<​code>​ +[[sortie neve -a|Résultat]].
-Re-Creating DB... +
-DROP DATABASE +
-CREATE DATABASE +
-You are now connected to database "​projectb"​. +
-psql:​init_pool.sql:​11:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «archive_id_seq» pour la colonne "​serial"​ "​archive.id"​ +
-psql:​init_pool.sql:​11:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «archive_pkey» pour la table «archive» +
-psql:​init_pool.sql:​11:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «archive_name_key» pour la table «archive» +
-CREATE TABLE +
-psql:​init_pool.sql:​18:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «component_id_seq» pour la colonne "​serial"​ "​component.id"​ +
-psql:​init_pool.sql:​18:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «component_pkey» pour la table «component» +
-psql:​init_pool.sql:​18:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «component_name_key» pour la table «component» +
-CREATE TABLE +
-psql:​init_pool.sql:​24:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «architecture_id_seq» pour la colonne "​serial"​ "​architecture.id"​ +
-psql:​init_pool.sql:​24:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «architecture_pkey» pour la table «architecture» +
-psql:​init_pool.sql:​24:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «architecture_arch_string_key» pour la table «architecture» +
-CREATE TABLE +
-psql:​init_pool.sql:​29:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «maintainer_id_seq» pour la colonne "​serial"​ "​maintainer.id"​ +
-psql:​init_pool.sql:​29:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «maintainer_pkey» pour la table «maintainer» +
-psql:​init_pool.sql:​29:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «maintainer_name_key» pour la table «maintainer» +
-CREATE TABLE +
-psql:​init_pool.sql:​34:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «uid_id_seq» pour la colonne "​serial"​ "​uid.id"​ +
-psql:​init_pool.sql:​34:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «uid_pkey» pour la table «uid» +
-psql:​init_pool.sql:​34:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «uid_uid_key» pour la table «uid» +
-CREATE TABLE +
-psql:​init_pool.sql:​40:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «fingerprint_id_seq» pour la colonne "​serial"​ "​fingerprint.id"​ +
-psql:​init_pool.sql:​40:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «fingerprint_pkey» pour la table «fingerprint» +
-psql:​init_pool.sql:​40:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «fingerprint_fingerprint_key» pour la table «fingerprint» +
-CREATE TABLE +
-psql:​init_pool.sql:​48:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «location_id_seq» pour la colonne "​serial"​ "​location.id"​ +
-psql:​init_pool.sql:​48:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «location_pkey» pour la table «location» +
-CREATE TABLE +
-psql:​init_pool.sql:​60:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «files_id_seq» pour la colonne "​serial"​ "​files.id"​ +
-psql:​init_pool.sql:​60:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «files_pkey» pour la table «files» +
-psql:​init_pool.sql:​60:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «files_filename_key» pour la table «files» +
-CREATE TABLE +
-psql:​init_pool.sql:​71:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «source_id_seq» pour la colonne "​serial"​ "​source.id"​ +
-psql:​init_pool.sql:​71:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «source_pkey» pour la table «source» +
-psql:​init_pool.sql:​71:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «source_file_key» pour la table «source» +
-psql:​init_pool.sql:​71:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «source_source_key» pour la table «source» +
-CREATE TABLE +
-psql:​init_pool.sql:​78:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «dsc_files_id_seq» pour la colonne "​serial"​ "​dsc_files.id"​ +
-psql:​init_pool.sql:​78:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «dsc_files_pkey» pour la table «dsc_files» +
-psql:​init_pool.sql:​78:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «dsc_files_source_key» pour la table «dsc_files» +
-CREATE TABLE +
-psql:​init_pool.sql:​92:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «binaries_id_seq» pour la colonne "​serial"​ "​binaries.id"​ +
-psql:​init_pool.sql:​92:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «binaries_pkey» pour la table «binaries» +
-psql:​init_pool.sql:​92:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «binaries_file_key» pour la table «binaries» +
-psql:​init_pool.sql:​92:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «binaries_package_key» pour la table «binaries» +
-CREATE TABLE +
-psql:​init_pool.sql:​102:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «suite_id_seq» pour la colonne "​serial"​ "​suite.id"​ +
-psql:​init_pool.sql:​102:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «suite_pkey» pour la table «suite» +
-CREATE TABLE +
-psql:​init_pool.sql:​108:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «suite_architectures_suite_key» pour la table «suite_architectures» +
-CREATE TABLE +
-psql:​init_pool.sql:​115:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «bin_associations_id_seq» pour la colonne "​serial"​ "​bin_associations.id"​ +
-psql:​init_pool.sql:​115:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «bin_associations_pkey» pour la table «bin_associations» +
-psql:​init_pool.sql:​115:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «bin_associations_suite_key» pour la table «bin_associations» +
-CREATE TABLE +
-psql:​init_pool.sql:​122:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «src_associations_id_seq» pour la colonne "​serial"​ "​src_associations.id"​ +
-psql:​init_pool.sql:​122:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «src_associations_pkey» pour la table «src_associations» +
-psql:​init_pool.sql:​122:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «src_associations_suite_key» pour la table «src_associations» +
-CREATE TABLE +
-psql:​init_pool.sql:​127:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «section_id_seq» pour la colonne "​serial"​ "​section.id"​ +
-psql:​init_pool.sql:​127:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «section_pkey» pour la table «section» +
-psql:​init_pool.sql:​127:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «section_section_key» pour la table «section» +
-CREATE TABLE +
-psql:​init_pool.sql:​133:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «priority_id_seq» pour la colonne "​serial"​ "​priority.id"​ +
-psql:​init_pool.sql:​133:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «priority_pkey» pour la table «priority» +
-psql:​init_pool.sql:​133:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «priority_priority_key» pour la table «priority» +
-psql:​init_pool.sql:​133:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «priority_level_key» pour la table «priority» +
-CREATE TABLE +
-psql:​init_pool.sql:​138:​ NOTICE: ​ CREATE TABLE créera des séquences implicites «override_type_id_seq» pour la colonne "​serial"​ "​override_type.id"​ +
-psql:​init_pool.sql:​138:​ NOTICE: ​ CREATE TABLE / PRIMARY KEY créera un index implicite «override_type_pkey» pour la table «override_type» +
-psql:​init_pool.sql:​138:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «override_type_type_key» pour la table «override_type» +
-CREATE TABLE +
-psql:​init_pool.sql:​149:​ NOTICE: ​ CREATE TABLE / UNIQUE créera un index implicite «override_suite_key» pour la table «override» +
-CREATE TABLE +
-CREATE TABLE +
-CREATE INDEX +
-CREATE INDEX +
-CREATE INDEX +
-CREATE INDEX +
-CREATE INDEX +
-CREATE INDEX +
-CREATE INDEX +
-Adding static tables from conf file... +
-Writing data to `files'​ table... +
-Writing data to `source'​ table... +
-Writing data to `src_associations'​ table... +
-Writing data to `dsc_files'​ table... +
-Writing data to `binaries'​ table... +
-Writing data to `bin_associations'​ table... +
-Committing... +
-Running alyson...+
  
-Running add_constraints.sql... +==== Création des utilisateurs ==== 
-ALTER TABLE +<​file>​ 
-ALTER TABLE +hYou need to get your maintainers in the databaseThe Debian Archive 
-ALTER TABLE +   uses a script (emilie) that syncs with its LDAP Server, but you 
-ALTER TABLE +   probably don't want to sync with Debian'​s LDAP. :) 
-ALTER TABLE +   If you have a setup with an LDAP Server, look at emilie and their 
-ALTER TABLE +   config options. If not, there is a script called uma which helps you 
-ALTER TABLE +   to do this. You basically give it a keyid with the -k parameter and 
-ALTER TABLE +   it will do the rest, after asking you if you like the action. 
-ALTER TABLE +   If you told it to create a system user for the new account it will 
-ALTER TABLE +   run useradd to do the stuff, for that YOURDAKUSERNAME needs sudo 
-ALTER TABLE +   access to useradd, with NOPASSWD set. It will also add new users to 
-ALTER TABLE +   the mail whitelist file, if you have that option enabled (it is per 
-ALTER TABLE +   default). 
-ALTER TABLE +</​file>​
-ALTER TABLE +
-ALTER TABLE +
-ALTER TABLE +
-ALTER TABLE +
-ALTER TABLE +
-ALTER TABLE +
-ALTER TABLE +
-ALTER TABLE +
-ALTER TABLE +
-ALTER TABLE +
-ALTER TABLE +
-CREATE FUNCTION +
-CREATE FUNCTION +
-CREATE FUNCTION +
-CREATE FUNCTION +
-CREATE FUNCTION +
-CREATE FUNCTION +
-CREATE FUNCTION +
-CREATE FUNCTION +
-CREATE FUNCTION +
-CREATE FUNCTION +
- ​setval  +
--------- +
-        +
-(1 row)+
  
- ​setval ​ +=== uma et exim4 === 
--------- +Il est nécessaire,​ pour que les courriels d'​[[uma]] partent, d'​avoir ajouté à ///​etc/​email-addresses// quelque chose qui ressemble à : 
-       ​ +<​file>​ 
-(1 row)+nobody: LEHOBEY@free.fr 
 +</​file>​
  
- ​setval ​ +=== uma et sudo === 
--------- +J'​ajoute la ligne suivante à la configuration de sudo (///​etc/​sudoers//​),​ avec //visudo// : 
-        +<​file>​ 
-(1 row)+deb-dak   ALL = NOPASSWD: /​usr/​sbin/​useradd 
 +</​file>​
  
- ​setval ​ +=== Initialisation du trousseau de deb-dak === 
--------- +<​file>​ 
-        +k. You should setup the keyring for katie now. Do a command similar to 
-(1 row)+   the following, but adjust your path: 
 +   gpg --no-default-keyring ​--keyring /​opt/​dak/​keyrings/​keyring.gpg 
 +</​file>​
  
- ​setval  +Que je comprends comme s'​appliquant à l'​utilisateur //deb-dak//.
--------- +
-        +
-(1 row)+
  
- ​setval ​ +  # su - deb-dak 
--------- +  $ gpg --no-default-keyring ​--keyring /​opt/​dak/​keyrings/​keyring.gpg ​--keyserver pgp.mit.edu --recv-keys 2B022951 
-       ​ +<​code>​ 
-(row)+gpg: directory `/​var/​lib/​dak/​.gnupg'​ created 
 +gpg: new configuration file `/​var/​lib/​dak/​.gnupg/​gpg.conf'​ created 
 +gpg: WARNING: options in `/​var/​lib/​dak/​.gnupg/​gpg.conf'​ are not yet active during this run 
 +gpg: keyring `/​var/​lib/​dak/​.gnupg/​secring.gpg'​ created 
 +gpg: keyring `/​opt/​dak/​keyrings/​keyring.gpg'​ created 
 +gpg: requesting key 2B022951 from hkp server pgp.mit.edu 
 +gpg: key 2B022951: duplicated user ID detected - merged 
 +gpg: /​var/​lib/​dak/​.gnupg/​trustdb.gpg:​ trustdb created 
 +gpg: key 2B022951: public key "​Frederic LEHOBEY <​Frederic.Lehobey@free.fr>"​ imported 
 +gpg: no ultimately trusted keys found 
 +gpg: Total number processed: ​1 
 +gpg:               ​imported:​ 1 
 +</​code>​
  
- ​setval ​ +=== Création du groupe debuser === 
--------- +Ce groupe est nécessaire au fonctionnement d'​[[uma]].
-    136 +
-(1 row)+
  
- ​setval ​ +  # addgroup debuser 
--------- +<​code>​ 
-     12 +Adding group `debuser' ​(1001)... 
-(1 row)+Fait. 
 +</​code>​
  
- ​setval ​ +=== Un exemple de création d'​utilisateur === 
--------- +<​file>​ 
-      6 +i. Repeat step h for every user you have. 
-(1 row)+</​file>​
  
-VACUUM +  # su - deb-dak 
-VACUUM +  $ uma -k 2B022951 -u lehobey 
-VACUUM +Option //-u// pour choisir l'​identifiant de connexion. 
-VACUUM +<​code>​ 
-VACUUM +0x2B022951 -> Frederic LEHOBEY ​ <​Frederic.Lehobey@free.fr>​ -> lehobey -> 6750B3F2BF04A269B5D7D677289EB5222B022951 
-VACUUM +Add user lehobey with above data (y/N) ? y 
-VACUUM +Added: 
-VACUUM +Uid:     ​lehobey (ID: 1) 
-VACUUM +Maint: ​  ​Frederic LEHOBEY ​ 
-VACUUM +FP:      6750B3F2BF04A269B5D7D677289EB5222B022951
-VACUUM +
-VACUUM +
-VACUUM +
-VACUUM +
-VACUUM +
-VACUUM +
-VACUUM +
-GRANT +
-GRANT+
 </​code>​ </​code>​
 +
 +==== Installation des tâches récurrentes ====
 +<​file>​
 +j. Install the cronjobs you need. Start with cron.unchecked which is
 +   ​already copied in /​YOURDAKPATH/​katie/​cron.unchecked and asks
 +   ​jennifer to process new uploads. The Crontab Debian uses can be found
 +   ​in ​ /​usr/​share/​doc/​dak/​crontabs as an example.
 +</​file>​
 +
 +Donc à partir de l'​exemple dans [[/​usr/​share/​doc/​dak/​crontabs/​katie.crontab]] j'​installe dans les tâches récurrentes de //dak-deb// par
 +  $ crontab -e
 +le fichier suivant :
 +<​file>​
 +SHELL=/​bin/​sh
 +
 +## Archive maintenance
 +MAILTO=fdl
 +2,17,32,47 * * * * sh /​opt/​dak/​katie/​cron.unchecked
 +</​file>​
 +
 +Résumé des changements :
 +  * Remplacement de %%/​org/​ftp.debian.org/​%% par /opt/dak/.
 +  * Suppression de toutes les lignes sauf [[/​opt/​dak/​katie/​cron.unchecked]].
 +  * MAILTO changé de cron@yourhost.yourdomain à fdl (qui existe sur ondine).
 +
 +=== Test de cron.unchecked ===
 +C'est essentiellement [[jennifer]] qui est à l'​oeuvre.
 +  $ sh -x /​opt/​dak/​katie/​cron.unchecked
 +[[sortie cron.unchecked|Résultat]].
 +
 +==== Une clef pour ziyi ====
 +<​file>​
 +l. To let ziyi sign the Release files you need a s3kr1t key.
 +   gpg --gen-key and follow the prompts. Then move it from the home of
 +   ​YOURDAKUSERNAME to the path of "​SigningKeyring"​ from the
 +   ​config. Both, public and private key. Write your Keyid in the config
 +   value "​SigningKeyIds"​. Remember that the signing works automagically,​
 +   so a passphrase on the key doesnt help...
 +</​file>​
 +
 +  # su - deb-dak
 +  $ gpg --gen-key
 +
 +[[sortie gpg --gen-key|Session]].
 +
 +  $ cp .gnupg/???​ring.gpg /​opt/​dak/​s3kr1t/​dot-gnupg/​
 +
 +Puis modification dans /​opt/​dak/​katie/​katie.conf de la ligne
 +<​file>​
 +   ​SigningKeyIds "​CHANGETHISONEFORziyi";​
 +</​file>​
 +en
 +<​file>​
 +   ​SigningKeyIds "​401FAEF5";​
 +</​file>​
 +Avec au passage un ajout :
 +<​file>​
 +   // If defined this address gets a bcc of all mails.
 +   // Bcc "​archive@localhost.localdomain";​
 +   Bcc "​fdl@ondine";​
 +</​file>​
 +pour surveiller ce qui se passe.
  
 ===== Désinstallations ===== ===== Désinstallations =====
doc/dak/installation_de_dak_sur_ondine.1123075790.txt.gz · Dernière modification: 2005/08/03 16:20 (modification externe)