Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

6. Copy the RPM into the REP_HOME/Rep Attack 11g XE/shared directory on your host computer. This will make the RPM available to the virtual machines for installation. 

Code Blocknoformat
on the source machine:
mkdir /u01/app/oracle/software
cp /media/sf_shared/dbvisit_replicate-2.7.06-1.x86_64.rpm /u01/app/oracle/software/dbvisit_replicate-2.7.06-1.x86_64.rpm
 
--do the same on the target machine:
ssh oracle@target 'mkdir /u01/app/oracle/software; cp /media/sf_shared/dbvisit_replicate-2.7.06-1.x86_64.rpm /u01/app/oracle/software/dbvisit_replicate-2.7.06-1.x86_64.rpm'



 

Install Dbvisit Replicate on the Source Machine

  1. Using the SSH terminal emulation program on your host machine (eg PuTTy on Windows or Terminal on Mac) , log or log on to the putty window open on your VM,  log in to the oracle account (password is oracle)
  2. Change directory to the shared folder, /media/sf_shared. You should see the Replicate RPM.
  3. su to the root user to install the RPM (password is root)
  4. Install the RPM
No Format
su -
rpm -ivh /u01/app/oracle/software/dbvisit_replicate-2.7.02-1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:dbvisit_replicate      ########################################### [100%]

...

No Format
[oracle@source software]$ dbvrep version
Initializing......done
Dbvisit Replicate version 2.7.02.
Copyright (C) Dbvisit Software Limited.  All rights reserved.
No DDC file loaded.
Dbvisit Replicate version 2.7.02.
OK-0: Completed successfully.

...

  1. Using the SSH terminal emulation program on your host machine (eg PuTTy on Windows or Terminal on Mac) or the Putty window open on the VM, log in to the oracle account (password is oracle)Change directory to the shared folder, /media/sf_shared. You should see the Replicate RPM.
  2. su to the root user to install the RPM
  3. Install the RPM
No Format
su -
rpm -ivh /u01/app/oracle/software/dbvisit_replicate-2.7.02-1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:dbvisit_replicate      ########################################### [100%]

Exit to user oracle, and test that the dbvrep executable works.

No Format
exit
No Format
[oracle@sourceoracle@target software]$ dbvrep version
Initializing......done
Dbvisit Replicate version 2.7.02.
Copyright (C) Dbvisit Software Limited.  All rights reserved.
No DDC file loaded.
Dbvisit Replicate version 2.7.02.
OK-0: Completed successfully.

 

 

12. su to root and install the rpm.

No Format
su - 

Password is oracle

No Format
rpm -ivh /u01/oracle/software/dbvisit_replicate-2.7.02-1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:dbvisit_replicate      ########################################### [100%]

13. Exit to user oracle, and test the the dbvrep executable works.

No Format
exit
No Format
dbvrep version
Initializing......done
Dbvisit Replicate version 2.7.02.
Copyright (C) Dbvisit Software Limited.  All rights reserved.
No DDC file loaded.
Dbvisit Replicate version 2.7.02.
OK-0: Completed successfully.

 

...