Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated maven version and tomcat-users.xml #29

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Tomcat-installation/READme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Tomcat-installation/configure.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

<user username="landmark" password="admin" roles="manager-gui,admin-gui"/>
<user username="landmark" password="admin123" roles="manager-gui,admin-gui"/>


/opt/tomcat9/conf/context.xml
Expand Down
4 changes: 2 additions & 2 deletions kubeadm/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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