Thursday, September 23, 2021

AZURE -204 (24 Sept 2021) - DAY5

EVENT HUB  = KAFKA

EventHub Client -C# 
----------------------------------------------

Service Bus

Azure: Resize VM : How to expand the OS drive of a virtual machine

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/expand-os-disk


https://medium.com/100-days-of-linux/how-to-resize-a-linux-root-file-system-af3e5096b4e4


https://docs.microsoft.com/en-us/azure/virtual-machines/linux/expand-disks



Linux: Partitioning Disk : MKFS EXT4 vs XFS - Database Formatting

https://computingforgeeks.com/ext4-vs-xfs-complete-comparison/

https://www.tecmint.com/create-new-ext4-file-system-partition-in-linux/

https://www.cyberciti.biz/faq/how-to-install-xfs-and-create-xfs-file-system-on-debianubuntu-linux/#Create_xfs_filesystem

mkfs.xfs /dev/device

mkfs.ext4 /dev/device


:::::: vi /etc/fstab  ::::::

/dev/sdb /data xfs defaults,nofail 0 1


lsblk -f

lsblk -a

lsblk -i


df -h 



Chrome Extensions

https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=en

Wednesday, September 22, 2021

AZURE -204 (23 Sept 2021) - DAY4

  • Resource Manager Deployment Template 
  • Azure Container
  • Azure Container Registry
  • API Management 

======================================

Sonu Sathyadas

Azure CLI is installed


1) Create the ACR

2) Enable admin account

3) Login to ACR using

Login to Azure : az login

Login to ACR: az acr login -n name

4) Create the docker image - ' docker build -t imagename:version .'

5) Tag the image with ACR prefix - docker tag imagename:version acrname/imagename:version

6) Push image to ACR using 'docker push imagename'


Instead of steps 4,5,6 we can run a single stepaz acr build -registry <your registry name> --image sampleapp .


https://sonustorageaccount.blob.core.windows.net/demofiles/MyDemoApp.zip


kkazcontainerregistry.azurecr.io

az acr login -n kkazcontainerregistry

 https://kkazcontainerregistry.azurecr.io/v2/



=============================================================================================================================


Clear Linux History

https://unix.stackexchange.com/questions/49214/how-to-remove-a-single-line-from-history

  1. To clear all your history, use

    history -c
    
  2. To delete a single line, use

    history -d linenumber

https://www.skillpipe.com/#/bookshelf/books

 https://www.skillpipe.com/#/bookshelf/books

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass