General:Installation: Difference between revisions

From Wiki_dbSQWare
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Full installation:<br>
Full installation:<br>
<br>
<br>
==Prepare archive file of all modules
== Prepare archive file of all modules ==
  #Create base directory of expdbTools®
  #Create base directory of expdbTools®
  mkdir -p $HOME/expdbTools
  mkdir -p $HOME/expdbTools
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 23: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