Difference between revisions of "General:Installation"

From Wiki_dbSQWare
Jump to: navigation, search
(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…')
 
Line 20: Line 20:
 
  do
 
  do
 
     lvsqw_Module=$(echo "$lvsqw_Archive"|sed 's,_full_v..*tgz$,,')
 
     lvsqw_Module=$(echo "$lvsqw_Archive"|sed 's,_full_v..*tgz$,,')
mkdir -p $HOME/expdbTools/$lvsqw_Module
+
    mkdir -p $HOME/expdbTools/$lvsqw_Module
cd $HOME/expdbTools/$lvsqw_Module
+
    cd $HOME/expdbTools/$lvsqw_Module
echo  
+
    echo  
 
     echo "extract $lvsqw_Archive for $lvsqw_Module :"
 
     echo "extract $lvsqw_Archive for $lvsqw_Module :"
 
     gunzip -c ../$lvsqw_Archive |tar -xvf -
 
     gunzip -c ../$lvsqw_Archive |tar -xvf -

Revision as of 23:36, 13 December 2010

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