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…

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…

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…

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…

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…

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…

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…

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…

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…

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…

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…

Read More

Ansible Variable Lab & Excercise – Part 6

Assigment 1 – Create a playbook and setup a webserver(httpd) and use httpd as a variable decalared in role var file Assigment 2 – Create a playbook…

Read More

Ansible Variable Lab & Excercise – Part 5

Assigment 1 – Create a playbook and setup a webserver(httpd) and use httpd as a variable decalared in inventory. Assigment 2 – Create a playbook and setup…

Read More

Understanding the difference between AWS Root, Administrator & Power User?

The AWS Account Root User When you first create an Amazon Web Services (AWS) account, you begin with a single sign-in identity that has complete access to…

Read More

Understanding about Amazon EC2 Key Pairs

Amazon EC2 uses public–key cryptography to encrypt and decrypt login information. Amazon EC2 stores the public key only, and you store the private key. The public and…

Read More

Limitations of volumes you can attach to one aws ec2 instance?

Linux-Specific Volume Limits – 40 volumes Windows-Specific Volume Limits – AWS PV – 26 Citrix PV – 26 Red Hat PV – 17 Instance Type Limits C5,…

Read More

Terraform Variables and Configuration explained – 5 mins reading!

  There are broadly 3 ways to configure/declare variables in Terraform. This section will focus on only on Input variables and Environment variables. Input variables Environment variables…

Read More

Microservices Architectural Design Patterns Playbook

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 access Ansible remote machine using SSH user and key?

How to access Ansible remote machine using SSH user and key? There are following ways, you can autheticte linux remote server using Ansible. Method 1 – Password…

Read More

Ansible execution connection type

Ansible executes playbooks in the remote server using following connection type. To change the connection type, you need to pass host-specific parameter ansible_connection=<connector>, the connection type can…

Read More

How to Autoscale pods based on CPU/Memory in Kubernetes?

CPU Based Scaling With Horizontal Pod Autoscaling, Kubernetes automatically scales the number of pods in a replication controller, deployment or replica set based on observed CPU utilisation….

Read More

What is Gitlab and how its useful in DevOps?

Intially, GitLab was introduced as a web-based Git-repository manager providing hositing solutions for git repo along with Wiki and Issues tracking. Later, GitLab become the single application…

Read More

Setup Artifactory pro 6.1.0 using Docker containtainer

Step 1 – Register a free account here. https://bintray.com/ Step 2 – Login and Click on the your “username” right top corner and go to “edit profile”…

Read More

Copy a files from jenkins server to jenkins node/slave using pipeline plugins

Workarond 1 – Try to use stash/unstash, but it is bad for large files. [code]node(‘master’) {dir(‘/path/on/master/1’) {stash ‘master-stuff’}}node(‘slave’) {dir(‘/path/on/slave/1’) {unstash ‘master-stuff’}dir(‘/path/on/slave/2’) {stash ‘slave-stuff’}}node(‘master’) {dir(‘/path/on/master/2’) {unstash ‘slave-stuff’}} [/code]…

Read More

Perforce Broker aka Helix Broker defined!

The Perforce Broker (P4Broker) enables you to restrict the commands that can be executed, or redirect specific commands to alternate (replica or edge) Perforce servers. The Perforce…

Read More

Helix Server Perforce Trigger Quick Start Guide

What is Perforce Trigger? Helix Server supports triggers which are user-written programs or scripts that are called when certain operations are performed. Examples of operations that might…

Read More

Helix Core Trigger script type Reference Guide

Each line in the trigger table has four fields.   Field Meaning name The user-defined name of the trigger. A run of the same trigger name on…

Read More

Helix Core Trigger script variables Reference Guide

Use the following variables in the command field to pass data to a trigger script:   Argument Description Available for type %action% Either null or a string reflecting an…

Read More

How to monitor Perforce Server (Helix Core Server – p4D)

There are various ways you can monitor Perforce Server (Helix Core Server – p4D). Method 1 – Monitoring the Perforce Server disk space Use the p4 diskspace…

Read More

Docker Tutorials: Difference between Docker Load and Docker Import

If you want to “flatten” an image and avoid the history which has multiple layers, docker export and import is the best way to do that. docker…

Read More