PS installation


rpm -ivh j2sdk-1_4_2_08-linux-i586.rpm

Alternatively the following lines can be added to the /etc/sysctl.conf file:

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

sysctl -p

In addition the following lines can be added to the /etc/security/limits.conf file:

oracle soft nofile 65536
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384


Add following groups
groupadd oinstall
groupadd dba
groupadd oper
groupadd apache

Add a user oracle

useradd -g oinstall -G dba oracle !(-g primary group ,-G secondary group and oracle is user under this group)
passwd oracle

mkdir -p /u01/app/oracle/product/9.2.0.4.0
chown -R oracle.oinstall /u01   !(-R option is recursive rights..ownership to all the /u01 user)
chown -r

Add the folling entries .bash_profile

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=/u01/app/oracle/product/9.2.0.4.0; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/java/j2sdk1.4.2_08/bin:$ORACLE_HOME/bin:$PATH; export PATH
ORACLE_OWNER=oracle; export ORACLE_OWNER
ORACLE_SID=PROD; export ORACLE_SID
LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib; export CLASSPATH
LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR


The following setup steps relate to Metalink Note:252217.1 and must be performed as the root user.

Install the following packages:

# From RedHat AS3 Disk 2
cd /mnt/cdrom/RedHat/RPMS
rpm -Uvh setarch-1.3-1.i386.rpm
rpm -Uvh tcl-8.3.5-92.i386.rpm

# From RedHat AS3 Disk 3
cd /mnt/cdrom/RedHat/RPMS
rpm -Uvh openmotif21-2.1.30-8.i386.rpm
rpm -Uvh compat-db-4.0.14-5.i386.rpm \
         compat-gcc-7.3-2.96.122.i386.rpm \
         compat-gcc-c++-7.3-2.96.122.i386.rpm \
         compat-libstdc++-7.3-2.96.122.i386.rpm \
         compat-libstdc++-devel-7.3-2.96.122.i386.rpm


Put gcc296 and g++296 first in $PATH variable by creating the following symbolic links:

mv /usr/bin/gcc /usr/bin/gcc323
mv /usr/bin/g++ /usr/bin/g++323
ln -s /usr/bin/gcc296 /usr/bin/gcc
ln -s /usr/bin/g++296 /usr/bin/g++

Make sure the hostname command returns a fully qualified host name by amending the /etc/hosts file if necessary:

hostname
Install the 3006854 patch:

unzip p3006854_9204_LINUX.zip
cd 3006854
sh rhel3_pre_install.sh


18.  Run the installer (ORACLE 940 CD)

       $ ./runInstaller

     This will start the installation wizard

1. Ensure that we have logged in as oracle user before running the installer. To check this issue the following
   command.

    $id

 2. If the wizard fails to start saying that you don’t have permission to connect to the Xwindows.

     Start a new terminal with  root user and execute
   
     #xhost +

     And restart the installer again

    Note : The xhost + command will permit any user on network or local system to open window of his
               application on this xwindows server.


3. Follow the instructions provided by the wizard

Choose the inventory location to /u03/oracle/oraInventory (/u01/app/oracle/orainventory)
Choose unix group name as oinstall
The wizard will ask to execute a shell script as root user at /tmp/orainstRoot.sh

     Open a new terminal, and login as user root

      # su - root
      # /tmp/orainstRoot.sh

5.   Wizard will ask to run root.sh as root user

      Open a new terminal, and login as user root

      # su - root
      # /u03/oracle/root.sh
-------------------------------------------------------------------------------------------------------------------------
Tuxedo Installation


1. Log in as root.

     # su - root


2. # vi /etc/sysctl.conf

    Add the following line

     kernel.msgmni = 100

     sysctl -p (to set the value)


2. Create a directory /u02/psoft
 mkdir -p /u02/psoft
2. Create the linux user who will be the owner of WebLogic, we use psoft

    # useradd  -d /u02/psoft psoft

   Note: -d flag will create the home directory at given location instead of creating it at default
             location i.e. /home/psoft

