General:Installation

From Wiki_dbSQWare
Revision as of 23:35, 13 December 2010 by Expdbtools (talk | contribs) (Created page with 'Full installation:<br> <br> #Prepare archive file of all modules #Create base directory of expdbTools® mkdir -p $HOME/expdbTools #Move zip of lastest full version cp ~/dow…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Full installation:

  1. 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


  1. Install 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