How to hide a particular user from Ubuntu login screen
In this article, I will show you how to hide a particular user from Ubuntu login screen. If your system uses AccountService, you cannot hide user from greeter screen by editing lightdm. So do it, there is a very simple process and you can do it in a few minutes. Let's get started. Check AccountService is exists Before you start, you need to check whether your user is exists in AccountService or not. To do this, you need to run the following command: 1ls...
Your current user or role does not have access to Kubernetes objects on this EKS cluster
Once you’ve deployed an EKS cluster, and try to view this in the AWS Console, sometimes you may see the following message in your console: "Your current user or role does not have access to Kubernetes objects on this EKS Cluster" This happen because your AWS user account doesn't have access to the Kubernetes control plane. This because of when you create an Amazon EKS cluster, the IAM user or role who is created the the cluster is automatically granted system:masters permissions in the...
How to Configure Git Username and Email Address
Git is a distributed version control system that’s widely used by most software teams today. Git allows you to set a global and per-project username and email address. In this article we are going to see how to configure git username and email address. Set the username/email gloablly The global git username and email address are associated with commits on all repositories on your system that don’t have repository-specific values. To configure the global username and email address, run the...
How to integrate SonarQube with Jenkins
Jenkins is a continuous integration tool which used to build and deploy applications. SonarQube is a Java based, open-source static code analysis tool. So, in this tutorial we are going to integrate SonarQube with Jenkins. Prerequisites SoanrQube up and running You need a SonarQube server up and running. If you haven't SonarQube server, you can follow this tutorial and set up your SonarQube Jenkins up and running You need a Jenkins server up and running. If you haven't Jenkins server,...
How to install SonarQube on Ubuntu
SonarQube is an Open-Source, Java based Code Analysis Tool. It is used to detect bugs, security vulnerabilities, and other code quality issues. It uses database like MS SQL, Oracle or PostgreSQ for storing analysis results. So, in this tutorial we will use open-source database PostgreSQL. Pre-requistes Instance with at least 2 GB RAM Install Java To configure the SonarQube server, you need to install Java. To install Java, follow the command below: 1sudo apt-get update && sudo...
Deploy Jenkins Agents using EC2 Fleet plugin
Jenkins is a continuous integration tool. It is used to build and deploy applications. Normally, there are number of build projects preconfigured in a Jenkins Server. However by default, all builds will be executed on the same instance that Jenkins is server up & running. This results to reduce your performance of the Jenkins Server. To avoid above problems, Jenkins provides the capability to execute builds on external hosts (called build agents). To fulfill above requiremnt, we are going...
How to configure Jenkins master and slave
In today's tutorial we will learn how to configure Jenkins master and slave. Jenkins is a continuous integration tool. It is used to build and deploy applications not only that it has powerful feature of master slave architecture which enables distributed builds. Prerequisites Jenkins up and running You need a Jenkins server up and running. This will be our master server. If you haven't Jenkins server, you can follow this tutorial and set up your Jenkins Master. This will be the server...
Run Ansible Playbook from Jenkins by Executing Shell Command
In our previous article, we learned how to Ansible to be configured on Jenkins Master to run Ansible job. In this article, we will learn how to run Ansible Playbook through Jenkins by Executing Shell Command. Prerequisites Install Ansible Plugin on Jenkins master We have discussed about this on our previous article Run Ansible Playbook Navigate to Jenkins Dashboard Then click on New Item Then provide a name for Enter an item name field & choose Freestyle project option Then click on...
Run Ansible Playbook from Jenkins
In our previous articles, we learned how to install Jenkins and Ansible and how to play with them. In this article, We are going to learn how to run Ansible Playbooks from Jenkins. You can run the Ansible playbook through Jenkins in multiple ways. In this tutorial we are going to learn about the default method which is best and the recommended method that Ansible to be configured on Jenkins Master to run Ansible job. Prerequisites Jenkins Server up and running You can follow this...
How to install Ansible on Ubuntu
In this article, We are going to learn how to install Ansible on Ubuntu. Ansible is a powerful automation and remote management tool that allows you to administer all your remote machines. It is cross-platform and can work on most machines with no requirements for additional software and also offers security by utilizing SSH and Python on remote machines to execute specified tasks. It supports two methods for managing remote machines: Ad hoc commands: This is the most common method...