This post will tell you how to prepare your system for installing Weblogic Installation.
Before I continue, please download all the softwares from the previous post (Weblogic Installation part 1 - Requirement Analysis)
I assume the following points
- You have create a VM emulating Oracle Linux 5 / Oracle Linux 6.
- Your VM has a minimum of 2~3gb RAM (i have used 4gb RAM)
- You have given the number of cores as 2with a single processor or 2 processor with each having a single core
- You have a minimum of 50GB hard disk space (i have used 200GB hard disk space)
- You have created a user called "oracle"
- You have given a valid host name to your VM (eg: oracle.demo.com)
SYSTEM PREPARATION STEPS:
1. Login as root
2. Find your ip of the VM
command : ifconfig
3. Adding Server IP and server name to the Hosts file
- command : vi /etc/hosts
- add the system ip and fully qualified host name
EXAMPLE:
<ip_address> <fully qualified host name> <host_name>
192.168.1.12 oracle.demo.com oracle
4. Change the User limits
- command : vi /etc/security/limits.conf
- enter the below lines and save the file:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft stack 10240
4. Create new groups and users
- command:
groupadd -g 501 oinstallgroupadd -g 502 dbagroupadd -g 503 opergroupadd -g 504 asmadmingroupadd -g 506 asmdbagroupadd -g 505 asmoper
5. Adding users to the group:
- command : useradd -u 502 -g oinstall -G dba,asmdba,oper oracle
6. Disable SELinux
- command : SELINUX=disabled
7. Increase 90-Nproc file limit
- command : vi /etc/security/limits.d/90-nproc.conf
- change the value from " * soft nproc 1024 " to " * - nproc 16384 "
8. Disable the Firewall by navigating to System > Administration > Firewall > Disable > Apply > Exit
This post concludes the system preparation of Weblogic Installation
Continue to Weblogic Installation part 3 - Installing the Software
0 comments