Weblogic Setup Guide
Weblogic Setup Guide
Download Software
Download VMware
Download Vmware server from http://www.vmware.com/download/server/ Register yourself and Select VMWARE server ver 2.0 for windows and dont forget to note down product keys.
https://www.vmware.com/freedownload/p/download.php?product=server20&a=DOWNLOAD_FILE&baseurl=http://down load2.vmware.com/software/server/&filename=VMware-server-2.0.1-156745.exe
Steps for copying software from windows machine to linux machine: Save the WINSCP file in your computer. Once it is done do the installation. Click on the WINSCP icon on the desktop and you will see a window as shown below
Drag and drop the software and copy it into LINUX as shown below On the left hand side enter the drive where the software is located On the right hand side click
Then a window will be appeared as shown in the figure. Give the username password over here and click on OK and then
Here at the top on the right hand side next to the d01 there is a folder icon. Click on it to the give the final destination for the software location and click OK
On the right hand side here from the Drive F location I dragged the software and a popup will be appeared as shown in the figure
Now drag the software from host operating system (Windows) to guest operating system LINUX
Here all the files are copied as shown in the figure to d01 location. /d01/ software Check whether all the files are copied to the destination location as shown in the figure
(Installation of VMware is simple and similar to any other software installation on windows machine)
2. Click on Run
http://focusthread.com/training
http://focusthread.com/training
Enter License Key above (You will get this key via email after registering on vmware site)
http://focusthread.com/training
on Desktop
When prompted for username/password, enter your windows administrator username and password (administrator/<password of your windows>)
Here administrator is user on local machine with admin privileges (You can use other user (with Administrator access) as well)
25
26
27
28
29
Select 1st cd
30
31
32
33
34
35
36
37
38
39
40
41
42
Make sure this package need to select GNOME DESKTOP ENVIRONMENT Editors Graphical Internet Text-based Internet Development Libraries Development tools Server Configuration tools Administration Tools Base System Tools X Window System
43
44
45
46
47
Select 2nd CD and click on ok button, in the same fashion select 3rd and 4th cd.
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Unpack Files
Add the following line to the /etc/pam.d/login file, if it does not already exist: unzip win64_11gR2_database_1of2.zip Unzip the files: unzip win64_11gR2_database_2of2.zip You should now have a single directory containing installation files. Depending on the age of the download this may either be named "db/Disk1" or "database".
Hosts File
The /etc/hosts file must contain a fully qualified name for the server: <IP-address> <fully-qualified-machine-name> <machine-name>
Run the following command to change the current kernel parameters: /sbin/sysctl -p
Add the following lines to the /etc/security/limits.conf file: * * * * soft nproc 2047 hard nproc 16384 soft nofile 1024 hard nofile 65536
62
Add the following line to the /etc/pam.d/login file, if it does not already exist:
session required
pam_limits.so
Disable secure linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows: SELINUX=disabled Alternatively, this alteration can be done using the GUI tool (System > Administration > Security Level and Firewall). Click on the SELinux tab and disable the feature.
Setup
Install the following packages: # From RedHat AS5 Disk 1 cd /media/cdrom/Server rpm -Uvh setarch-2* rpm -Uvh make-3* rpm -Uvh glibc-2* rpm -Uvh libaio-0* cd / eject
# From RedHat AS5 Disk 2 cd /media/cdrom/Server rpm -Uvh compat-libstdc++-33-3* rpm -Uvh compat-gcc-34-3* rpm -Uvh compat-gcc-34-c++-3* rpm -Uvh gcc-4* rpm -Uvh libXp-1* cd / eject
# From RedHat AS5 Disk 3 cd /media/cdrom/Server rpm -Uvh openmotif-2* rpm -Uvh compat-db-4* cd / eject
Create the new groups and users: groupadd oinstall groupadd dba groupadd oper useradd -g oinstall -G dba oracle passwd oracle Create the directories in which the Oracle software will be installed: mkdir -p /u01/app/oracle/product/10.2.0/db_1
63
chown -R oracle.oinstall /u01 Login as root and issue the following command: xhost +<machine-name> Edit the /etc/redhat-release file replacing the current release information (Red Hat Enterprise Linux Server release 5 (Tikanga)) with the following: redhat-4 Login as the oracle user and add the following lines at the end of the .bash_profile file: # Oracle Settings TMP=/tmp; export TMP TMPDIR=$TMP; export TMPDIR ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME ORACLE_SID=TSH1; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM PATH=/usr/sbin:$PATH; export PATH PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi
Installation
Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable: DISPLAY=<machine-name>:0.0; export DISPLAY Start the Oracle Universal Installer (OUI) by issuing the following command in the database directory:
64
./runInstaller
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Weblogic Installation
http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html
84
85
86
First time if u copy the weblogic installer and invoke the installer by ./server103_linux32.bin, it shows Permission denied(it looksup for file persmission)
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
Domain Configuration
- Go to middleware home $ cd oracle_common/common/bin $ ./config.sh
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
To start the weblogic,get into the domain file system and go to Domain /bin folder. Invoke the ./startWeblogic.sh to start the Weblogic Admin server $ ./startWebLogic.sh
121
122
123
124
125
126
127
And give http://192.168.56.101:7001/console (use your linux serve rip) (Note: your AdminServer Ip address varies from System to System)
128
129
130
131