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 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 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