05 - Execute the machine_setup Script
When the machine_setup script has been edited to accept the EULA and the memory parameter adjusted, execute the script. The script takes about 5-10 minutes to execute depending on your host PC. When the script finishes, both the source and target machines should be running and available to log into.
Before running the machine_setup script ensure that these two steps have been completed:
- Check the Host-only Network Configuration in the Virtual Box settings. If you already had VirtualBox installed, check that you have a Host-only network configured on the host. If this is a fresh install of VirtualBox, check that the Host-only network adapter is configured. Use the Oracle VM VirtualBox Manager GUI, Select File --> Preferences, then in the VirtualBox - Settings window, select Network. In the Network pane, select the Host-only Networks tab and check you have an entry named vboxnet0. If not, click the add host-only network button to add it.
- Accept the Virtual Box licence agreement: Before running the setup scripts please ensure you alter the script to accept the Virtual Box licence agreement - this is detailed in 03 - Accept the License Agreement
What the script does
Imports the source and target machines into VirtualBox, sets up the Host-only adapter in the network settings, sets up the shared folder drive, sets the snapshot folder and snapshot the machine as a fresh clean starting position that can be returned to if required. The machine_setup script will then start both source and target machines.
On Windows
In the %REP_HOME%\Rep Attack 11g XE directory, execute the machine_setup.bat script by double clicking on it. A command prompt window will open and the RepAttack source machine will be configured and started, followed by the target machine.
For example:
On Mac OS X
Open a Terminal window and change directory to the REP_HOME directory.
Execute the machine_setup.bash script.
bash-3.2$ ./machine_setup.bash
On Linux
TBD.