Profile cover photo
Profile photo
D Lal
212 followers
212 followers
About
D's posts

Post has attachment
Public
Setting up Java in Linux Environment
JAVA installation in Linux Majority of application servers and applications require Java . Here I am going to explain how to install JAVA in Linux environment. There are different vendors and different version of Java . You can get its details from  Link . ...

Post has attachment
Public
Power shell to stop running Azure VM based on tags
$RGs =@() $processed_vm =@() $RGs = $(Get-AzureRMResourceGroup |Select-Object -Property  ResourceGroupName -Verbose:$false ) foreach ($RG in $RGs) { $ResourceGroupName = $RG.ResourceGroupName  $vm_list = Get-AzureRmVM -ResourceGroupName $ResourceGroupName |...

Post has attachment
Public
Terraform
provider "azurerm" {   subscription_id = "XXXXXXXXXXXXXXXXXXXXX"   client_id       = "XXXXXXXXXXXXXXXXXXXxx"   client_secret   = "XXXXXXXXXXXXXX"   tenant_id       = "XXXXXXXXXXXXXXXXXXXXX" } # create a resource group resource "azurerm_resource_group" "dhan...

Post has attachment
Public
Important Linux logs for auditing
/var/log/message – Whole system logs /var/log/auth.log – Authentication logs. /var/log/kern.log – Kernel logs. /var/log/cron.log – Crond logs (cron job). /var/log/maillog – Mail server logs. /var/log/boot.log – System boot log. /var/log/mysqld.log – MySQL d...

Post has attachment
Public
Removing sudo account
/usr/sbin/waagent -force -deprovision+user && export
HISTSIZE=0 && sync

Post has attachment
Public
Creating Load in Linux Servers
Stress for Auto scaling testing [LINUX]  For performance testing or auto scale testing we usually search for a method to generate CPU / Memory  load generator. Here is one of the tool which I have used for generating CPU load to test  auto scaling in Micros...

Post has attachment
Public

Post has attachment
Public
Creating multiple VM using Vagrant
This is a sample configuration for vagrant to create custom stack of servers. Steps1. create file  "Vagrantfile" #--DDL require 'yaml' records = YAML.load_file('config.yaml') $x = records['server_name'].size puts "You have asked to install #{$x} of systems ...

Post has attachment
Public
ANSIBLE
to get host inventory - name: Install this only for local dev machine
pip: name=pyramid
when: inventory_hostname == "local" instead of inventory_hostname , can use group_names to get individual group copy command fails for large files use synchronize ta...

Post has attachment
Public
Vagrant
Vagrant is a tool to create development environment quickly. Suppose if your application need an environment which contains web, app, db, lb tiers, so creating virtual systems manually will take more time. Since vagrant keeps its configuration you can creat...
Wait while more posts are being loaded