From 86f1afa632fc6abdf06d04eff2eff6c4457afa20 Mon Sep 17 00:00:00 2001
From: chidueme <118616467+chidueme@users.noreply.github.com>
Date: Sat, 28 Jan 2023 20:35:41 -0500
Subject: [PATCH 1/3] Update READme.md
---
Tomcat-installation/READme.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Tomcat-installation/READme.md b/Tomcat-installation/READme.md
index f19dba7a..77730021 100644
--- a/Tomcat-installation/READme.md
+++ b/Tomcat-installation/READme.md
@@ -24,14 +24,14 @@ sudo yum install java-1.8.0-openjdk-devel -y
# install wget unzip packages.
sudo yum install wget unzip -y
```
-## Install Tomcat version 9.0.69
+## Install Tomcat version 9.0.71
### Download and extract the tomcat server
``` sh
-sudo wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.69/bin/apache-tomcat-9.0.69.tar.gz
-sudo tar -xvf apache-tomcat-9.0.69.tar.gz
-sudo rm -rf apache-tomcat-9.0.69.tar.gz
+sudo wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.71/bin/apache-tomcat-9.0.71.tar.gz
+sudo tar -xvf apache-tomcat-9.0.71.tar.gz
+sudo rm -rf apache-tomcat-9.0.71.tar.gz
### rename tomcat for good naming convention
-sudo mv apache-tomcat-9.0.69 tomcat9
+sudo mv apache-tomcat-9.0.71 tomcat9
### assign executable permissions to the tomcat home directory
sudo chmod 777 -R /opt/tomcat9
sudo chown ec2-user -R /opt/tomcat9
From cf519009b0311ff62a0e0925cc1168bc43063452 Mon Sep 17 00:00:00 2001
From: chidueme <118616467+chidueme@users.noreply.github.com>
Date: Sat, 28 Jan 2023 20:50:29 -0500
Subject: [PATCH 2/3] Update configure.txt
---
Tomcat-installation/configure.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Tomcat-installation/configure.txt b/Tomcat-installation/configure.txt
index 4113b1fa..874de602 100644
--- a/Tomcat-installation/configure.txt
+++ b/Tomcat-installation/configure.txt
@@ -4,9 +4,9 @@
find / -name server.xml context.xml
vim /opt/tomcat9/conf/server.xml
vi /opt/tomcat9/webapps/manager/META-INF/context.xml
-vi /opt/tomcat9/conf/tomcat-user.xml # to add user
+vi /opt/tomcat9/conf/tomcat-users.xml # to add user
-
+
/opt/tomcat9/conf/context.xml
From b68e9de3aed3416b828959d4f4cf47f6112acdbd Mon Sep 17 00:00:00 2001
From: chidueme <118616467+chidueme@users.noreply.github.com>
Date: Thu, 2 Feb 2023 21:16:42 -0500
Subject: [PATCH 3/3] Update common.sh
---
kubeadm/common.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kubeadm/common.sh b/kubeadm/common.sh
index ed969a74..8a351718 100644
--- a/kubeadm/common.sh
+++ b/kubeadm/common.sh
@@ -96,5 +96,5 @@ systemctl daemon-reload
systemctl start kubelet
systemctl enable kubelet.service
-sudo kubeadm join 10.0.0.6:6443 --token xmzufh.e0nu3kb5ohijfxyh \
- --discovery-token-ca-cert-hash sha256:579b6a53bd00c8483f5150b9fb521b6431fc38b1ac716b8b9a5f668928a93771
+sudo kubeadm join 172.31.16.107:6443 --token 77r0hn.0f8dndgr117wibwd \
+ --discovery-token-ca-cert-hash sha256:fdb8a2bc48d9e13f504dca9239c555a65ac0eb3a270f01dafb268065b795275d