Posts

Showing posts from May 27, 2018

Jenkins Git Setup

How to setup Jenkins git? In your Jenkins Dashboard (Home screen), click the Manage Jenkins option on the left hand side. In the next screen, click on ‘Manage Plugins’ option. In the next screen, click on Available tab. This tab gives a list of plugins which are available for downloading. In the ‘Filter’ tab type ‘Git plugin’ Installation will then begin and the screen will be refreshed to show the status of the download. Once all installations are complete, restart Jenkins by issuing below command in the browser.  http://localhost:8080/jenkins/restart After restarting Jenkins, Git will be available as an option whilst configuring jobs.  To verify, click on New Item in the menu options for Jenkins. Then enter a name for a job, example ‘Demo’.  Select ‘Freestyle project’ as the item type.  Click the Ok button. Make sure that Jenkins is properly setup and Maven project is on GitHub. Step 1:   Configure Jenkins Insure that...

Jenkins Tomcat Setup and installing steps for Tomcat

Setup Jenkins tomcat -Installation Guide for Tomcat Below are the prerequisites which must be met for Jenkins Tomcat setup. Step 1: Verifying Java Installation To verify Java installation, open the console and execute below java command. OS Task Command Windows Open command console >java –version Linux Open command terminal $java –version If Java is successfully installed correctly on the system, then you will get one of the below outputs, depending on the platform you are working on. OS Output Windows Java version "1.7.0_60" Java (TM) SE Run Time Environment (build 1.7.0_60-b19) Java Hotspot (TM) 64-bit Server VM (build 24.60-b09, mixed mode) Linux java version "1.7.0_25" Open JDK Runtime Environment (rhel-2.3.10.4.el6_4-x86_64) Open JDK 64-Bit Server VM (build 23.7-b01, mixed mode) Before proceeding with this tutorial, Java 1.7.0_60 should be installed on your system. If you do not h...

Step-by-step guide to install Jenkins, covering both Linux and Windows system

Jenkins Installation Steps: Install Jenkins on Linux (Ubuntu/Debian-based): # 1. Update system sudo apt update # 2. Install Java (Jenkins requires Java 11+) sudo apt install openjdk-11-jdk -y # 3. Add Jenkins repo and key wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' # 4. Install Jenkins sudo apt update sudo apt install jenkins -y # 5. Start and enable Jenkins sudo systemctl start jenkins sudo systemctl enable jenkins # 6. Check Jenkins status sudo systemctl status jenkins Get initial admin password: sudo cat /var/lib/jenkins/secrets/initialAdminPassword Access Jenkins: Go to  http://<your-server-ip>:8080 Use the above password to unlock Jenkins. Install Jenkins on Windows: Download Jenkins Windows Installer: Go to  https://www.jenkins.io/download/  and select  Windows . Download the  .msi  installer. Ru...

Jenkins-Legacy System Modernization Bridge

Jenkins as a Legacy System Modernization Bridge: Uncommon Use : COBOL Mainframe Integration : Jenkins pipelines can trigger  mainframe job execution  (via Zowe CLI or IBM UrbanCode) to modernize legacy workflows without full migration. AS/400 (IBM i) Automation : Jenkins agents running on  IBM i systems  can execute RPGLE programs via SSH, bridging green-screen apps with CI/CD. Multi-Cloud Governance & Compliance Automation Uncommon Use : Cloud Resource "Drift" Detection : Jenkins polls cloud APIs (AWS/Azure/GCP) to detect infrastructure changes outside IaC (Terraform/CloudFormation) and auto-revert them. stage('Check AWS Drift') {     steps {         script {             def drift = sh(script: 'aws cloudformation detect-stack-drift --stack-name prod-stack', returnStatus: true)             if (drift != 0) { slackSend(message: 'ALERT: Cloud stack drift detected!') }   ...

Understanding DNS – Beginners Guide to DNS

DNS  (Domain Name System) is one of the most important technologies/services on the internet, as without it the Internet would be very difficult to use. DNS provides a  name to number  (IP address) mapping or translation, allowing internet users to use, easy to remember names, and not numbers to access resources on a network and the Internet. DNS Basics – Understanding Why we Need it All devices (computers etc) that are connected to the Internet, your own network, or company network are identified by an IP address;  which is a number . IP addresses are easy for computers to process but they are not so easy for people to remember. To make it easy for people to remember names ( host names ) are used to identify individual computers on a network. On early computer networks a  simple text file  called a hosts file was created that  mapped host names to IP addresses . This enabled people to refer to other computers by the name, an...

DNS Lookups-Recursive or non Recursive Queries

when you use DNS to lookup or resolve a domain name to an IP address. We look at how  DNS   lookups  work, and the exact process involved when looking up a domain name. We follow the client  DNS query  as it is processed by the various  DNS servers in the response chain. Before we start it might be useful to compare DNS name resolution with a standard question and answer that takes place in everyday life. Let’s assume you want to know what country  Casablanca  is in. Well the first thing you would probably do is ask one of your friends. So you ask Bob but Bob doesn’t know so he would probably suggest you ask John as he travels a lot, and he might know.  ( this is a referral) So you ask John who again might know and give you the answer or again he might suggest you ask someone else.  ( another referral) This continues until you get an answer. On the other hand you could also just ask bob, and tell him to get back to you ...

WebLogic Server 8 – 12x: Install and Configure Your SSL/TLS Certificate

If you still need to create a certificate signing request (CSR) and order your certificate. After we've validated and issued your SSL certificate, you can install it on your WebLogic 8, 9, 10, 11, or 12.x server (where the CSR was generated) and configure the server to use the certificate Use Java Keytool to Install Your SSL Certificate in WebLogic: keytool -import -trustcacerts -alias server -file  /your_domain_com .p7b  -keystore  your_domain_com .jks You should get a confirmation that the " Certificate reply was installed in keystore ". If you are prompted to trust the certificate, type "y" or "yes". The installation of this file loads all the necessary certificates to your Keystore. Now you just need to configure your server to use the certificate. Configure the Keystore for Use in WebLogic: On your WebLogic server, expand the  Servers  node and select the server you need to configure. Next, go to  Configuration-->Keystores and SSL . T...

SSL and SSL Certificates Explained

Image
Secure Sockets Layer  (SSL) and  Transport Layer security  (TLS ) are protocols that provide secure communications over a computer network or link. provide secure communications over a computer network or link. They are commonly used in web browsing and email. In this tutorial we will look: TLS and SSL Public and Private keys Why we need certificates and what they do How to get a digital certificate and understand the different common certificate types. What is TLS Security Provided No one has read your message No one has changed your message You are communicating with the intended person (server) How do you know that no one has read the message? How do you know that no one has changed the message? Encrypt it. – This makes the content unreadable so that to anyone viewing the message it is just gibberish. Sign it – This allows the recipient to be confident that it was you who sent the message, and that the message hasn’t been chang...