Monthly Archives: March 2014

Oracle Database 12c on Oracle Linux 6 – Step 15: Format the 13 Linux Disks using the Linux Disk Utility

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

15-01

Select Applications -> System Tools -> Disk Utility from the menu bar.

15-02

Select the 2nd drive (/dev/sdb) and click Create Partition.

Note:

You’re looking for the 2nd drive under the SATA Host Adaptor. When you select it you’ll see /dev/sdb in the Device: field (highlighted yellow and pointed to by the yellow arrow).

Update:

It appears that the latest version of Oracle Linux 6 (6.5) has changed the above UI a bit. You’ll have to use the Format Drive button and choose Master Boot Record in order for the Create Partition button to appear.

15-03

Type ASMDISK01 and uncheck the Take ownership of filesystem box and click Create.
Do this for ALL of the ASM disks, incrementing the name from ASMDISK01 through ASMDISK13.

Note:

If you forget which disk you are creating (disk partition creation takes a while) just look at the Location field. Decrement the port number by one to get the correct ASMDISK number. For example; If it reads Port 10 of SATA Host Adapter, then you are on ASMDISK09. I highlighted the Location field in the above screen shot.

15-04

Once you are finished with all 13 ASM disks, Select File -> Quit to exit the Disk Utility.

Oracle Database 12c on Oracle Linux 6 – Step 14: Download, Configure and Install rlwrap < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 16: Configure ASM and Create the 13 ASM Disks

Advertisement

Oracle Database 12c on Oracle Linux 6 – Step 14: Download, Configure and Install rlwrap

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

14-01

Re-open your web browser, use google to search for rlwrap and click the RL wrap – Utopia.ision.nl link.

14-02

Click the rlwrap-0.40.tar.gz link.

Note:

rlwrap was upgraded to 0.40 after I did this guide (the images show 0.37). You should use whatever version is available and then modify the commands below to use that version.

14-03

Click OK to open the file with the Archive Manager.

14-04

Click Extract.

14-05

Click Extract.

14-06

Click Close.

14-07

Go back to your terminal window and type the following commands, pressing Enter after each command.

cd /root/rlwrap-040/
 ./configure

Note:

Make sure you put the period in front of the / for the configure command. And again, use the actual version numbers that you downloaded.

14-08

Type the following command and press Enter.

make && make install

