Skip to main content

Posts

AA-3-Valaxy DevOps Project

AA-3-Valaxy DevOps Project 9.Mini DevOps 01 - Jenkins Installation & Configuration .............. https://github.com/miztiik/DevOps-Demos/blob/master/setup-jenkins/README.MD ......... 10.Mini DevOps 03 - Configure Global Jenkins Server Security - Securing Jenkins Server .... .... 1.Change Admine Password-in admin- config-Change Passwed 2.Remove the File... /var/lib/jenkins/ ,ls, in secretes in that intial admine Password.. rm ./secretes/intialadmin password cd  /var/lib/jenkins/secrets ls -la rm ./initialAdminPassword Give y 3.Manage Jenkins -Configure Global Security - (Enable security tick mark) and  -use Project-based Matrix Authorization Strategy- and  SSHD Port Disable...

AA-2-Valaxy DevOps Project

AA-2-Valaxy DevOps Project 8.Jenkins Installation & Configuration on AWS EC2 instance ............. ................................................................................................................. ................................................................................................... 1. Red Hat Enterprise Linux from AWS... FREE Tier.. 2.install Java and Set Path sudo su - yum update -y yum install java-1.8.0-openjdk -y  or   yum install java-1.8* -y ( http://openjdk.java.net/install/ ) java -version ls ls -la ..under root... vi .bash_profile or yum install nano , and try.. nano .bash_profile find /usr/lib/jvm/java-1.8* | head -n 3 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el8_1.x86_64 JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el8_1.x86_64 PATH=$PATH:$JAVA_HOME:$HOME/bin ... save nano file ... cntol+0 , Enter, cntrol+x  echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/...

AA-1-Valaxy DevOps Project

AA-1-Valaxy DevOps Project 7.How to Login to EC2 instance Using without convertion Key with MobaXterm putty login as ec2-user@ec2-3-90-2-119.compute-1.amazonaws.com sudo su - useradd NAVEEN passwd NAVEEN ENTER PASWRD: 12345 Same agin cd /etc/ssh ls vi sshd_config  ( Shift-z-z Save your file and exit the vi editor )   or  nano sshd_config   .. cntrol + o and Enter ... Cntrol + X service sshd restart ........Login as New User With Password Dirty From Putty.. Putty Login AS NAVEEN@ec2-3-90-2-119.compute-1.amazonaws.com Enter password : 12345

A2-Valaxy DevOps Project

A2-Valaxy DevOps Project :

A1-Valaxy DevOps Project

A1-Valaxy DevOps Project : GIT MAVEN ANSIBLE DOCKER KUBERNETES(K8's) JENKINS .... ............................................................................................. ------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------

10. AWS-EC2-EBS VOLUMES

10..AWS-EC2-EBS VOLUMES ........ ....................................  lsblk, df -h, cd /media/ephemera10, pwd, clear  mkdir testfolder, cd testfolder/, nano file1  cp file1 file2, cp file 1 file3, cp file1 file4, cp file1 file5  ll, cd /, cler  ...  lsblk, create a volumeS( Volume in az-a is assined becase inst is ther in same A.Z,vol2{in az-b not assined ..})..    and assine to inst..( wher instance  is .. ther only create volume..in that AZ)..after assinging volume to inst.. .....creating disk...to....part.......... lsblk, fdisk /dev/xvdf, m, p, n, p (primary and enter 3re times), w (save),  fdisk /dev/xvdf, p, q, lsblk, ........creating file system................... lsblk, mkfs.ext3 /dev/xvdf1, .........creating one folder................. mkdir /6gbdrive, .............that folder mounting............  mount /dev/xvdf1 /6gbdrive, clear, df -h, .............................  cp -rf /media/e...