groupadd -g 100 dba
groupadd -g 101 oinstall
useradd -u 101 -d /export/home/oracle -g oinstall -G dba -m -s /usr/bin/bash oracle
passwd oracle
cp /etc/system /etc/system.orig
Add the following parameters in /etc/system
set noexec_user_stack=1
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
/usr/sbin/reboot
su – oracle
mkdir oradata
Add the following parameters in .bash_profile
umask 022
export ORACLE_SID=[sid]
export ORACLE_HOME=[path]
export PATH=$ORACLE_HOME/bin:$PATH
. ./.bash_profile
Upload Oracle 10g binary (i.e. cpio or cpio.gz files) to a directory on the target machine. An example could be /download go to the directory where the Oracle binary are located gunzip …
process listing. /usr/ucb/ps -aux | more
/usr/proc/bin/ptree <pid>
/* Print the parent/child process ‘tree’ of a process */
/usr/ucb/ps -aux | more
/* Displays CPU % usage for each process in ascending order */
usr/ucb/ps -auxww | grep <process name>
/* Gives the full listing of the process (long listing) */
coreadm -i core.%f.%p
/* Append program name and process id to core file names */
kill -HUP `ps -ef | grep [p]roccess | awk ‘{print $2}’`
/* HUP any related process in one step */
sof -i TCP:25
/* Mapping port …
http://vegdave.wordpress.com/2007/03/22/notes-on-installing-skype-on-ubuntuamd64/