Eventually you will see a make[1]: Leaving directory `/root/rlwrap-0.40'

Note:
Again, the version will be the version you downloaded.

Oracle Database 12c on Oracle Linux 6 – Step 13: Reset the oracle Users Password < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 15: Format the 13 Linux Disks using the Linux Disk Utility

 

 


Oracle Database 12c on Oracle Linux 6 – Step 13: Reset the oracle Users Password

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

13-01

Type the following command and press Enter.

passwd oracle

Then type oracle at the New password prompt and press Enter (you’ll get the above warnings). Type oracle at the Retype new password prompt and press Enter.

Note:

See the note on Joes in the introduction. Your oracle user password should never be oracle if you care about the security of your system.

Oracle Database 12c on Oracle Linux 6 – Step 12: Download and Install the Oracle 12c Pre-Install Package < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 14: Download, Configure and Install rlwrap


Oracle Database 12c on Oracle Linux 6 – Step 12: Download and Install the Oracle 12c Pre-Install Package

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

12-01

Type the following command and press Enter.

yum install oracle-rdbms-server-12cR1-preinstall

12-02

Type y at the Is this ok [y/N]: prompt and press Enter.

Eventually you’ll see a Complete!

Oracle Database 12c on Oracle Linux 6 – Step 11: Download and Install Oracle ASMLib < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 13: Reset the oracle Users Password

 


Oracle Database 12c on Oracle Linux 6 – Step 11: Download and Install Oracle ASMLib

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

11-01

Click the Firefox icon in the menu bar to open a web browser window.

11-02

Use google to search for oracle linux 6 asmlib and click the Oracle ASMLib Downloads for Oracle Linux6 link.

11-03

Scroll down and click the link in the Library and Tools box.

Note:

The version number of the link could be slightly different if updates have been made.
As of this install it was oracleasmlib-2.0.4-1.el6.x86_64.rpm.

11-04

Click OK to open the rpm with the Package Installer.

11-05

Click Continue Anyway.

11-06

Click Install.

Oracle Database 12c on Oracle Linux 6 – Step 10: Download and Install Oracle ASM Support Packages < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 12: Download and Install the Oracle 12c Pre-Install Package

 


Oracle Database 12c on Oracle Linux 6 – Step 10: Download and Install Oracle ASM Support Packages

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

10-01

Type the following command and press Enter.

yum install oracleasm-support

10-02

Type y at the Is this ok [y/N]: prompt and press Enter.

Eventually you’ll see a Complete!

Oracle Database 12c on Linux 6 – Step 9: Download and Install Kernel, GCC, and Readline Packages < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 11: Download and Install Oracle ASMLib

 


Oracle Database 12c on Linux 6 – Step 9: Download and Install Kernel, GCC, and Readline Packages

Part of this series of posts: Oracle Database 12c on Linux 6

09-01

Type the following command and press Enter.

yum install kernel-uek-devel gcc readline-devel

09-02

Type y at the Is this ok [y/N]: prompt and press Enter.

Oracle Database 12c on Oracle Linux 6 – Step 8: Download and Install the Flash Plugin for Firefox < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 10: Download and Install Oracle ASM Support Packages


Oracle Database 12c on Oracle Linux 6 – Step 8: Download and Install the Flash Plugin for Firefox

Part of this series of posts: Oracle Database 12c on Linux 6

08-01

Type the following commands, pressing Enter after each line.

rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
yum install flash-plugin nspluginwrapper.x86_64 nspluginwrapper.i686 alsa-plugins-pulseaudio.i686 libcurl.i686

Note:

I shrank the terminal window so the commands would fit on one line, but this isn’t necessary. You can just continue typing past the end of the line and the command will wrap around to the next line. Don’t press enter until you’ve typed in the entire command. Also, check the output of the command as it’s not unusual to type one of the package names incorrectly. If you do, you can use the up arrow key and fix the command. It’s OK to try to install multiple times.

08-02

Type y at the Is this ok [y/N]: prompt and press Enter.

08-03

Eventually you’ll see a complete.

Oracle Database 12c on Oracle Linux 6 – Step 7: Update Oracle Linux with the Latest Software < Previous Post – Next Post > Oracle Database 12c on Linux 6 – Step 9: Download and Install Kernel, GCC, and Readline Packages

 


Oracle Database 12c on Oracle Linux 6 – Step 7: Update Oracle Linux with the Latest Software

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

07-01

Type the following command and press Enter.

yum update

Note:

By default your Linux installation points to the public yum repository so there is no longer any need to update your yum configuration to get the above command to work. If you have support then you should first change your yum configuration to point to the correct repository.
Also, the package update process might have a hold on some files. If you get a message about this, just wait and eventually the hold will be released.

07-02

Type y at the Is this ok [y/N]: prompt and press Enter.

Note:

The number of packages may be different when you do your install if there have been more updates since this guide was written. You shouldn’t worry about it.

07-03

Type y at the Is this ok [y/N]: prompt and press Enter.

07-04

Eventually you’ll see a Complete!

Oracle Database 12c on Oracle Linux 6 – Step 6: Reset the root user password < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 8: Download and Install the Flash Plugin for Firefox


Oracle Database 12c on Oracle Linux 6 – Step 6: Reset the root user password

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

06-01

Type the following command and press Enter.

passwd

Type root at the New password prompt and press Enter (you’ll get the above error messages). Type root at the Retype new password prompt and press Enter.

Note:
See the note about Joes in the Introduction. Never use root as the root password for a system where security matters.

Oracle Database 12c on Oracle Linux 6 – Step 5: Disable the Firewall, iptables and SELINUX < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 7: Update Oracle Linux with the Latest Software