Ubuntu Linux, ubuntu desktop, Linux operating system, ubuntu guide

RHEL5

How to Install Oracle 11g Express on redhat

by on Oct.20, 2011, under Oracle, RHEL5

This post will cover basic installation and configuration of Oracle 11g Express Edition (XE) on RHEL 5.7

I have installed the RHEL 5.7 (64 bit)using all the development tools and libraries.  Partition is default partition.

Basic installation is straight forward.

Click here for download the Oracle 11g Express Edition. Now oracle releasing the 64 bit version only.

After the download Unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip.

#unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip

This will create the directory Disk1. Change to the Disk1 directory:

# cd Disk1

#ls

oracle-xe-11.2.0-1.0.x86_64.rpm  response  upgrade

Install the rpm using rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm

#rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm  Preparing…                ########################################### [100%]     1:oracle-xe              ########################################### [100%]

Executing post-install steps…

You must run ’/etc/init.d/oracle-xe configure’ as the root user to configure the database.

Configure 11g XE Database and Option

# /etc/init.d/oracle-xe configure

Oracle Database 11g Express Edition Configuration

————————————————-

This will configure on-boot properties of Oracle Database 11g Express  Edition.  The following questions will determine whether the database should  be starting upon system boot, the ports it will use, and the passwords that  will be used for database accounts.  Press <enter> to accept the defaults.

Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]: Specify a port that will be used for the database listener [1521]: Specify a password to be used for database accounts.  Note that the same  password will be used for SYS and SYSTEM.  Oracle recommends the use of  different passwords for each database account.  This can be done after

initial configuration:

Confirm the password:

Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:y

Starting Oracle Net Listener…Done

Configuring database…Done

Starting Oracle Database 11g Express Edition instance…Done

Installation completed successfully.</enter>

The installation created the directory /u01 under which Oracle XE is installed.

Set the Environment

To set the required Oracle environment variables, use the oracle_env.sh the script included under cd /u01/app/oracle/product/11.2.0/xe/bin

# cd /u01/app/oracle/product/11.2.0/xe/bin
To set the environment for your current session run

#./oracle_env.sh
To set the environment permanently for users, add the following to the .bashrc or .bash_profile of the users you want to access the environment:

#su 0racle

$vim .bash_profile

add the following entries

. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
You should now be able to access SQL*Plus

$sqlplus /nolog
SQL*Plus: Release 11.2.0.2.0 Production on THU Oct 2o 06:10:26 2011
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
SQL> connect sys/Password as sysdba
Connected.
SQL>

 

 

 

1 Comment :, , , , more...

HOW to Dual boot Windows Linux laptop

by on Apr.22, 2011, under RHEL5, Ubuntu, ubuntu 10.04, ubuntu 10.10, ubuntu 11.04, ubuntu 7.10, ubuntu 8.04, ubuntu 8.10, ubuntu 9.04, Ubuntu 9.10

Your goal is to have a laptop into which you can boot Windows or Linux.

Your primary understanding is that Windows XP is an old operating system and makes some important ignorant assumptions.

The first assumption is that Windows was a proprietary computer operating system produced by a Corporation that wanted a monopoly control of the computer operating system market. This meant that it would

Assume that it was going to be the only operating system of the computer

And assume that it need no capacities to recognize the presence of any other operating system or file system.

This first assumption that Windows would be the only operating system of the computer means that you have to install a boot record and a bios that establishes that this computer is “compatible” rather than name the more efficient modern setting.

The second assumption means that you have to make sure that Windows is installed in the first true partition right at the front of the cylinder. You can install Linux in a logical partition behind that on the hard drive.

Linux is a modern computer operating system and is adaptable to its environment and is produced in a way that it recognizes other computer operating systems on the hard drive and it can install itself anywhere.

Your secondary understanding is that you will have to first install Linux to prepare the hard drive if such a way as that there is a NTFS formatted partition in your very first primary, (first) partition, i.e. /dev/sda1. This is for windows to reside in. Part of the secondary understanding is that you don’t install all the bells and whistles with this Linux installation because you are going to nuke the boot record when you install Windows into the partition. This is no problem because then you will install Linux a second time and then it will create the boot record in grub and make everything happy.

Part of the secondary understanding is that you will install Linux for the primary purpose of downloading gparted, a partition manager, and move your partitions around if you want to save your data or whatever. I have a better idea.

By far better idea is that you do what I ended up doing which is to

— Boot from a live Linux disk.

— backup your data to a thumb drive or USB drive.

— Boot from a live Linux disk

— just nuke and repartition your hard drive so

— there is an empty NTFS Partition at /dev/sda1.

— Make sure that the setting for your bios is set to “’compatible” this is the reason (for probably about 24 failed Windows installs where Windows simply couldn’t see the partitions I was making for it. I am not exaggerating the number of failed attempts)
— Install Linux lightly into the first part of a logical extension making room for a swap drive that is twice the size your RAM memory

— Make sure the boot flag on the partition that Windows will reside is set to “boot”

— Reboot with the Windows disk that you have. It will now see where it is supposed to go, being completely blind to everything that’s in the logical extension. As long as you don’t choose to format your hard drive all the damage that Windows will do will be to put Windows on your computer. That is enough.

— During the install leave the room and do something fun because looking back at the computer while Windows is installing can make you crazy.

— Reboot into Windows and there is something that you will do here but I will NOT mention here for clarity but I will make an endnote containing that information.

— Setup Windows to please yourself.

— reboot from the live Linux distribution.

— Install Linux. It will ask you about whether you want to just install it along with an operating system or not. I hope it is not necessary for me to answer that question for you.

— At this time Linux will rewrite the boot data so from then on when you start a computer you can hit escape and get that menu that let you choose whether you want to run Windows or a modern operating system.

— Now what you’ll want to do if you don’t have the CD that came with the computer with the drivers for your laptop is to Ethernet cable connect your laptop to a computer with an Internet connection. Go to your laptop manufacturer’s website and download the drivers for the Windows operating system wireless app. Then when you reboot into Windows with that installed you can connect to the Internet and get all the rest of the drivers and whenever you want in the way of apps.

1 Comment : more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!