Posts

Showing posts from October, 2020

How to deploy Jenkins on Ubuntu 20.04 LTS ?

Image
Build, Deploy & Automate anything using Jenkins . Its an opensource automation tool and have hundreds of plugins to support the continuous integration and continuous delivery. To install Jenkins in Ubuntu 20.04 LTS, following steps will be helpful: a) Add the key and the jenkins repo on the ubuntu 20.04 LTS Server and update the repo list:      # wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -      # echo "deb https://pkg.jenkins.io/debian-stable binary/" >> /etc/apt/sources.list      # apt-get update b) Install openjdk latest version:       # apt install openjdk-11-jre-headless       # java -version c) Install the jenkins and enable it across reboot:       # apt-get install jenkins -y       # systemctl enable jenkins       # systemctl status jenkins d) If you will check, port 8080 is open for jenkins by java:       # netstat -ntpl | egrep 'State|8080'          Proto Recv-Q Send-Q Local Address           Foreign Address 

How to integrate the GitHub code in blog post on blogger.com ?

 Its easy to integrate the codes from GutHub  to the blog posts in blogger.com   as keeping code directly on the blog post is always not a good idea and some time tough to manage the formatting as well. A big thanks to Robert Krimen for developing such a wonderful tool for this integration. You can get more details on his GitHub  http://github.com/robertkrimen/gist-it Let say your GitHub link is  http://github.com/Udayendu/cPlatform99  and you would like to integrate it in your blog post in blogger.com, then use the following syntax in HTML mode in your blog: Syntax: <script src="http://gist-it.appspot.com/<Your_GitHub_Link>"></script> Example: <script src="http://gist-it.appspot.com/https://github.com/Udayendu/cPlatform99/blob/main/README.md"></script> And the page view will look like below:

How to build Ubuntu Server 20.04 LTS OVA with vAPP Properties ?

Image
This document will explain how to build an Ubuntu Server 20.04 LTS ova with vAPP properties enabled. Requirement: VM Deployment access required in vCenter environment. We have used the vCenter Server 6.7 and ESXi 6.5 while documented the below steps 1. Install a ubuntu server 20.04 lts vm with minimal cpu, ram and HDD(as needed). Make your own partition. 2. Use apt-get to upgrade all the packages along with the additional packages that required to install in the vm:      $ sudo apt-get update && apt-get upgrade -y 3. Make sure that 'open-vm-tools' and 'ifupdown' package is installed in the vm:       $ sudo apt-get install open-vm-tools  -y       $ sudo apt-get install ifupdown  -y 4. Take the console of the vm and stop, disable and mask the Network Manager service:       $ systemctl  stop  NetworkManager.service       $ systemctl  disable NetworkManager.service       $ systemctl  mask NetworkManager.service        5. Delete the Network Manager config file: