Splunk frequently asked questions!!!
Question – How often does the forwarder send data to indexer?Answer – The forwarder sends data immediately when it becomes available. There is no certain interval that it waits or…
Read more »How to use two github account on the same computer?
Step 1 – How to generate a ssh key pair? $ ssh-keygen -t rsa -C “devops@RajeshKumar.xyz” Step 2 – Upload 2 different public key in 2 github accounts. Step 3…
Read more »What Is HTML?
HTML is a markup language for creating web documents / pages 1.Hyper Text Markup Language 2.Markup language – Uses a set of markup tags 3.NOT a programming language HTML Tags…
Read more »
Todo Application in Laravel
1.Create Project in Laravel Composer create-project laravel/laravel todolist 2.Create CRUD Controller php artisan make:controller TodosController –resource 3.Route setup of CRUD Controller routes/web.php 4.Create Database todolist localhost/phpmyadmin create database todolist 5.Create…
Read more »UrbanCode Deploy aka UDeploy Tutorial – Introduction of CodeStation
CodeStation is the secure and tamper-proof artifact repository ensures that deployed components are identical to the components that were tested in preproduction environments. Without the repository, artifacts must be pulled…
Read more »UrbanCode Deploy aka UDeploy Tutorial – Fix of “Download Artifacts” steps
Error Solution if you are using “Source Configuration Type”, File System and File System(Version), “Base Path” must not be empty “Base Path” location must have some subdirectory and files which…
Read more »UrbanCode Deploy aka UDeploy Tutorial – Cleaning up component versions
You cannot delete this version if it is used by: Process History. But You can delete versions that were deployed in a process only through Artifact Cleanup. You can configure…
Read more »
Working with Azure using Ansible
Ansible includes a suite of modules for interacting with “Azure Resource Manager”, giving you the tools to easily create and orchestrate infrastructure on the Microsoft Azure Cloud. Step 1 –…
Read more »Calling Ansible handlers based on OS distributions
Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday Landmark, stock market…
Read more »Reboot and wait for reboot to complete in Ansible playbook
Reference – https://blog.confirm.ch/calling-ansible-handlers-based-on-os-distributions/ Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…
Read more »How to fetch data in excel or generate excel file in PHP
File structure for this tutorial : config.php (database connection file) index.php (For fetching data ) genrate-excel.php (For genrating excel file ) Create a sql table tblemployee. Structure of sql table…
Read more »How to delete records?
1) Write the delete statement: [code language=”php”] $sql = "DELETE FROM `users` WHERE `id`=:id"; [/code] 2) Prepare the query: [code language=”php”] $query = $dbh -> prepare($sql); [/code] 3) Bind the…
Read more »How to use PDO to update the database?
1) Write the regular update statement and again, instead of values, assign the named placeholders. For example: [code language=”php”] $sql = "UPDATE `users` SET `city`= :city, `phone` = :tel WHERE…
Read more »uDeploy Component Rollback explained!!!
What is Rollback? Automatically moving component versions(That is, the environment inventory) to a previous state. – To the versions that were deployed before a process began – To the versions…
Read more »uDeploy Application processes Steps Explained!!!
Application processes, like component processes, are created with the process editor. UDeploy provides several common process steps. Also, application processes are assembled from processes that are defined for their associated…
Read more »
UDeploy properties & component properties along with their contexts
Components can have several types of properties. The server keeps track of changes to component properties as property versions. Properties can be set for many different things, including components, environments,…
Read more »
Component Process types of uDeploy explained!!!
In most cases, you run component processes by adding them to application processes. However, you can also run component processes directly. Click an application, and go to the Components tab….
Read more »
What is Agent Pool and selection criteria in uDeploy?
Similar to resource groups, agent pools help you organize and manage agents that are installed in different environments. Agent pools distribute work among all pool members and reduce congestion that…
Read more »How to use PDO to read data from the database?
1) Write the regular select statement and again, instead of values, put named placeholders. For example: [code language=”php”] $sql = "SELECT * FROM users"; [/code] 2) Prepare the query: [code…
Read more »
How to use PDO to insert data into the database?
The SQL code for the users table: [code language=”sql”] CREATE TABLE IF NOT EXISTS users (id int(11) NOT NULL AUTO_INCREMENT, name varchar(60) DEFAULT NULL, phone varchar(12) DEFAULT NULL, city varchar(60)…
Read more »
Do you know Container Linux (CoreOs) and Tectonic journey towards OpenShift?
The CoreOS corporation was acquired by Red Hat in May 2018 for $250 million; post-acquisition, the main enterprise Container Linux distribution, combined with Red Hat’s similar Project Atomic, has been…
Read more »INCREASE WEBSITE LOADTIME
How to Increase Website loadtime and Page Speed ? Click Here… Click Here …. Some Website to Check Other Website Performance. Click Here…. Click Here…. Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge…
Read more »Docker Error: JOB FOR DOCKER.SERVICE FAILED BECAUSE THE CONTROL PROCESS EXITED WITH ERROR CODE
[root@localhost ~]# systemctl restart docker Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details. [root@localhost ~]# [root@localhost ~]#…
Read more »TURN OFF DISPLAY ERROR IN PHP
Method 1 & 2 & 3 https:///…-standards-error-fix Method 4 error_reporting(0); ini_set(‘display_errors’, ‘0’); # don’t show any errors… error_reporting(E_ALL | ~E_STRICT); # …but do log them Few more http:///…-standards-in-joomla…
Read more »HOW TO OPEN ALL FILES IN A FOLDER USING NOTEPAD ++
These are the steps to open a folder using Notepad ++ Step 1: Click on View Menu –> Project –> Project Panel 1 Step 2: Click on Workspace –> Add New…
Read more »Certified Kubernetes Administrator CKA Exam Curriculum
Certified Kubernetes Administrator CKA Exam Curriculum Reference https://www.cncf.io/certification/cka/ https://github.com/certifications-tutorials/kubernetes-curriculum Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at…
Read more »
Where can I practice splunk search commands for free?
For newbies Splunk has provided Splunk free online sandbox where you can try splunk and practice on it. Below is link for splunk online sandbox.You need to register on splunk…
Read more »
Login to linux ansible remote server enabled with LDAP using SSH?
Here is the scnario which we tried last week with Pranav Goel in order to login the Ansible remote server which is enlabe with LDAP and become a su to…
Read more »
Ansible Role Project 1
Step 1 – Create a role which has following specification. Install a webserver httpd # use role/vars/ Add cond…httpd should be done only if RHEL. Copy a index.j2 into /var/www/html…
Read more »
Ansible Tower Administration Guide
Ansible Tower Support – If you have paid membership, you can contact the support team at https://access.redhat.com How to understand Ansible Tower Subscription Types Self-Support Enterprise: Standard Enterprise: Premium https://docs.ansible.com/ansible-tower/latest/html/administration/license-support.html#subscription-types…
Read more »