Difference between revisions of "General:Installation"

From Wiki_dbSQWare
Jump to: navigation, search
(extract archives of all modules)
Line 15: Line 15:
 
  rm -f expdbTools_full_*.zip
 
  rm -f expdbTools_full_*.zip
 
<br>
 
<br>
== extract archives of all modules ==
+
== Extract archives of all modules ==
 
  #gunzip and extract archive of all modules
 
  #gunzip and extract archive of all modules
 
  for lvsqw_Archive in `ls expdb*.tgz`
 
  for lvsqw_Archive in `ls expdb*.tgz`

Revision as of 22:38, 13 December 2010

Full installation:

Prepare archive file of all modules

#Create base directory of expdbTools®
mkdir -p $HOME/expdbTools

#Move zip of lastest full version
cp ~/downloads/expdbTools_full_*.zip $HOME/expdbTools/.

#Unzip file
cd $HOME/expdbTools
unzip expdbTools_full_*.zip

#Delete zip file
rm -f expdbTools_full_*.zip


Extract archives of all modules

#gunzip and extract archive of all modules
for lvsqw_Archive in `ls expdb*.tgz`
do
   lvsqw_Module=$(echo "$lvsqw_Archive"|sed 's,_full_v..*tgz$,,')
   mkdir -p $HOME/expdbTools/$lvsqw_Module
   cd $HOME/expdbTools/$lvsqw_Module
   echo 
   echo "extract $lvsqw_Archive for $lvsqw_Module :"
   gunzip -c ../$lvsqw_Archive |tar -xvf -
done

#Delete archive file
cd $HOME/expdbTools
rm -f expdb*.tgz