A collection of guides, practices, and recipes…

This is a step by step guide for creating a new Oracle 11gr2 server using Oracle Enterprise Linux 6.4 in an attended install. This guide includes joining the server to an established windows active directory domain.

Step 1.

Download the install software from the oracle cloud delivery system.

http://edelivery.oracle.com/linux

Step 2.

Start up the server with the DVD in place. I always run the provided media test since I don’t like surprises.

Step 3.

Work your way through the screens using the appropriate language and keyboard choices, accepting the default values. This guide assumes basic storage, and addressing all the possible storage scenarios is outside of the scope of this guide.

Step 4.

  • Enter a fully qualified host name.  If you do not have an established domain to join, use [machine].localdomain
  • Click Configure Network
  • Select the network connection you will be using for this server, and chose “Edit”
  • If you are not using DHCP, click on the IPv4 Settings tab and change the Method Drop down to ‘Manual’, then click ‘Add’ to provide the relevant information. Once complete, click apply, then close.

Step 5.

Select the appropriate Time zone

Step 6.

Select ‘Use All Space’, and then check ‘Review and modify partitioning layout’

  • Follow these guidelines for setting your swap size:
RAM Swap Space
Between 1 GB and 2 GB 1.5 times the size of the RAM
Between 2 GB and 16 GB Equal to the size of the RAM
More than 16 GB 16 GB
  • Write Changes to disk

Step 7.

Confirm your selections for partitions. If in doubt, go with ext4 file system.  Keep in mind that if you are planning to use ASM, you need to leave those devices as raw volumes.

Step 8.

Chose Basic Server, and select the Customize Now option

Step 9.

For a gnome desktop, select the following options:

  • Desktops
    • Desktop
    • Desktop Platform
    • Fonts
    • General Purpose Desktop
    • Graphical Administration Tools
    • X Windows System

Click Next

Step 10.

After the machine reboots, chose to connect later for updates and ULN registration.

Step 11.

Create non-admin user.

Step 12.

Log in with Non-admin user.

Step 13.

Disable SELinux and firewall

  • su to root
  • vi /etc/selinux/config
  • Set SELINUX = disabled
  • service ipchains stop
  • service iptables stop
  • chkconfig ipchains off
  • chkconfig iptables off
  • reboot server

Step 14.

Install VNC Server

yum install tigervnc*

Edit vncservers file:
# vi /etc/sysconfig/vncservers

Uncomment the two lines below and edit it with your own username:

VNCSERVERS=”2:myusername”VNCSERVERARGS[2]=”-geometry 800×600 -nolisten tcp -nohttpd -localhost”

Set the password for vncserver user:

# vncpasswd
Password: myvncpassword
Verify: myvncpassword

Start the VNCServer:

# service vncserver start

Step 15.

Set up authentication to join windows domain using winbind. The GUI tool will catch most of this, but sometimes you’ll need to double check the config files if you fail to join the domain.

net ads join –U username

in /etc/krb5.conf:

default_realm = EXAMPLE.COM
dns_lookup_realm = true
dns_lookup_kdc = true
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = yes

[realms]
EXAMPLE.COM = {
default_domain = example.com
}

[domain_realm]
.example.com = EXAMPLE.COM
example.com = EXAMPLE.COM

in /etc/samba/smb.conf:

workgroup = example
realm = EXAMPLE.COM
security = ads
idmap uid = 10000-500000
idmap gid = 10000-500000
template shell = /bin/bash
winbind use default domain = true
winbind offline logon = false
winbind nested groups = yes
encrypt passwords = yes

Test your ad connection. As root:

chkconfig winbind on     --starts winbind on reboot
service winbind start      
wbinfo -g      --polls the DC for domain groups

Step 16.

Set up NTFS drivers:

  • determine kernel:
    uname -m
  • go get the proper repositores and install

Oracle Enterprise Linux 4.x x86:

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el4.rf.i386.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el4.rf.i386.rpm

Oracle Enterprise Linux 4.x x86_64:

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el4.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el4.rf.x86_64.rpm

Oracle Enterprise Linux / Oracle Linux 5.x x86:

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.i386.rpm

Oracle Enterprise Linux / Oracle Linux 5.x x86_64:

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

Oracle Linux 6.x x86:

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm

Oracle Linux 6.x x86_64:

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Install the NTFS driver:

Oracle Enterprise Linux 4.x:

# yum install dkms dkms-fuse fuse fuse-ntfs-3g 

Oracle Enterprise Linux / Oracle Linux 5.0 – 5.2:

# yum install dkms dkms-fuse fuse fuse-ntfs-3g 

Oracle Enterprise Linux / Oracle Linux 5.3:

