General:Installation

From Wiki_dbSQWare
Revision as of 22:42, 13 December 2010 by Expdbtools (talk | contribs)
Jump to: navigation, search

Full installation:
== Install sources of all modules on focal point

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