Devops Tools Installation and Configuration
Prerequisites for Devops tools setup
- Create a 2 vm in google cloud
- VM1 — jenkins
- VM2 — tomcat
- Cores : 4
- Memory: 4
- Operating System : ubuntu
- Version : ubuntu 20.04 LTS x86
- Boot Disk Type : standard Persistance Disk
- Size : 50 GB
Enable the below during VM creation in GCP cloud
· Allow full access to all Cloud APIs
· Allow HTTP traffic
· Allow HTTPS traffic
Task 1: To setup and configure the Jenkins for devops
1. Install prerequisite software packages
2. Configure environment variables
3. Configure Jenkins Software Repository
4. Configure Jenkins Key
5. Install Jenkins
6. start the Jenkins Service Persistently
7. Install the necessary plugins
8. Global Tools Settings >In Jenkins Console >JAVA, MAVEN, GIT
Task 2 : To setup and configure the tomcat for devops
1. Install pre-requisite software packages
2. Configure environment variables
3. Configure TOMCAT Software Repository
4. Change Java Heap Size
5. Install TOMCAT Web Application server
6. Restart Tomcat Services
7. Create new pipeline and enable manual deployment to deploy application in tomcat web application server
8. Create new pipeline and enable auto deployment to deploy application in tomcat web application server
Task 3: To setup and configure the Slack for devops
- Create a Slack account using the email and password.
- create workspace
- Create a Channel in slack workspace
- Install webhooks with the slack
- Integration and configuration of slack with Jenkins
- Testing the slack based on jenkins parameters