5. Create directory to hold the BEA Tuxedo software

   # mkdir /u02/bea

6. Change the ownership of the above created directories to psoft user

   # chown psoft.psoft /u02/bea
   # chown psoft.psoft /u02/psoft

5. Log in as the Tuxedo administrator user i.e psoft.

    # su - psoft

6. Change to the tuxedo installer software directory.

 Mount the Tuxedo software.

5. Execute the shell script, install.sh to install tuxedo

    $./install.sh

6. The tuxedo install program will prompt to choose the platform to install for. Choose
   
    linux/aes21
   
7. When asked to choose the where files are to be installed, choose /u02/bea

8.  Provide the password for tlisten when asked for.

9. Follow the subsequent onscreen instructions and complete the installation.

--------------------------------------------------------------------------------------------------------------------
PeopleTools Installation

6. Login as psoft user

    # su - psoft

7. Make a folder to Install PeopleSoft Software
   mkdir -p /u02/psoft/PROD
7. Start the PeopleTools installation

    # cd /mnt/cdrom/Disk1
    # ./setup.linux
./setup.linux -is:javahome /usr/java/j2sdk1.4.2_08/bin -console

8. This will launch the installer wizard. Click Next when you see the welcome screen.

9. Follow the onscreen instructions.

Enter your license code for PeopleTools.
Choose Non-Unicode database for non multilingual installation
Select all the servers to be installed (Database Server, Application Server, Web Server, Batch server).
Specify the PS_HOME directory when asked for. (/u02/psoft/PROD)
When it prompts for the tuxedo directory, enter /u02/bea/tuxedo81

10. After the files have been installed, click Finish to complete the setup.

***Environment Hub machine name: [PSEMHUB] sudhir


--------------------------------------------------------------------------------------------------------------------
Installation of Peoplesoft Application
# su - psoft

6. Start the peopletools installation


    # cd /mnt/cdrom/hcm89/HCM89
$ ./setup.linux
./setup.linux -is:javahome /usr/java/j2sdk1.4.2_08/bin -console
     This will launch the installer wizard. Click Next when you see the welcome screen.

7. Follow the onscreen instructions

Enter your license code for PeopleSoft HRMS 8.9 Application.
Choose Non-Unicode database for non multilingual installation
Select all the servers to be installed (Only Web Server will be listed).
Specify the PS_HOME directory when asked for. (/u02/psoft/PROD)
When it prompts for the tuxedo directory, enter /u02/bea/tuxedo81
8. After the files have been installed, click Finish to complete the setup.



--------------------------------------------------------------------------------------------------------------------
Installation of Weblogic software

# su - psoft

5. Create directory to hold the BEA WebLogic software

   # mkdir /u02/weblogic

6. Change the ownership of the above created directories to psoft user

   # chown psoft.psoft /u02/weblogic

8. Change to the weblogic installer software directory.

Mount the Weblogic Software

9. Execute the shell script, install.sh to install weblogic

    $ ./install.sh -silent

10. The weblogic install program will detect the OS version and will prompt for the install location
      choose
         /u02/weblogic
11. Follow the subsequent onscreen instructions and complete the installation.

.bash_profile for --> psoft

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

# Oracle 9i

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/9.2.0.4.0; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/java/j2sdk1.4.2_08/bin:$ORACLE_HOME/bin:$PATH; export PATH
ORACLE_OWNER=oracle; export ORACLE_OWNER
ORACLE_SID=PROD; export ORACLE_SID
PS_HOME=/u02/bea/PROD
LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib; export CLASSPATH

LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/u02/psoft/PROD/bin/sqr/ORA/lib:/u01/app/oracle/product/9.2.0.4.0/lib
PATH=$PATH:$HOME/bin
. /u02/psoft/PROD/psconfig.sh
export NLSPATH=/u02/bea/tuxedo81/locale/C
export PATH LD_LIBRARY_PATH PS_HOME
cd /u02/psoft/PROD/appserv


No comments:

Post a Comment