In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Goldengate12c for linux64bit installation and deployment process, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
1. After goldengate12c, provide graphical interface for installation and deployment
At the same time, you need to download rlwrap-0.37-1.el6.i686.rpm from linux for installation and deployment.
And readline-devel-6.0-4.el6.x86_64.rpm needs to be installed
The official website says this is necessary.
2 、 Installing the readline wrapper
Use the terminal window connected as root to install the readline wrapper utility. Change directory to / stage and use the yum command to install rlwrap:
Host01-Linux
[root@host01 ~] # cd / stage
[root@host01 stage] # yum install rlwrap-0.37-1.el6.i686.rpm
Loaded plugins: refresh-packagekit, security
Setting up Install Process
Examining rlwrap-0.37-1.el6.i686.rpm: rlwrap-0.37-1.el6.i686
Marking rlwrap-0.37-1.el6.i686.rpm to be installed
Resolving Dependencies
-> Running transaction check
-> Package rlwrap.i686 0RU 0.37-1.el6 will be installed
-> Finished Dependency Resolution
Dependencies Resolved
=
Package Arch Version Repository Size
=
Installing:
Rlwrap i686 0.37-1.el6 / rlwrap-0.37-1.el6.i686 191k
Transaction Summary
=
Install 1 Package (s)
Total size: 191 k
Installed size: 191 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: rlwrap-0.37-1.el6.i686 1 Compact 1
Verifying: rlwrap-0.37-1.el6.i686 1 Compact 1
Installed:
Rlwrap.i686 0RU 0.37-1.el6
Complete!
[root@host01 stage] #
Use the terminal window connected as oracle to add the "alias" commands which enable rlwrap. You must edit the bashrc hidden file, located in the default directory for the oracle user to add the alias commands. Since bashrc is a hidden file, you must prefix its name with a dot (.)-use either vi or gedit to edit the file. Change directory to the oracle default (cd ~) edit the bashrc file and add the alias to invoke sqlplus and the Oracle GoldenGate Software Command Interface (ggsci)
Host01-Linux
[oracle@host01 stage] $cd ~
[oracle@host01 ~] $vi .bashrc
# .bashrc
# Source global definitions
If [- f / etc/bashrc]; then
. / etc/bashrc
Fi
# User specific aliases and functions
Alias sqlplus= "rlwrap sqlplus"
Alias ggsci= "rlwrap. / ggsci"
Save the file leaving the editor. Source the new version of the bashrc file and make sure the two new alias commands have been defined:
Host01-Linux
[oracle@host01] $. .bashrc
[oracle@host01 ~] $alias
Alias ggsci='rlwrap. / ggsci'
Alias l.='ls-d. *-color=auto'
Alias ll='ls-l-color=auto'
Alias ls='ls-color=auto'
Alias sqlplus='rlwrap sqlplus'
Alias vi='vim'
Alias which='alias | / usr/bin/which-tty-only-read-alias-show-dot-show-tilde'
[oracle@host01 ~] $
Note the double dot separated by a space in the first line. The first dot instructs the shell to source the file. The second dot is necessary because bashrc is a hidden file.
3 、 Installing the Oracle GoldenGate software for the replication source
The Oracle Database 12c software is already installed on the computer, as per requirement listed in the "Prerequisites" section. It is assumed that the database software has been installed following the Optimal Flexible Architecture (OFA) standard, and that ORACLE_HOME is located at / u01/app/oracle/product/12.1.0/dbhome_1.
You will install the Oracle GoldenGate software for the replication source in the directory / u01/app/oracle/product/ogg_src, which you must create.
Use the terminal window connected as oracle. Create the / u01/app/oracle/product/ogg_src directory.
Host01-Linux
[oracle@host01 ~] $mkdir / u01/app/oracle/product/ogg_src
[oracle@host01 ~] $ls / u01/app/oracle/product
12.1.0 ogg_src
[oracle@host01 ~] $
Run the Oracle GoldenGate 12.1.2.0.0 installer as the oracle user. The installer is located in the / stage/fbo_ggs_Linux_x64_shiphome/Disk1 directory.
Host01-Linux
[oracle@host01 ~] $cd / stage
[oracle@host01 stage] $cd fbo_ggs_Linux_x64_shiphome
[oracle@host01 fbo_ggs_Linux_x64_shiphome] $ls
Disk1
[oracle@host01 fbo_ggs_Linux_x64_shiphome] $cd Disk1/
[oracle@host01 Disk1] $ls
Install response runInstaller stage
[oracle@host01 Disk1] $. / runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 11011 MB Passed
Checking swap space: must be greater than 150 MB. Actual 3967 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from / tmp/OraInstall2014-01-24012-19-47AM. Please wait...
The installer starts, and after a few second the "Install Wizard-Step 1 of 5" window appears on screen:
Select "Oracle GoldenGate for Oracle Database 12c (506.0MB)" and click Next.
The "Install Wizard-Step 2 of 5" window appears on screen:
In the "Software Location" field enter the directory you created to host the Oracle GoldenGate software for the replication source,/u01/app/oracle/product/ogg_src. Leave the "Start Manager" checkbox selected, and accept the default values for the Database Location (/ u01/app/oracle/product/12.1.0/dbhome_1) and Manager Port (7809.) Click Next.
The "Install Wizard-Step 3 of 5" window appears on screen:
Verify the fields you entered in the previous screens and click Install to start the installation.
The "Install Wizard-Step 4 of 5" window appears on screen.
The window displays the progress bar and keeps you informed about the installation process.
After a while, the installation process ends and the last window of the wizard appears, informing you that the installation was successful:
Click Close to dispose of the window. The Oracle GoldenGate software for the replication source is now installed.
4 、 Installing the Oracle GoldenGate software for the replication target
The Oracle Database 12c software is already installed on the computer, as per requirement listed in the "Prerequisites" section. It is assumed that the database software has been installed following the Optimal Flexible Architecture (OFA) standard, and that ORACLE_HOME is located at / u01/app/oracle/product/12.1.0/dbhome_1.
You will install the Oracle GoldenGate software for the replication target in the directory / u01/app/oracle/product/ogg_trg, which you must create.
Use the terminal window connected as oracle. Create the / u01/app/oracle/product/ogg_trg directory.
Host01-Linux
[oracle@host01 ~] $mkdir / u01/app/oracle/product/ogg_trg
[oracle@host01 ~] $ls / u01/app/oracle/product
12.1.0 ogg_src ogg_trg
[oracle@host01 ~] $
Run the Oracle GoldenGate 12.1.2.0.0 installer as the oracle user. The installer is located in the / stage/fbo_ggs_Linux_x64_shiphome/Disk1 directory.
Host01-Linux
[oracle@host01 ~] $cd / stage
[oracle@host01 stage] $cd fbo_ggs_Linux_x64_shiphome
[oracle@host01 fbo_ggs_Linux_x64_shiphome] $ls
Disk1
[oracle@host01 fbo_ggs_Linux_x64_shiphome] $cd Disk1/
[oracle@host01 Disk1] $ls
Install response runInstaller stage
[oracle@host01 Disk1] $. / runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 11011 MB Passed
Checking swap space: must be greater than 150 MB. Actual 3967 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from / tmp/OraInstall2014-01-24012-19-47AM. Please wait...
The installer starts, and after a few second the "Install Wizard-Step 1 of 5" window appears on screen:
Select "Oracle GoldenGate for Oracle Database 12c (506.0MB)" and click Next.
The "Install Wizard-Step 2 of 5" window appears on screen:
In the "Software Location" field enter the directory you created to host the Oracle GoldenGate software for the replication source,/u01/app/oracle/product/ogg_trg. Leave the "Start Manager" checkbox selected, and accept the default value for the Database Location (/ u01/app/oracle/product/12.1.0/dbhome_1) Change the default value for the Manager Port from 7809 to 7909. The Oracle GoldenGate instance simulating the replication target must use a different port in order not to clash with the replication source instance, which has been configured to use port 7809. Click Next.
The "Install Wizard-Step 3 of 5" window appears on screen:
Verify the fields you entered in the previous screens and click Install to start the installation.
The "Install Wizard-Step 4 of 5" window appears on screen.
The window displays the progress bar and keeps you informed about the installation process.
After a while, the installation process ends and the last window of the wizard appears, informing you that the installation was successful:
Click Close to dispose of the window. The Oracle GoldenGate software for the replication target is now installed.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.