Installing Nginx
With Oracle GoldenGate Microservices, you have the option of using a reverse proxy or not. In reality, it is a best practice to install the recommended reverse proxy for the architecture. The main benefit here is the security aspect of using it. In Oracle GoldenGate Microservices, depending on the number of deployments you have per host the port numbers that you will need access to is anywhere between 5 to who knows.
In my test environments, I really don’t need to use a reverse proxy, but it is a good thing to get into doing when using Oracle GoldenGate Microservices. In an earlier post, I wrote about using the reverse proxy to improving your URLs (here) and that post still applies. The reason for this post is to show you how to install Nginx on OEL7.
Installing Nginx
In setting up my test environment using Docker, I make sure that my Dockerfile has a reference to install Nginx. After building my Docker image I came to find out that Nginx did not install. In all honesty it was kinda weird that it didn’t install. This lead me to figure out how to install Nginx directly from Nginix. The steps that I had to use are as follows:
1. Create a new repo on my Linux/Docker Container
$ sudo touch /etc/yum.repos.d/nginx.repo
2. Edit the repo file as such
$ sudo vi /etc/yum.repos.d/nginx.repo
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/mainline/rhel/7/$basearch/
gpgcheck=0
enabled=1
3. Lastly, install nginx
$ sudo yum install nginx
4. Check to make sure nginx is installed
$ sudo yum list nginx
Loaded plugins: ovl, ulninfo
Installed Packages
nginx.x86_64 1:1.16.1-1.el7.ngx @nginx-stable
After the install
After you get Nginx installed, you can then proceed to configure the Nginx reverse proxy for Oracle GoldenGate Microservices. To help you do this, you can review my previous post on how to improve your URLs with Oracle GoldenGate (above link).
Enjoy!!
Twitter: @dbasolved
Current Oracle Certs
Bobby Curtis
I’m Bobby Curtis and I’m just your normal average guy who has been working in the technology field for awhile (started when I was 18 with the US Army). The goal of this blog has changed a bit over the years. Initially, it was a general blog where I wrote thoughts down. Then it changed to focus on the Oracle Database, Oracle Enterprise Manager, and eventually Oracle GoldenGate.
If you want to follow me on a more timely manner, I can be followed on twitter at @dbasolved or on LinkedIn under “Bobby Curtis MBA”.
buy priligy tablets Erythema and scaling were scored on a scale ranging from 0 to 5 0