How to create a Nuget Package using NuGet Package Explorer?
What is NuGet Package Explorer? NuGet Package Explorer (NPE) is an application that makes it easy to create and explore NuGet packages. You can load a .nupkg or .snupkg file…
Read more »Understanding a world of DevOps from Richard Seroter
Introduction and Goals Hi, my name is Richard Seroter and welcome to this course on DevOps. We’re going to be covering the Big Picture of DevOps, hence the title, really…
Read more »Octopus Deploy – How to handle deployment errors and script failure response.
Each of your scripts will be bootstrapped by the open-source Calamari project to provide access to variables and helper functions. You can see how your scripts are bootstrapped in the…
Read more »Octopus Deploy – Send a Notification When Deployments Fail
If you are using Octopus Deploy as part of a continuous delivery pipeline, you’ll probably find that deployments don’t fail very often. This means, you need to send an email…
Read more »Octopus Deploy – Deployment Examples and Sample Projects
Deploying software with Octopus Deploy involves packaging your applications and configuring your infrastructure. With those two steps completed, you need to define your deployment process by creating a project, adding steps and configuration variables, and creating releases. The section goes…
Read more »Octopus Deploy – Run Multiple Processes steps on a Tentacle Simultaneously and Parallel
For each step that you define in you deployment processes, you can set conditions for greater control over the step’s execution. You can set conditions to: Run the step on…
Read more »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 »