diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 00000000..9f0ebb86 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. diff --git a/README.md b/README.md deleted file mode 100644 index e498c1e4..00000000 --- a/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# **Landmark Technologies.** -### **Contacts: +1437 215 2483
WebSite :
** -### **Email: mylandmarktech@gmail.com** - - - -## Apache Tomcat Installation And Setup In AWS EC2 Redhat Instance. -##### Prerequisite -+ AWS Acccount. -+ Create Redhat EC2 T2.micro Instnace. -+ Create Security Group and open Tomcat ports or Required ports. - + 8080 ..etc -+ Attach Security Group to EC2 Instance. -+ Install java openJDK 1.8+ - -### Tomcat version 9.0.62 with Java JDK 1.8+ -## Java JDK 1.8+ is the pre-requisite for tomcat to run - -``` sh -#!/bin/bash -# Use this script to install tomcat in rehat servers -echo delete the failed version of tomcat -sudo rm -rf /opt/tomcat9 -echo assign a hostname to your server -sudo hostname tomcat -# install Java JDK 1.8+ as a pre-requisit for tomcat to run. -cd /opt -sudo yum install git wget -y -sudo yum install java-1.8.0-openjdk-devel -y -# Download tomcat software and extract it. -sudo yum install wget unzip -y - -sudo wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.62/bin/apache-tomcat-9.0.62.tar.gz -sudo tar -xvf apache-tomcat-9.0.62.tar.gz -sudo rm apache-tomcat-9.0.62.tar.gz -sudo mv apache-tomcat-9.0.62 tomcat9 -sudo chmod 777 -R /opt/tomcat9 -sudo chown ec2-user -R /opt/tomcat9 -sh /opt/tomcat9/bin/startup.sh -# create a soft link to start and stop tomcat -sudo ln -s /opt/tomcat9/bin/startup.sh /usr/bin/starttomcat -sudo ln -s /opt/tomcat9/bin/shutdown.sh /usr/bin/stoptomcat -sudo yum update -y -starttomcat -``` diff --git a/package-management b/package-management new file mode 160000 index 00000000..d4afbf07 --- /dev/null +++ b/package-management @@ -0,0 +1 @@ +Subproject commit d4afbf07d74244fbbc77c2100e3d693e914b932c