NTFS support under Oracle Enterprise Linux 5.3 is broken and you should consider to upgrade to the 5.4 or later. (https://bugzilla.redhat.com/show_bug.cgi?id=481495)

Oracle Enterprise Linux / Oracle Linux 5.4 – 5.x:

As of Oracle Enterprise Linux 5.4 the the kernel fuse module (dkms, dkms-fuse) is included in the kernel and should not be installed.

# yum install fuse fuse-ntfs-3g 

Oracle Enterprise Linux / Oracle Linux 6.x:

# yum install fuse fuse-ntfs-3g


From this point on, you will be able to attach to network shares, mount usb drives with the ntfs file system, and use your AD user groups for administration. Our next steps are to create the local users and groups needed for DBA work.

Step 1.

# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol6.repo
# yum install oracle-rdbms-server-11gR2-preinstall
# yum update


Step 2.

create dba user groups:

groupadd -g 501 oinstall
groupadd -g 502 dba
groupadd -g 503 oper
groupadd -g 504 asmadmin
groupadd -g 506 asmdba
groupadd -g 505 asmoper

Step 3.

Change password for user oracle

Step 4.

reboot the server

Step 5.

Login with user oracle.  Set up /home/oracle/.bash_profile with oracle specific settings:

# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME=pit-qa11gr2-2.confluence.com; export ORACLE_HOSTNAME
#ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME –set if you always have the same starting db
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
#ORACLE_SID=DB11G; export ORACLE_SID –Set if you have the same starting db every time

PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

Step 6.

Log out, and log back in with oracle to ensure your .bash_profile is working

Your server is now ready for database instillation.

 

 

 

 

Comments (0)

  1. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    This is nicely said. !

    viagra online order viagra immune
    cheap viagra
    puscifer v is for viagra – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  2. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    Terrific data. Regards!

    viagra sucess stories does viagra help for multiple orgasms
    viagra for women
    herbs viagra – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  3. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    You made your point!

    viagra without prescription australia viagra online au
    viagra without a doctor prescription
    inventor of viagra – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  4. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    Really tons of excellent tips!

    sildenafil viagra bayer viagra sales
    cheap viagra
    what’s the viagra triangle in chicago – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  5. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    Kudos! I value it!

    tadalafil viagra a href buy viagra online a
    viagra online
    viagra rogain online sales – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  6. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    With thanks! A good amount of stuff.

    united states discount viagra viagra without a percription
    generic viagra 100mg
    buy viagra on line uk – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  7. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    You actually explained it really well!

    free trial generic viagra combining levitra and viagra
    buy generic viagra
    tablet viagra – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  8. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    Fantastic stuff. Thank you!

    will not stay hard w viagra viagra and arginine nitrate
    viagra generic
    viagra for women germany – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  9. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    You actually revealed it effectively!

    viagra scotland viagra usage women
    buy generic viagra
    generic viagra 24 hours delivery – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  10. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    Nicely put. With thanks.

    which works better cialis viagra levitra mobic viagra
    viagra 100mg
    should you exercise after taking viagra – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  11. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    You revealed it effectively.

    russia status of viagra illegal viagra sales canada
    viagra without a doctor prescription
    mens viagra cream – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  12. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    Very good forum posts, Thanks.

    blood pressure medications similar to viagra viagra placard
    viagra for sale uk
    female free sample viagra – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  13. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    This is nicely said. .

    viagra lotion mens health natural viagra
    viagra online
    dosing equivalence beween viagra and cialis – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  14. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    Thank you, Very good stuff!

    herbal viagra alternative maxim viagra versus cialis versus levitra
    generic viagra 100mg
    viagra special delivery uk – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  15. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    Nicely put, Appreciate it.

    keyword viagra rings that hold viagra
    viagra pills
    viagra ingredient – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  16. Larryamulp said on 25-07-2019

    Your comment is awaiting moderation.

    Many thanks, A lot of tips!

    usa generic viagra file viewtopic t 144 viagra
    viagra pills
    abu dhabi viagra – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  17. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    You actually said that adequately!

    ladys viagra overnight viagra generic
    viagra online
    ed viagra – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  18. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Helpful data. Cheers!

    personal experience using viagra viagra ejactulation
    viagra online
    viagra order mail – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  19. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Seriously many of superb tips.

    viagra fertility affects viagra exp date
    viagra generic
    keyword order viagra – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  20. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Amazing material. Thanks a lot.

    what is the safe viagra dosage i been using viagra everyday
    buy viagra online
    herbal viagra review – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  21. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Incredible a good deal of useful material!

    viagra meltabs gernic viagra
    viagra online
    viagra altitude – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  22. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Many thanks. I appreciate it!

    wife gave viagra dog mdma viagra
    buy viagra online
    comparacion viagra versus cialis – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  23. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Thank you, Ample postings!

    cheap viagra from canada niagra to viagra play
    viagra pills
    first days viagra sales tesco – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  24. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Regards, Numerous info!

    does viagra canada prescription for ordering viagra
    generic viagra 100mg
    viagra eye problems – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  25. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Beneficial postings. Many thanks!

    international shipping order viagra viagra and coumadin
    generic viagra online
    new female viagra – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  26. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Very good write ups. Thanks!

    viagra paxil lasting buy chinese herbal viagra duro
    cheap viagra
    united states discount viagra – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  27. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    You said it adequately..

    viagra 375 cheap viagra cialis levitra what’s best
    buy generic viagra
    viagra cheapest online sellers – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  28. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Incredible a good deal of very good facts.

    blueberry like viagra viagra larger forever
    generic viagra online
    time magazine rush limbaugh viagra – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  29. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Kudos, Numerous posts!

    canadian pharmacy generic viagra viagra meltaways
    viagra 100mg
    the long and difficult 13-year viagra – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  30. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Thanks a lot! I like it.

    cheapest viagra anywhere watermelon viagra connection
    viagra pills
    viagra starter – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  31. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    You actually revealed it superbly!

    is there a viagra generic viagra other uses
    viagra generic
    viagra gold – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  32. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Useful stuff. With thanks.

    discount viagra wholesale stores discount pharmacy viagra 50 mg from canadian pharmacy
    cheap viagra
    does viagra help keep it up – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  33. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Seriously plenty of excellent data!

    viagra 100mg herbal supplements that replaces viagra
    generic viagra 100mg
    works viagra – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  34. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    With thanks, A lot of facts.

    viagra in clubs pfizer viagra free trial
    buy generic viagra
    paroxetine viagra – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  35. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Whoa tons of awesome info.

    viagra find buy cheap search generic viagra title object
    cheap viagra
    rude viagra cartoons – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  36. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Great write ups. With thanks!

    viagra types where to buy viagra in budapest
    cheap viagra
    viagra order cheap – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  37. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Beneficial write ups. Appreciate it!

    purchase viagra online with paypal reduce headache when taking viagra
    buy viagra online
    kaboom answer to viagra – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  38. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    With thanks! Helpful information.

    kidney transplant and viagra honest place to buy viagra
    viagra for women
    ordering generic viagra online from canada – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  39. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Cheers! A lot of knowledge.

    viagra free sites edinburgh search find buy viagra soft online
    buy viagra
    buy viagra online no prescription – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  40. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Awesome forum posts, Thank you!

    generic viagra reviews images of viagra
    generic viagra 100mg
    viagra vs – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  41. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Wonderful content. Thanks a lot!

    cvs viagra xost viagra drug profile
    generic viagra 100mg
    pay shipping for viagra – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  42. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Wow quite a lot of amazing info.

    viagra title object marketing ideas for viagra
    generic viagra
    benefits of recreational viagra use – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  43. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Incredible a good deal of valuable material!

    loe viagra insurance online viagra
    buy viagra
    viagra every day – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  44. Larryamulp said on 26-07-2019

    Your comment is awaiting moderation.

    Amazing advice. Appreciate it.

    wellman clinic viagra is viagra perscribed
    viagra generic
    who cannot take viagra – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  45. Larryamulp said on 27-07-2019

    Your comment is awaiting moderation.

    Very good info, Regards!

    buy viagra soft woman taking viagra
    viagra for women
    canadian pharmacies nexium viagra – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  46. Larryamulp said on 27-07-2019

    Your comment is awaiting moderation.

    Fantastic posts, Thanks!

    compare viagra levitra viagra prescription uk
    generic viagra 100mg
    viagra lawsuit updates in march 2009 – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  47. Larryamulp said on 27-07-2019

    Your comment is awaiting moderation.

    You’ve made your point.

    herbal viagra london online pharmacy cheap viagra
    viagra without a doctor prescription
    viagra causes cataracks – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  48. Larryamulp said on 27-07-2019

    Your comment is awaiting moderation.

    You reported it wonderfully!

    when does viagra go generic viagra leeds po box
    viagra pills
    generic indian viagra – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  49. Larryamulp said on 27-07-2019

    Your comment is awaiting moderation.

    Whoa quite a lot of valuable tips!

    viagra poppers rx board viagra
    viagra without a doctors prescription
    warning window buy viagra now – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  50. Larryamulp said on 27-07-2019

    Your comment is awaiting moderation.

    Cheers! Useful information.

    shop and compare charles linskaill viagra buy pfizer viagra
    viagra without a doctors prescription
    low cost viagra no subscription required – https://genericviagrantx.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  51. Larryamulp said on 27-07-2019

    Your comment is awaiting moderation.

    You actually expressed that terrifically!

    viagra warnings how long do viagra last
    buy generic viagra
    mastrubation using viagra – https://genericviagramsl.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

  52. Larryamulp said on 27-07-2019

    Your comment is awaiting moderation.

    Great data. Thanks!

    viagra cialis levitra how to use how to take viagra sublingual
    generic viagra 100mg
    viagra in kids for hypertension – https://genericviagrarcp.com

    GeraldRhymn
    Dwaynegen
    Kevinroora

Leave a Reply

Your email address will not be published. Required fields are marked *