Skip to main content

AA-6-Valaxy DevOps Project --

AA-6-Valaxy DevOps Project

--




13.Setup & configure Tomcat on EC2 instance - Tomcat server setup::

1.Launch...Red Hat Enterprise Linux In AWS..

sudo su -
yum install java-1.8*
java -version


2.installing Tomcate......
web sit go... https://tomcat.apache.org/download-80.cgi
in that tar.gz

cd /opt,ls,yum install wget

wget http://us.mirrors.quenda.co/apache/tomcat/tomcat-8/v8.5.40/bin/apache-tomcat-8.5.40.tar.gz

ls,

tar -zvxf apache-tomcat-8.5.40.tar.gz
cd apache-tomcat-8.5.40  
ls, cd bin , ls
{check Permisions..of startup.sh and shutdown.sh...}

chmod +x startup.sh , chmod +x shutdown.sh or chmod 700 startup.sh

./startup.sh ..for Start , ./shutdown.sh ..for Stop

{ln -s /opt/apache-tomcat-8.5.40/bin/startup.sh /usr/local/bin/tomcatup
ln -s /opt/apache-tomcat-8.5.40/bin/shutdown.sh /usr/local/bin/tomcatdown
}

3....changing Port Numer...

go.. to
 /opt/apache-tomcat-8.5.40/conf
yum install nano  , vi server.xml
nano server.xml  .... change 8080 to 8090..
{ <Connector port="8090" protocol="HTTP/1.1"
}
cd .. ,cd bin,  ./shutdown.sh 



4...I want to Run Other Browes.. configure..(Manage App..clik.)

find / -name context.xml ...(12.19)...


nano /opt/apache-tomcat-8.5.40/webapps/host-manager/META-INF/context.xml

nano /opt/apache-tomcat-8.5.40/webapps/manager/META-INF/context.xml

5.............Adding Users AND Roles.....

go.. /opt/apache-tomcat-8.5.40/conf
nano  tomcat-users.xml

<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<user username="admin" password="admin" roles="manager-gui, manager-script, manager-jmx, manager-status"/>
<user username="deployer" password="deployer" roles="manager-script"/>
<user username="tomcat" password="s3cret" roles="manager-gui"/>



...
go to ../opt/apache-tomcat-8.5.40/bin

./startup.sh ..for Start , ./shutdown.sh ..for Stop




Comments

Popular posts from this blog

42-AWS-PROJECT-CERTIFATION

42-AWS-PROJECT-CERTIFATION ... GOOGLE....aws 6r..... 1. 2. 3. 4. 5. 6. PRE SALE -POST SALE::: DPR: Detailed PROJECT REPORT. RFI : REQUSTE FOR INF. RFP : REQUEST FOR PROPEROSAL RFQ : REQ     FOR QOOTE POC: PROOF OF CONCEPT HLD: HIGH LEVEL DEGINE  CEO,LEVEL,  HIG LEVEL DIAGROM LLD: LOW LEVEL DEGINE  .. AWS , VPC, ...... BUILD SHETT: FULL DETIALS OF IP NO.. ALL PIN TO PIN UAT: USER ACCEPTANCEY TEST ORT: OPERATION REDINESS TEST SING OFF : REMAINING AMOUT COLLECT CLOSE ARCHITECTURE: AWS CERTIFICATION: Jayandra Patil AWS .............. AWS sysops bluprint

Azure Devops tutorial

 Azure Devops tutorial: web sit-  Projects - Home (azure.com) AZURE DEVOPS - Organization - Projects Under project- --------- Under Pipelines ---> Pipelines( CI ) -  Under Pipelines --->Releases( CD ) -  ------------------------------------------------------------------------------------------------------------------------- Azure Pipelines:--- Pipeline structure:- A pipeline is one or more stages that describe a CI/CD process. Stages are the major divisions in a pipeline. The stages "Build this app," "Run these tests," and "Deploy to preproduction" are good examples. A stage is one or more jobs, which are units of work assignable to the same machine. You can arrange both stages and jobs into dependency graphs. Examples include "Run this stage before that one" and "This job depends on the output of that job." A job is a linear series of steps. Steps can be tasks, scripts, or references to external templates. This hierarchy is refle...

39 TERRAFORME

39 TERRAFORME git code.... https://github.com/mavrick202/terraformsingleinstance https://www.knanda.net/ in windos cmd C:\Users\NAVEEN> C:\Users\NAVEEN>cd\ C:\>cd C:\Users\NAVEEN\Downloads\39.terraform_0.11.10_windows_386 C:\Users\NAVEEN\Downloads\39.terraform_0.11.10_windows_386> dir terraform init terraform plan .terraform plan --var-file test.tfvars .terraform apply --var-file test.tfvars yes .terraform destroy --var-file test.tfvars yes ..main.tf -variables.tf - ec2.tf - test.tfvar  ...   ( After completing Task- terraform.tfstate    File Created..)