Oracle Database 12c Release 2 (12.2) Installation On Oracle Linux 6 (OL6) and 7 (OL7) This article describes the installation of Oracle Database 12c Release 2 (12.2) 64-bit on Oracle Linux 6 (OL6) and 7 (OL7) 64-bit. The article is based on a server installation with a minimum of 2G swap and secure Linux set to permissive. 1Oracle® Database Installation Guide 11g Release 2 (11.2) for Linux E47689-13 September 2017.
This manual describes the âInstallation of Oracle Spatial 11.2.0.4â.
Prereq
Software
The necessary software can be downloaded by clicking on the link(s) below.
Installing Oracle Spatial 11.2.0.4Step 1:
Connect to the database where you want to install Oracle Spatial using SYSDBA privileges (use the SYS or SYSTEM accounts). For my install I used SQL*Plus to connect to the database.
Step 2:
Verify prerequisites. To install Oracle Spatial, we need to have JAVA virtual machine, Oracle intermedia and Oracle XML database products already installed. Verify if the products are installed by executing the following SQL. Irs pdf files.
Step 3:
The install scripts also require a MDSYS user account. Ensure MDSYS user exists or create one before installing Oracle Spatial.
Step 4:
Execute scripts to install Oracle Spatial.
Check invalid objects.
Making these unique colors available as PantoneLIVE digital standards allows suppliers to make use of the solid and tint references for label and packaging that are directly relevant to brand projects.All PantoneLIVE data values have been measured with an X-Rite SpectroEye with No Filter (M0) and comply with the X-Rite Graphics Arts Standard (XRGA). Since PantoneLIVE is a dynamic color cloud, we have reserved the range of colors starting with 35XX (e.g. The 3500-series) colors to reflect unique colors that represent some of the worldâs most prestigious global brands.
Check database options.
Information
Please let me know if this manual âInstallation of Oracle Spatial 11.2.0.4â was usefull to you. If there are faults or you have suggestions regarding this manual, please let me know. No rights can be derived from this manual.
Regards,
Maarten
System Requirements
Theseinstructions are for installing Red Hat Enterprise Linux 6 (RHEL6) on a 32-bitand 64-bit systems (x86_64).
Red Hatrecommends for 32 bit a minimum of 1GB memory/logical CPU, and for 64 bit aminimum of 1GB of memory, 1GB/logical CPU.
minimum disk size of above 12 GB, and aminimum root partition ('/') size of about 9 GB.
Red Hatdoes not include a floppy version of the boot images for RHEL6. Your systemwill need a boot-capable CDROM drive.
INSTALLATION STEPS OF LINUX/CENTOS6 â
1.Boot from the RHEL6DVD. At the boot screen, press the'Enter' key.
2. Press the 'tab' key to move focus to the'Skip' key, then press the 'Enter' key to continue.3. On the 'Welcome' screen, click the'Next' button. 4. Select the appropriate language, then click the'Next' button. 5. Select the relevant keyboard setting, then click the'Next' button. 6. Select the storage option necessary for the installationi.e. Basic storage device, then click the 'Next' button. 7. Enter a fully qualified host name âdipak.example.comâ,then click the 'Configure Network' button. Check the 'Connect automatically' checkbox. Ifyou are not using DHCP, click on the 'IPv4 Settings' tab, set themethod to 'Manual', click the 'Add' button and enter theappropriate network details.IP: 192.168.0.5 Netmask:255.255.255.0 Gateway:192.168.0.1then click the Apply button. 8. Select the relevant time zone by clicking on yournearest city on the map. Click on the 'Next' button to proceed. 9. Enter a root password for the server, then click the'Next' button to proceed. 10. Check the partitioning type you require. Click oncreate custom layout 11.Then created the following partitions /root -12gb /temp-4 Gb /i01-15Gb /swap-2gb (1.5 of RAM) /undotbs-512mb /temptbs-512mbs /redoA-512mb /redoB-512mb /redoC-512mb /index- 1024mb *Please be advised i have used the above partition structure keeping in mind of production servers. 13.Then select the following packages.(Gcc,lib,compat,sys)
Don'tworry too much about getting every package you might ever want -- you canalways add additional packages later.
wantto eject your boot CDROM prior to rebooting so you don't boot back to the bootiso image.
Thefinal installation screen has a 'reboot' bottom on the right corner. Again,make sure to remove any CDROM left in the drive from the initial boot of theinstallation program.
Red Hat Welcome
The first time you boot your newly-installed system in thegraphical run level (run level 5) the Red HatWelcome screens may automatically run.
If you are planning to taylor your system you can skip mostor all of these steps -- they are either unneeded or will be handled by taylor.
The welcome screens are intended for stand-alone systemsand guides you through a number of first time system administration tasks suchas:
You'll need to agree to the License agreement.
If running Taylor, then choose'no'. (You'll need to confirm 'No Thanks'.)
For theCreate Userscreen 'Forward' button with no additionsor adjustments.You'llneed to confirm you want to continue without a user account.
Accept the defaults.
·Acceptthe defaults. Donotchoose to reboot to enable kdumps.
On the next screen, you'll click on 'Other.' enter 'root'as the user and password you picked earlier. You'll see messages related tobeing logged in as root, and how it's not ideal, but this okay for this onetime.
Oncethe installation of RHEL6 is done, We have to do following configurationofRHEL6 for oracle 11g installation â
Once the installtion of RHEL6 is done,We have to do following configuration ofRHEL6 for oracle 11g installation-
A.We have to disable selinux from this file:
Setselinux=disabled and save the file.
#serviceiptables save
Thenrestart the service
C.Then we have to configure Yum
Oracle 11g Installation Manual Software
3.#mount/dev/cdrom/media
#cd/cdrom/media
#cpâav* /YUM
#rpm -ivhdeltarpm-**.el6.x86_64.rpm
# rpm âivh createrepo-**.rpm
rpm -ivh vsftpd-2.2.2-6.el6.x86_64.rpm
#createrepo-v/YUM
#cd /etc/yum.repos.d/
#virhel.repo
[rhel]
Baseurl=file:///YUM
Gpgcheck=0
STEP1: Download the software
http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html
Thereare many prerequisites to installing Oracle 11gR2 and the following are thesteps I took.
#P.S.There is another kernel.shmmax and kernel.shmall parameters.Make sure to put #before them or the new values wont work.
Run thefollowing command to change the current kernel parameters.
Update/etc/security/limits.conf
#vim /etc/security/limits.conf
Scroll to the bottom and above the â# End of fileâ line, add:
Addusers and groups
Amend the'/etc/security/limits.d/90-nproc.conf' file as described below.Set secure Linux to permissive by editing the'/etc/selinux/config' file, making sure the SELINUX flag is set asfollows. Once the changeis complete, restart the server. If you have the Linux firewall enabled, you will need todisable it.
Edit host file & edit the following thingsat last line-
192.168.0.5soumya.example.comsoumya
#Vim /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=soumya.example.com
Switchto the Oracle software directory and setup the permissions there: cd/root/Desktop/Oraclesoftware chown -R oracle:oinstall database chmod -R 775 database
su oracle
vi /home/oracle/.bash_profile ***Add the following (use hostname from the command line to get your hostnameand use the correct paths for your install): export TMP=/tmp export TMPDIR=$TMP export ORACLE_HOSTNAME={Enter your hostname} export ORACLE_UNQNAME={Enter your DB name} export ORACLE_BASE=/i01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1 export ORACLE_SID={Enter your DB name} export PATH=/usr/sbin:$ORACLE_HOME/bin:$PATH export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/lib64 export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
xhost +soumya.example.com
Oraclehas a list of dependencies which have to be verified. In the list below, thosedependencies which had to be installed using yum are noted with (*):
binutils-2.17.50.0.6 compat-libstdc++-33-3.2.3 (*) elfutils-libelf-0.125 elfutils-libelf-devel-0.125 (*) gcc-4.1.2 gcc-c++-4.1.2 (*) glibc-2.5-24 glibc-common-2.5 glibc-devel-2.5 glibc-headers-2.5 ksh-20060214 (*) libaio-0.3.106 libaio-devel-0.3.106 libgcc-4.1.2 libgomp-4.1.2 libstdc++-4.1.2 libstdc++-devel-4.1.2 make-3.81 numactl-devel-0.9.8.i386 (*) sysstat-7.0.2 (*)
AfterSuccessful installation of Linux/CentOS6. We will be install & usedX-manager in window system to graphically export Linux screen in window toinstall Oracle 11g.
Xmanageris a powerful and easy-to-use PC X server that runs on Windows platforms. Itallows you to bring remote Unix/Linux desktops to your Windows PC seamlessly.You can also run remote X applications securely through the SSH (Secure Shell)protocol even when your Windows PC is inside a private network and a firewallis between your PC and the remote server. so basically it will allow you toconnect to any network/system having Unix/Linux OS installed from your windowsmachine and thus give you the ability to work at your own place using your ownsystem.
Getting Started: Download, Install and Start withXDMCP
Download Xmanager
1. Whenyou execute the downloaded file, InstallShield Wizard will begin theinstallation process.
2. Followthe instruction of InstallShield Wizard. If you have purchased Xmanagerlicense, please use the product key that you have received from us to install.Otherwise, use 'evaluation' for the product key.
3. When the install iscompleted, Xmanager 4 icon will be placed on the desktop.
To access a full graphic desktop of remoteUnix/Linux server, go through the following steps to start with the XDMCPconnection method. You can also start withXstartif you need to run only a single remote X applicationinstead of a full desktop.
Connecting and executing remote X application withXstart
WithXstartyoucan create a session that executes a remote X application. Once you havecreated anXstartsession, you can bring a remote X application on yourWindows with a single click.
1. Fromthe Xmanager folder, run Xstart. RESULT: The Xstart windowopens.
2. ClickNew. RESULT: ANew Sessiondialog box appears.
4. Inthe Host box, enter the hostname or IP address of the remoteLinux/Unix host.
5. Inthe Protocol box, select an appropriate protocol that isavailable on the host. The SSH protocol is appropriate formost hosts.
6. Toset up protocol-specific options such as port and time-out, click Setup.
7. Inthe Username box, enter the user account on the host.
8. Selectan Authentication type from the Authentication list.
9. Toset up Authentication-specific options such as password and public key, click Setup.
10. In theExecution Commandbox, enter a command that will beexecuted on the host. For example, enter the following to run anxterm:
11. ClickRun. RESULT: Anxtermwindow opens.
12. After login through x-manager, you can checkit by running a command as root
# xclock
The output will showgraphical clock. It means its working fine.To perform Oracle Installation process switch to ORACLE user.
$cd /root/Desktop/Oracle software/database
./runInstaller
*1.Provide your email address and Oracle support password to get security updatesfrom Oracle.
*2. .Installation options like creating a database, installing oracle software onlyor upgrading the database. Select 'Create and configure a database'.
*3.Choose the system class here. Select'Server Class' it provides more advanced options.
*4.Choose from creating a single node installation from node selections.
*6.If you choose typical install in previous screen, then you will see this pagefor Install Configurations. Provide Oracle software installation location,database files location and administrator password etc.
*7.Specify the Oracle install inventory location and Operating system group'oinstall'.
*8.Now allprerequisite checks will be performed here and if every thing is ok you will bemoved to the install summary page. You can hit the 'Back' button andcome back to see the status of all the checks performed.
*9.Installation Summary page. Hit 'Finish' to start the Installation.
*10.Installation Progress. This will take several minutes and it will automaticallyinvoke Database COnfiguration Assistant to create a database.
*11.Database Configuration Assistant invoked by the installer.
*12.Once DBCA has finished creating the database, it will show a page like this. Itis a summary of the database that has just been created.
*13.As a last step you will be asked to execute some configuration scripts as root.
Open another console and login as root. Executefollowing once logged in successfully.
*14. When configuration scripts are executedsuccessfully by root press OK in the installer and you will see this'Finish' page. Note down the management URL and press'Close'.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |