Installing SOA Suite 11.1.1.5
The idea is to get all the pieces together for installling a SOA Suite 11.1.1.5 on a Oracle Linux Server 6. Although the 11.1.1.5 is not yet certified on Oracle Linux 6 still it works like wonder.
I will share the details over a period of time as I install the server.
Step 1: Get Hardware
1. Since the RAM requirement for 11g is quite high, I will install a linux server on my Toshiba 4GB Laptop which has a dual core.
2. JDev will be on a difrrent laptop which should have alteast 2 GB RAM.
Step 2: Get Software
1. Oracle Linux Server 6 - Oracle is releasing new versions at quite a pace so will take what ever is the latest version.
2. Oracle SOA Suite - 11.1.1.5 PS4
3. Database - Oracle XE 11g beta
How to mount a FAT16/FAT32 Pen Drive
1. Login as root
2. Type fdisk -l to get a list of all the drives
Locate your pen drive
---
Disk /dev/sdb: 4012 MB, 4012900352 bytes
120 heads, 55 sectors/track, 1187 cylinders
Units = cylinders of 6600 * 512 = 3379200 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
--
3. Locate the partition in the disk which you want to mount
fdisk /dev/sdb
Type p to get a list of partition
---
[root@shan ~]# fdisk /dev/sdb
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): p
Disk /dev/sdb: 4012 MB, 4012900352 bytes
120 heads, 55 sectors/track, 1187 cylinders
Units = cylinders of 6600 * 512 = 3379200 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 1188 3918832 6 FAT16
---
4. Create a folder under mnt where you want to mount the partition
mkdir /mnt/sandisk
5. Mount the drive
mount -t vfat /dev/sdb1 /mnt/sandisk
6. To unmount
umount /mt/sandisk
Host File
vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.x.x soa.localdomain soa
useradd -g dba -b /u01/app/oracle oracle
useradd -g dba -b /u01/app orafusion
Install XE
1. rpm -ivh oracle-xe-11.2.0-0.5.x86_64.rpm
2. . /etc/init.d/oracle-xe configure
Statup/Shutdown
shutdown 0 -P
5. Disable the firewall
vi /etc/selinux/config
SELINUX=disabled
vi /etc/sysconfig/network-scripts/ifcfg-eth0
http://www.linuxheadquarters.com/howto/networking/networkconfig.shtml
Download the software from http://download.oracle.com/otn/beta/xe/linux.x64_11gR2_OracleXE.zip
ifconfig eth0 192.168.x.x netmask 255.255.255.0 up
Xming
1. Install XMing
2. Start Xming
3. XLaunch
4. On Linux make sure DISPALY is set
5. type xterm &
Database Requirements
1. glibc should be greater than or equal to 2.3.4-2.41
rpm -q glibc
glibc-2.12-1.7.el6.x86_64
glibc-2.12-1.7.el6.i686
2. make should be greater than or equal to 3.80
rpm -q make
make-3.81-19.el6.x86_64
3. binutils should be greater than or equal to 2.16.91.0.5
rpm -q binutils
binutils-2.20.51.0.2-5.11.el6.x86_64
4. gcc should be greater than or equal to 4.1.2
rpm -q gcc
package gcc is not installed
5. libaio should be greater than or equal to 0.3.104
rpm -q libaio
libaio-0.3.107-10.el6.x86_64
swap space
Minimum swap space required for Oracle Database XE is 2 GB or twice the size of RAM, whichever is lesser.
Recommended Kernal Parameters
/sbin/sysctl -a |grep semmsl
250
/sbin/sysctl -a |grep semmns
32000
/sbin/sysctl -a |grep semopm
100
/sbin/sysctl -a |grep semmni
128
/sbin/sysctl -a |grep shmmax
536870912
4294967295
/sbin/sysctl -a |grep shmmni
4096
/sbin/sysctl -a |grep shmall
2097152
/sbin/sysctl -a |grep file-max
6815744
/sbin/sysctl -a |grep VERSION
2.4.21
/sbin/sysctl -a |grep ip_local_port_range
9000–65000
----
Result
[root@shan sandisk]# /sbin/sysctl -a |grep semmns
[root@shan sandisk]# /sbin/sysctl -a |grep semopm
[root@shan sandisk]# /sbin/sysctl -a |grep semmni
[root@shan sandisk]# /sbin/sysctl -a |grep shmmax
kernel.shmmax = 4294967295
[root@shan sandisk]# /sbin/sysctl -a |grep shmmni
kernel.shmmni = 4096
[root@shan sandisk]# /sbin/sysctl -a |grep shmall
kernel.shmall = 2097152
[root@shan sandisk]# /sbin/sysctl -a |grep file-max
fs.file-max = 6815744
[root@shan sandisk]# /sbin/sysctl -a |grep VERSION
[root@shan sandisk]# /sbin/sysctl -a |grep ip_local_port_range
net.ipv4.ip_local_port_range = 32768 61000
To start/stop the database
/etc/init.d/oracle-xe start
/etc/init.d/oracle-xe stop
Set Env
vi .bash_profile
. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
Install Weblogic
java -jar /mnt/sandisk/wls1035_generic.jar
Select Defaults
Uncheck Launch Quick Start
sqlplus / as sysdba
startup
show parameter session
show parameter processes
alter system reset sessions scope=spfile sid='*';
alter system set processes=300 scope=spfile;
shutdown immediate
startup
show parameter session
show parameter processes
rm -rf Disk1
/u01/app/orafusion/Oracle/Middleware/wlserver_10.3/common/bin/config.sh
chown -R oracle:dba /var/tmp/.oracle
chown -R oracle:dba /u01/app/oracle
vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 7100 -j ACCEPT
/etc/init.d/iptables restart
service iptables restart
netstat -tulpn | less
iptables -L -n
I will share the details over a period of time as I install the server.
Step 1: Get Hardware
1. Since the RAM requirement for 11g is quite high, I will install a linux server on my Toshiba 4GB Laptop which has a dual core.
2. JDev will be on a difrrent laptop which should have alteast 2 GB RAM.
Step 2: Get Software
1. Oracle Linux Server 6 - Oracle is releasing new versions at quite a pace so will take what ever is the latest version.
2. Oracle SOA Suite - 11.1.1.5 PS4
3. Database - Oracle XE 11g beta
How to mount a FAT16/FAT32 Pen Drive
1. Login as root
2. Type fdisk -l to get a list of all the drives
Locate your pen drive
---
Disk /dev/sdb: 4012 MB, 4012900352 bytes
120 heads, 55 sectors/track, 1187 cylinders
Units = cylinders of 6600 * 512 = 3379200 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
--
3. Locate the partition in the disk which you want to mount
fdisk /dev/sdb
Type p to get a list of partition
---
[root@shan ~]# fdisk /dev/sdb
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): p
Disk /dev/sdb: 4012 MB, 4012900352 bytes
120 heads, 55 sectors/track, 1187 cylinders
Units = cylinders of 6600 * 512 = 3379200 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 1188 3918832 6 FAT16
---
4. Create a folder under mnt where you want to mount the partition
mkdir /mnt/sandisk
5. Mount the drive
mount -t vfat /dev/sdb1 /mnt/sandisk
6. To unmount
umount /mt/sandisk
Host File
vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.x.x soa.localdomain soa
useradd -g dba -b /u01/app/oracle oracle
useradd -g dba -b /u01/app orafusion
Install XE
1. rpm -ivh oracle-xe-11.2.0-0.5.x86_64.rpm
2. . /etc/init.d/oracle-xe configure
Statup/Shutdown
shutdown 0 -P
5. Disable the firewall
vi /etc/selinux/config
SELINUX=disabled
vi /etc/sysconfig/network-scripts/ifcfg-eth0
http://www.linuxheadquarters.com/howto/networking/networkconfig.shtml
Download the software from http://download.oracle.com/otn/beta/xe/linux.x64_11gR2_OracleXE.zip
ifconfig eth0 192.168.x.x netmask 255.255.255.0 up
Xming
1. Install XMing
2. Start Xming
3. XLaunch
4. On Linux make sure DISPALY is set
5. type xterm &
Database Requirements
1. glibc should be greater than or equal to 2.3.4-2.41
rpm -q glibc
glibc-2.12-1.7.el6.x86_64
glibc-2.12-1.7.el6.i686
2. make should be greater than or equal to 3.80
rpm -q make
make-3.81-19.el6.x86_64
3. binutils should be greater than or equal to 2.16.91.0.5
rpm -q binutils
binutils-2.20.51.0.2-5.11.el6.x86_64
4. gcc should be greater than or equal to 4.1.2
rpm -q gcc
package gcc is not installed
5. libaio should be greater than or equal to 0.3.104
rpm -q libaio
libaio-0.3.107-10.el6.x86_64
swap space
Minimum swap space required for Oracle Database XE is 2 GB or twice the size of RAM, whichever is lesser.
Recommended Kernal Parameters
/sbin/sysctl -a |grep semmsl
250
/sbin/sysctl -a |grep semmns
32000
/sbin/sysctl -a |grep semopm
100
/sbin/sysctl -a |grep semmni
128
/sbin/sysctl -a |grep shmmax
536870912
4294967295
/sbin/sysctl -a |grep shmmni
4096
/sbin/sysctl -a |grep shmall
2097152
/sbin/sysctl -a |grep file-max
6815744
/sbin/sysctl -a |grep VERSION
2.4.21
/sbin/sysctl -a |grep ip_local_port_range
9000–65000
----
Result
[root@shan sandisk]# /sbin/sysctl -a |grep semmns
[root@shan sandisk]# /sbin/sysctl -a |grep semopm
[root@shan sandisk]# /sbin/sysctl -a |grep semmni
[root@shan sandisk]# /sbin/sysctl -a |grep shmmax
kernel.shmmax = 4294967295
[root@shan sandisk]# /sbin/sysctl -a |grep shmmni
kernel.shmmni = 4096
[root@shan sandisk]# /sbin/sysctl -a |grep shmall
kernel.shmall = 2097152
[root@shan sandisk]# /sbin/sysctl -a |grep file-max
fs.file-max = 6815744
[root@shan sandisk]# /sbin/sysctl -a |grep VERSION
[root@shan sandisk]# /sbin/sysctl -a |grep ip_local_port_range
net.ipv4.ip_local_port_range = 32768 61000
To start/stop the database
/etc/init.d/oracle-xe start
/etc/init.d/oracle-xe stop
Set Env
vi .bash_profile
. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
Install Weblogic
java -jar /mnt/sandisk/wls1035_generic.jar
Select Defaults
Uncheck Launch Quick Start
sqlplus / as sysdba
startup
show parameter session
show parameter processes
alter system reset sessions scope=spfile sid='*';
alter system set processes=300 scope=spfile;
shutdown immediate
startup
show parameter session
show parameter processes
rm -rf Disk1
/u01/app/orafusion/Oracle/Middleware/wlserver_10.3/common/bin/config.sh
chown -R oracle:dba /var/tmp/.oracle
chown -R oracle:dba /u01/app/oracle
vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 7100 -j ACCEPT
/etc/init.d/iptables restart
service iptables restart
netstat -tulpn | less
iptables -L -n
Comments