Wicri:ChansonRolandV7 : Différence entre versions

De Wicri Chanson de Roland
(Préparation au transfert)
(Transfert par scp)
Ligne 97 : Ligne 97 :
 
====Transfert par scp====
 
====Transfert par scp====
 
<source lang="sh">
 
<source lang="sh">
scp $ISTEX_SCP:$WICRI_TARGET_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage/ChansonRolandV7.corpus/Import.tar.gz .
+
scp $ISTEX_TAR $ISTEX_SCP:$WICRI_TARGET_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage/ChansonRolandV7.corpus/Import.tar.gz .
 
gunzip Import.tar.gz
 
gunzip Import.tar.gz
 
tar -xvf Import.tar  
 
tar -xvf Import.tar  
 
</source>
 
</source>

Version du 22 juin 2021 à 16:25

Cette page introduit les aspects techniques de la version ChansonRolandV7 du « Serveur d'exploration ChansonRolandV7 ».

Voir aussi :

Mise en œuvre

Sur la machine de développement

Initialisations

Génération des pages wikis
source IstexGetCorpusSize -q "query"
 IstexGenerAreaPages \
       -a ChansonRolandV7   \
       -m   \
       -g ChansonRoland   \
       -x 1 \
       -p Europe/ChansonRoland \
       -W Europe/ChansonRoland \
       -s PascalFrancis   \
       -s Hal \
       -w wic-chan.rol.fr  \
       -z France \
       -z Allemagne   \
       -q '"chanson de roland" OR "song of roland)"' \
       -t "Serveur d'exploration ChansonRolandV7"
Définition $EXPLOR_AREA
EXPLOR_AREA=$WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage/ChansonRolandV7
export EXPLOR_AREA
export LC_ALL='C'
Création des répertoires
mkdir $WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage
mkdir $EXPLOR_AREA
mkdir $EXPLOR_AREA/Import

Sur la machine Demo.Istex

newgrp wicri
source /applis/Dilib/init.sh
Définition $EXPLOR_AREA
EXPLOR_AREA=$WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage/ChansonRolandV7
export EXPLOR_AREA
export LC_ALL='C'
Création des répertoires
mkdir $WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage
cd $WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage
mkdir ChansonRolandV7.corpus
mkdir ChansonRolandV7.corpus/Import
mkdir ChansonRolandV7.20210622
ln -s ChansonRolandV7.20210622 ChansonRolandV7
ln -s ChansonRolandV7.20210622 ChansonRolandV7.new

Construction du Repository ISTEX

cd ChansonRolandV7.corpus/Import

En cas de reprise au niveau du téléchargement

rm -rf Import/IstexRepository.h*
IstexGetCorpus -q '"chanson de roland" OR "song of roland)"' -s 3000    -l          \
     | IstexGetCorpusById -A   \
     | SxmlUnIndent                           \
     | HfdBuild -bh   Import/IstexRepository

Vérification

HfdCat  Import/IstexRepository.hfd | wc

Vérification

HfdCat  Import/IstexRepository.hfd | wc

Préparation au transfert

tar -cvf Import.tar Import
gzip Import.tar

Retour vers la machine de développement

Transfert par scp

scp $ISTEX_TAR $ISTEX_SCP:$WICRI_TARGET_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage/ChansonRolandV7.corpus/Import.tar.gz .
gunzip Import.tar.gz
tar -xvf Import.tar