Installation
Jio Environment Installation Summaryยถ
This document provides setup instructions and key details for the Jio DMZ environment on RHEL 9:
- Endpoints & Services:
- Main proxy:
https://jpe3proxy.jaws.jio.com:8080 - SIM service:
49.40.64.98 - Dash/API ports:
8101,8103 -
Hosts for podman, Kafka/Zookeeper, Redis, MongoDB are listed with IPs and ports.
-
Container & System Setup:
- Use
podman-composefor container orchestration. -
Includes commands for systemd integration and proxy/curl troubleshooting.
-
Java & Environment:
- Java 11 is set as the default for some services.
-
Example environment variables and port references.
-
AWS ECR & Images:
-
Instructions for logging into AWS ECR and image repository URLs for various services.
-
MongoDB Installation:
- Repository configuration and RPM packages required for MongoDB 8.0.
-
Steps for installing, enabling, and starting MongoDB, including SELinux policy setup.
-
Kafka & Zookeeper:
- Download and extract Kafka from S3.
-
Systemd service files for Zookeeper and Kafka, including Java home and startup commands.
-
Redis Installation:
-
Install and enable Redis using
dnfandsystemctl. -
Miscellaneous:
- Git configuration tips for HTTPS and SSH.
/etc/hostsentries for service resolution.
This guide covers the essential steps and references for deploying and managing core services in
https://jpe3proxy.jaws.jio.com:8080
OS RHEL 9
10.145.42.114 podman-compose, mvn, java (DMZ)
10.145.34.183 Kafka/ZK 2181 9092
10.145.34.124 Redis 6379
10.145.34.232 MongoDB 27017
SIM 49.40.64.98
unset http_proxy https_proxy HTTP_PROXY HTTPS_PROXY
curl -vvv IP-address:80
curl -vvv --noproxy "*" IP-address:80
podman generate systemd --name <container-name> > ~/.config/systemd/user/<container-name>.service
systemctl --user enable <container-name> systemctl --user start <container-name>
226177691629.dkr.ecr.us-east-1.amazonaws.com/sim-service
226177691629.dkr.ecr.us-east-1.amazonaws.com/audit-service
226177691629.dkr.ecr.us-east-1.amazonaws.com/dashboard-server
226177691629.dkr.ecr.us-east-1.amazonaws.com/mno-service
226177691629.dkr.ecr.us-east-1.amazonaws.com/sia-api
226177691629.dkr.ecr.us-east-1.amazonaws.com/sms-service
git clone git@github.com:unibeam/lza.git
git config --global url.https://.insteadOf git://
[url "https://"]
insteadOf = git://
# npm using https for git
git config --global url."https://github.com/".insteadOf git@github.com:
git config --global url."https://".insteadOf git://
# npm using git for https
git config --global url."git@github.com:".insteadOf https://github.com/
git config --global url."git://".insteadOf https://
aws ecr get-login-password --region us-east-1 | podman login --username AWS --password-stdin 226177691629.dkr.ecr.region.amazonaws.com
aws ecr get-login-password --region us-east-1 | podman login --username AWS --password-stdin ecr.dev.unibeam.com
mongodbยถ
[mongodb-org-8.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/9/mongodb-org/8.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://pgp.mongodb.com/server-8.0.asc
https://repo.mongodb.org/yum/redhat/9/mongodb-org/8.0/x86_64/RPMS/mongodb-mongosh-2.4.2.x86_64.rpm
MongoDB Deps:ยถ
mongodb-org-server-8.0.5-1.el9.x86_64.rpm
mongodb-org-tools-8.0.5-1.el9.x86_64.rpm
mongodb-org-mongos-8.0.5-1.el9.x86_64.rpm
mongodb-org-database-8.0.5-1.el9.x86_64.rpm
mongodb-org-database-8.0.5-1.el9.x86_64.rpm
mongodb-database-tools-100.11.0-1.x86_64.rpm
mongodb-org-8.0.5-1.el9.x86_64.rpm
mongodb-org-database-tools-extra-8.0.5-1.el9.x86_64.rpm
mongodb-org-mongos-8.0.5-1.el9.x86_64.rpm
Starting Service:ยถ
sudo yum install -y mongodb-org
sudo yum install git make checkpolicy policycoreutils selinux-policy-devel
git clone https://github.com/mongodb/mongodb-selinux
cd mongodb-selinux
make
sudo make install
Kafka Install:ยถ
Kafka/ZK Services:ยถ
[Unit]
Description=Apache Zookeeper server
Documentation=http://zookeeper.apache.org
Requires=network.target remote-fs.target
After=network.target remote-fs.target
[Service]
Type=simple
ExecStart=/usr/local/kafka/bin/zookeeper-server-start.sh /data/kafka/config/zookeeper.properties
ExecStop=/usr/local/kafka/bin/zookeeper-server-stop.sh
Restart=on-abnormal
[Install]
WantedBy=multi-user.target
nano /etc/systemd/system/kafka.service
[Unit]
Description=Apache Kafka Server
Documentation=http://kafka.apache.org/documentation.html
Requires=zookeeper.service
[Service]
Type=simple
Environment="JAVA_HOME=/usr/lib/jvm/java-21-openjdk-21.0.6.0.7-1.e19.x86_64"
ExecStart=/usr/local/kafka/bin/kafka-server-start.sh /data/kafka/config/server.properties
ExecStop=/usr/local/kafka/bin/kafka-server-stop.sh
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
sudo systemctl start zookeeper
sudo systemctl enable zookeeper