Work in progress

Oracle

Preparations

Oracle 11g on Squeeze (amd64)

  1. aptitude install build-essential ia32-libs libaio1 libstdc++5 xauth

  2. Creating users and groups
    • For me, those are system users and groups because they take care of a service, you'll find several articles creating regular groups and users, this should be no difference except organizational and philosophical. :-)

    • addgroup --system oinstall

    • addgroup --system dba

    • adduser --system --ingroup oinstall --shell /bin/bash oracle

    • adduser oracle dba

  3. Adapting the system to Oracle requirements
    1. sysctl
      1. Add a file /etc/sysctl.d/local-oracle

    2. security/limits
      1. Add a file /etc/security/limits.d/local-oracle

      2. PAM
        • Usually, you just have to enable pam_limits.so in /etc/pam.d/su, but make sure it is active for  /etc/pam.d/{login,sshd,su} 

  4. Nasty hacks
    1. ln -s /usr/bin/basename /bin/basename

      • Yes, it's required, believe me, I tried to install without it. :-)

  5. Running the installer
    1. Graphical
      • {{{./runInstaller

Oracle 10g on Squeeze (amd64)

  1. aptitude install build-essential ia32-libs libaio1 libstdc++5 xauth

  2. Creating users and groups
    • For me, those are system users and groups because they take care of a service, you'll find several articles creating regular groups and users, this should be no difference except organizational and philosophical. :-)

    • addgroup --system oinstall

    • addgroup --system dba

    • adduser --system --ingroup oinstall --shell /bin/bash oracle

    • adduser oracle dba

  3. Adapting the system to Oracle requirements
    1. sysctl
      1. Add a file /etc/sysctl.d/local-oracle

    2. security/limits
      1. Add a file /etc/security/limits.d/local-oracle

      2. PAM
        • Usually, you just have to enable pam_limits.so in /etc/pam.d/su, but make sure it is active for  /etc/pam.d/{login,sshd,su} 

  4. Nasty hacks
    1. ln -s /usr/bin/basename /bin/basename

      • Yes, it's required, believe me, I tried to install without it. :-)


?CategoryDatabases ?CategoryNonFree