Version of Virtual Box : VirtualBox 4.3.28
Create and Configure VM
- Follow the steps mentioned below in the screenshots.
Click on each options specified like language and time zone tools to be installed and click on Done button on the top left corner for each section. Click begin installation.
Click the reboot button.After creating user click Finish Configuration.Provide your choice for software updates and registration.Now login as the user you created.Select languageFrom the devices tab. Click on insert guest additions. An icon will appear on desktop, right click on it and select open with Run software. This will install guest additions.1.On settings of virtual box, go to Network section on the right hand side menu.
Network Configuration in virtual box
- Make Configuration as showed above.
- Create a second adapter with configuration shown below.
Install Java
- Download the file.
Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the JDK into the system location.- Change directory to the location where you would like the JDK to be installed, then move the .tar.gz archive binary to the current directory.
- Unpack the tarball and install the JDK.
- % tar zxvf jdk-8uversion-linux-x64.tar.gz
The Java Development Kit files are installed in a directory called jdk1.7.0_79 in the current directory.- Delete the .tar.gz file if you want to save disk space.
WebLogic installation
- Unzip the zip file for WebLogic.
# unzip V44413-01.zip- Launch installation by entering command
java -jar wls1036_generic.jarWeblogic username: weblogicWeblogic password: weblogic1Oracle 12c Installation for Oracle Linux 7 x86_64- Download Oracle 12c files from
- Type command for extracting files
# unzip V46095-01_1of2.zip# unzip V46095-01_2of2.zipThere will be a single directory called database.- Edit “/etc/sysconfig/network”, add
NETWORKING=yesHOSTNAME=trudevvm- Edit “/etc/hostname” add
trudevvm- Edit the host file “/etc/hosts”, add the new hostname
For example:127.0.0.1 localhost trudevvm localhost.localdomain localhost4 localhost4.localdomain4- Oracle installation prerequisites
Run# yum install oracle-rdbms-server-12cR1-preinstall –y- It is good to do a full update, but not necessary.
# yum update -y- Set password for oracle user
passwd oracle- Set secure Linux to permissive. Edit “/etc/selinux/config” file. Make
SELINUX=permissive- Once this is done you have to disable your firewall if it is enabled.
# service iptables stop# chkconfig iptables off- Create directories where Oracle should be installed.
Mkdir –p /u01/app/oracle/product/12.1.0.2/db_1Chown –R oracle:oinstall /u01Chmod –R 775 /u01- Login as root and enter following command.
xhost +<machine-name>- Add following at the end of the "/home/oracle/.bash_profile" file.
Export TMP=/tmpExport TMPDIR=$TMPExport ORACLE_HOSTNAME=<machin-name>.localdomainExport ORACLE_UNQNAME=truExport ORACLE_BASE=/u01/app/oracleExport ORACLE_HOME=$ORACLE_BASE/product/12.1.0.2/db_1Export ORACLE_SID=truExport PATH=/usr/sbin:$PATHExport PATH=$ORACLE_HOME/bin:$PATHExport LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/libExport CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib- Edit /etc/profile add following.
export PATH=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79-2.5.5.1.0.1.el7_1.x86_64/bin:/u01/app/oracle/product/12.1.0/dbhome_1/bin:/opt/bin/eclipse/:$PATH:/opt/bin/apache-ant-1.9.0/bin:/opt/bin/:export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79-2.5.5.1.0.1.el7_1.x86_64export JRE_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79-2.5.5.1.0.1.el7_1.x86_64/jre#export ENDECA_TOOLS_ROOT=/opt/bin/endeca/ToolsAndFrameworks/3.1.2/#export ENDECA_TOOLS_CONF=/opt/bin/endeca/ToolsAndFrameworks/3.1.2/server/workspace/#export ENDECA_ROOT=/opt/bin/endeca/PlatformServices/6.1.3/#export ENDECA_CONF=/opt/bin/endeca/PlatformServices/workspace/#export ENDECA_REFERENCE_DIR=/opt/bin/endeca/PlatformServices/reference/export DYNAMO_HOME=/home/tru_user/ATG/ATG11.1/homeexport ATG_HOME=/home/tru_user/ATG/ATG11.1export ATG_ROOT=/home/tru_user/ATG/ATG11.1export DYNAMO_ROOT=/home/tru_user/ATG/ATG11.1export ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1/export ORACLE_HOME_LISTNER=$ORACLE_HOMEexport ORACLE_SID=TRUexport ORACLE_UNQNAME=TRU#export ECLIPSE_WS=/opt/bin/eclipse-workarea/#export ANT_ARGS='-logger org.apache.tools.ant.listener.AnsiColorLoggerI- Log into oracle user and enter following command.
DISPLAY=<machine-name>:0.0; export DISPLAY- Start oracle installer by ./runInstaller
- Set password for SYS and SYSDBA to Admin123
Issues Faced
Unable to open display error while running oracle database installation.
Solution:- Open new terminal
- Enter command xhost +
- DISPLAY=:0.0; export DISPLAY
- Run the insgtaller.
- Unable to connect to internet while VPN connected on host machine.
Solution:On settings of virtual box, go to Network section on the right hand side menu.Make Configuration as showed above.
Create a second adapter with configuration shown below.2. Unable to move mouse and share clip board.
Solution:i) See if the Virtual box is updated, if not update it.ii) Start the Vm on the updated Virtual Box.iii) On Devices tab on the main window click on Insert Guest Additions. A CD drive will be mounted on the desktop. Click on it and run it as software.iv) Restart VM.3. Unable to run Net Configuration Assistant (NETCA)Solution:I. Edit hostname. Enter command vi /etc/hostnameII. Add a name to your machine for eg: trudevvmIII. Edit hosts file. Enter commant vi /etc/hostsIV. Add trudevvm against 127.0.0.14. Error saying missing packages while oracle Database installation.Solution:Run command # yum install oracle-rdbms-server-12cR1-preinstall –y.- Connection issues while installing Oracle database
Solution: Disable firewall.Enter command# service iptables stop# chkconfig iptables off
No comments:
Post a Comment