Tuesday, 20 July 2010

Adding a service to start at booting on fedora

chkconfig --list

lists all the services starting at booting with different levels

to add a service to start at booting

chkconfig --add [service_name]


chkconfig -add sshd

to add different levels(0,1,2,3,4,5,6)

chkconfig --level [levels] [service_name] [service_option>]

level: the runlevel where this service has to start (if there are more than one level enter different level without any seperator)

service options : on|off|reset|resetpriorities


chkconfig --level 2 sshd on

chkconfig --level 235 sshd on

so to add sshd to start up at booting in 235 levels

chkconfig --add sshd
chkconfig --level 235 sshd on

Wednesday, 14 July 2010

Oracle 11i E-Business suite installation set up for Linux

Tested on
Red Hat Enterprise Linux AS release 4 kernel 2.6.9-5.EL
Oracle Enterprise Linux AS release 4 (october update 6) kernel 2.6.9-

Required Packages
compat-oracle-rhel4-1.0-5 (from oracle patch 4198954)
compat-libcwait-2.0-2 (from oracle patch 4198954)
The following required component must be installed manually:

Domain Name Resolver Parameters
add these parameters in the /etc/resolv.con file
options attempts:5
options timeout:15

Verify that the /etc/hosts file is formatted as follows localhost.localdomain
ip_addrss node_name.domain_name
let these loopback entry be there if you want to add a new for your server do it as follows
etc: oracle11i.mylearn.com
now host file will look like localhost.localdomain oracle11i.mylearn.com

to set up ip address for the network card go to Application>system Settings>Network

Verify that the /etc/sysconfig/network file is formatted as follows

if the /etc/sysconfig/networking/profiles/default/network file exist, remove it
now restart the system

Edit /etc/sysctl.conf file to make the following changes

kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 10000 65000

run /sbin/sysctl -p so that these vales will get effected

to see newly set up kernel values
/sbin/sysctl.conf -a | grep 'kernel_param'
/sbin/sysctl.con -a | grep 'sem'

Edit /etc/serurity/limits.conf file
soft nofile 4096
hard nofile 65535

verify that host name setting is correct.
this command should return a fully quallified hostname

create dba group
groupadd dba
create oinstall group
groupadd oinstall
create user for 11i
useradd -g oinstall -G dba oracle
to see the user details
finger oracle
create software location
mkdir -p /u01/oracle

change owner of the folder if the location is created by root
chown -r oracle:oinstall /u01/oracle

open a terminal session as root and disable access control for installation
xhost +

change user to oracle
su – oracle
run an exterm session
go to staging area > starthere/Disk1/rapidwiz/