diff --git a/amazonlinux-jenkins.sh b/amazonlinux-jenkins.sh
new file mode 100644
index 00000000..7ccb0d27
--- /dev/null
+++ b/amazonlinux-jenkins.sh
@@ -0,0 +1,18 @@
+sudo wget -O /etc/yum.repos.d/jenkins.repo \
+ https://pkg.jenkins.io/redhat-stable/jenkins.repo
+sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
+sudo yum install java-21-amazon-corretto -y
+sudo yum install jenkins -y
+sudo systemctl enable jenkins
+sudo systemctl start jenkins
+sudo yum install git -y
+
+#Trouble shooting steps to make executors run on Amazon Linux and disk issue for slave server
+sudo mkdir -p /var/tmp_disk
+sudo chmod 1777 /var/tmp_disk
+sudo mount --bind /var/tmp_disk /tmp
+echo '/var/tmp_disk /tmp none bind 0 0' | sudo tee -a /etc/fstab
+sudo systemctl mask tmp.mount
+df -h /tmp
+sudo systemctl restart jenkins
+
diff --git a/tomcat-ubuntu.sh b/tomcat-ubuntu.sh
new file mode 100644
index 00000000..874c58f6
--- /dev/null
+++ b/tomcat-ubuntu.sh
@@ -0,0 +1,12 @@
+sudo apt update
+sudo apt install openjdk-17-jdk -y
+wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.111/bin/apache-tomcat-9.0.111.tar.gz
+tar -zxvf apache-tomcat-9.0.111.tar.gz
+sed -i '56 a\' apache-tomcat-9.0.111/conf/tomcat-users.xml
+sed -i '57 a\' apache-tomcat-9.0.111/conf/tomcat-users.xml
+sed -i '58 a\' apache-tomcat-9.0.111/conf/tomcat-users.xml
+sed -i '59 a\' apache-tomcat-9.0.111/conf/tomcat-users.xml
+sed -i '56d' apache-tomcat-9.0.111/conf/tomcat-users.xml
+sed -i '21d' apache-tomcat-9.0.111/webapps/manager/META-INF/context.xml
+sed -i '22d' apache-tomcat-9.0.111/webapps/manager/META-INF/context.xml
+sh apache-tomcat-9.0.111/bin/startup.sh
diff --git a/tomcat.sh b/tomcat.sh
index 661a919e..a88ee866 100644
--- a/tomcat.sh
+++ b/tomcat.sh
@@ -1,11 +1,12 @@
-yum install java-17-amazon-corretto -y
-wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.108/bin/apache-tomcat-9.0.108.tar.gz
-tar -zxvf apache-tomcat-9.0.108.tar.gz
-sed -i '56 a\' apache-tomcat-9.0.108/conf/tomcat-users.xml
-sed -i '57 a\' apache-tomcat-9.0.108/conf/tomcat-users.xml
-sed -i '58 a\' apache-tomcat-9.0.108/conf/tomcat-users.xml
-sed -i '59 a\' apache-tomcat-9.0.108/conf/tomcat-users.xml
-sed -i '56d' apache-tomcat-9.0.108/conf/tomcat-users.xml
-sed -i '21d' apache-tomcat-9.0.108/webapps/manager/META-INF/context.xml
-sed -i '22d' apache-tomcat-9.0.108/webapps/manager/META-INF/context.xml
-sh apache-tomcat-9.0.108/bin/startup.sh
+sudo yum install java-17-amazon-corretto -y #sudo if used on anyother user other than root
+sudo yum install git -y
+wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.111/bin/apache-tomcat-9.0.111.tar.gz
+tar -zxvf apache-tomcat-9.0.111.tar.gz
+sed -i '56 a\' apache-tomcat-9.0.111/conf/tomcat-users.xml
+sed -i '57 a\' apache-tomcat-9.0.111/conf/tomcat-users.xml
+sed -i '58 a\' apache-tomcat-9.0.111/conf/tomcat-users.xml
+sed -i '59 a\' apache-tomcat-9.0.111/conf/tomcat-users.xml
+sed -i '56d' apache-tomcat-9.0.111/conf/tomcat-users.xml
+sed -i '21d' apache-tomcat-9.0.111/webapps/manager/META-INF/context.xml
+sed -i '22d' apache-tomcat-9.0.111/webapps/manager/META-INF/context.xml
+sh apache-tomcat-9.0.111/bin/startup.sh