Skip to main content

AA-5-Valaxy DevOps Project

AA-5-Valaxy DevOps Project

-----------------------------------------------------------------------------------------------------------------

12.Installing & Configure Maven on AWS EC2 instance - Maven setup & configuration on Jenkins
.....
1. viset web sit-- https://maven.apache.org/download.cgi


Login to Jenkins Server...
sudo su -
cd  /opt 
mkdir maven , 
cd maven
wget http://mirrors.estointernet.in/apache/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz

tar -xvzf apache-maven-3.6.1-bin.tar.gz

cd apache-maven-3.6.1 
pwd ,/opt/maven/apache-maven-3.6.1
......
cd /root ,
 nano .bash_profile 

add Path ..(
M2_HOME=/opt/maven/apache-maven-3.6.1
M2=$M2_HOME/bin

PATH=$PATH:$JAVA__HOME:$M2_$HOME:$M2:$HOME/bin
)

echo $PATH

[root@ip-10-1-0-100 ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el8_1.x86_64:/root/bin:/root/bin
[root@ip-10-1-0-100 ~]#


...
login to new terminal.. and chek bleow cmd...
echo $PATH

[root@ip-10-1-0-100 ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin::/root:/opt/maven/apache-maven-3.6.3/bin:/root/bin


( getting like.../usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin::/root/bin
)


..............

jenkises-Manage Jenkines-Manage Plugine-
(Maven Invoker)
-Manage jenkines-Global Tool Configuration-Maven Add....(/opt/maven/apache-maven-3.6.1)


.............install git ..set path and Plugin...

yum install git -y

Install Github Plugin..

global tool setting- location git

..................
Create Maven Project.. 
Maven-Hellowworld-MavenProject-ok-Git-

https://github.com/ValaxyTech/hello-world.git

https://github.com/NAVEENMJ/Maven-Hellowworld.git

Root POM -Build-pom.xml
Goals and options - install package or.. clean install package

.......................
cd /var/lib/jenkins



-----------------------------------------------------------------------------------------------------------------
.....

Comments

Popular posts from this blog

43-Dev-git cmds

43-Dev-git cmds Harsha Veerapalli... .git clone https://github.com/username/repository  git clone https://github.com/NAVEENMJ/1 git status .git init .git status ... getting red cloure  ( a.txt ) .git add file.txt or  (git add .) .git push .git push -u origin master .................. .git branch ---list of branches .git checkout -b branch ...Creaing branches .git merge branch ... presnt in master then merge.. ................................... .git status .git init .git status ... getting red cloure  ( a.txt ) .git add file.txt .git status .... getting green cloure  ( new file: a.txt) [if multipull files in folder use git add .] .git commit -m "COMMIT-1" .. Hear COMMIT-1 Means giving name in genralli changed  name given .git log ......changes ...times.. modifi that file a.txt...... .git status .git add . .git status .git commit -m "COMMIT-2" .cls .git log ..........i want go before comited version....

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

23.AWS-RedShift

23.AWS-RedShift: Database:: RDS----------DB -OLTP(online transcation.process)-Application writting  to DB (RegularDB Transction) DynamoDB ElastiCache Neptune Amazon Redshift-----DB - OLAP(Online analytic Process)..like filpKart,amzone.. ......................... Amazon Redshift::: goole- aws redshift usee case philips, google- transfering Mysql to redshift, .Clusters-( Subnet groups create ) - Lanch cluster-cluteridentifer,name,username,pass,-Continue-selct nodetype-Continou-(one machine is started we cant terminated but stoped)  -selcet VPC -subnetgroup(in dash board intially created)- Public accessible yes but real time no-securitygroup- continue-launch cluster-view all cluster-wait 10 mintus..-  -Getting Endpoint-(17.07)- .google -sql work bench for redshift-java required-oprn SQL workbench-Manage Drivers-(in aws go in that connet client)-hear also i can downlode SQL Work bench, -JDBC Driver()JDBC4.2),downlode-select cluster-,, .-then go WorkBench-fi...