Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Access to aws EC2 instance using password in linux

rajeshkumar created the topic: Access to aws EC2 instance using password in linux Access to aws EC2 instance using password in linux Here’s what I did on a Ubuntu EC2 A) Login as root using the keypairs B) Setup the necessary users and their passwords with # adduser C) Edit /etc/ssh/sshd_config setting PasswordAuthentication yes D) … Read more

Jenkins Remote access API Example | Jenkins Tutorial

jenkins-remote-access-api-example

Jenkins Remote access API Example Jenkins provides machine-consumable remote access API to its functionalities. Currently it comes in three flavors: XML JSON with JSONP support Python Remote access API is offered in a REST-like style. That is, there is no single entry point for all features, and instead they are available under the “…/api/” URL … Read more

Access gitlab Password Less in Windows

gitlab-password-less-in-windows

Step 1- Generate a public/private key using puttygen Download a puttygen from  and generate a public key and private key by following below image. Click on Conversions à Export OpenSSH Key à  and save it to % USERPROFILE %\.ssh with file name “id_rsa” Copy the public key from puttygen window and save into gitlab.   … Read more

How to access all Java system properties directly?

java-system-properties

You could access all Java system properties directly via ${name}, e.g. ${user.name}, ${user.dir}, ${user.home}, … You could read environment properties and use them   <properties environment=”env”/>   ${env.ENVIRONMENT_VARIABLE} e.g.   ${env.USERPROFILE}, ${env.USERNAME}, ${env.PATH} You could pass properties during Ants start   ant -Dname=value -Danothername=anothervalue Also you Ant could ask for input   <input addproperty=”foo”/>   … Read more

How to Access SVN when client is under proxy ?

access-svn-when-client-is-under-proxy

The Subversion client can go through a proxy, if you configure it to do so.   First, edit your “servers” configuration file to indicate which proxy to use. The files location depends on your operating system.   On Linux or Unix it is located in the directory “~/.subversion”.   On Windows it is in “%APPDATA%\Subversion”. … Read more

Script to list the clients in descending access date order

script-to-list-the-clients-in-descending-access-date-order

  Write a script to list the clients in descending access date order (for deleting obsolete clients).   #!/usr/bin/ruby require “P4” p4 = P4.new p4.tagged p4.connect clients = p4.run_clients.sort {|a,b| a[ “Access”].to_i <=> b[“Access”].to_i } clients[0…10].each do |c| stamp = Time.at( c[ “Access” ].to_i ) printf( “%-20s %s\n”, c[ “client” ], stamp ) end OR … Read more