Tuesday, July 6, 2021
Friday, July 2, 2021
Install Git On Linux
https://linuxconcept.com/install-git-on-rhel-7-operating-system/
https://phoenixnap.com/kb/how-to-install-rpm-file-centos-linux
http://opensource.wandisco.com/rhel/7/git/x86_64/
https://stackoverflow.com/questions/21820715/how-to-install-latest-version-of-git-on-centos-7-x-6-x
https://superuser.com/questions/1190269/relationship-between-yum-repo-and-rpm
https://blog.thewatertower.org/2019/04/24/modifying-systemd-unit-files/
https://www.tecmint.com/list-all-running-services-under-systemd-in-linux/
https://superuser.com/questions/513159/how-to-remove-systemd-services
https://askubuntu.com/questions/795226/how-to-list-all-enabled-services-from-systemctl
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops
https://devblogs.microsoft.com/premier-developer/azure-devops-setting-up-repository-permissions/
https://stackoverflow.com/questions/2853803/how-to-echo-shell-commands-as-they-are-executed
-----------------------------------------------------------------------------------------------------------
https://linuxconcept.com/install-git-on-rhel-7-operating-system/
git --version
sudo yum remove git
sudo touch wandisco-git.repo
sudo vi wandisco-git.repo
[wandisco-git]
name=Wandisco GIT Repository
baseurl=http://opensource.wandisco.com/rhel/7/git/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
sudo rpm --import http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
sudo yum install git
Scheduled Trigger : CICD :Azure Devops
Edit your release and click on the "Schedule set" icon under the Artifacts. You can enable and "Add a new time" for repeated execution.
Thursday, July 1, 2021
AWS: Instance Types : Instance Families : Instance Sizes : Instance Pricing : EC2
https://aws.amazon.com/ec2/instance-types/
https://aws.amazon.com/ec2/instance-explorer
Instance type | Instance size | Hypervisor | vCPUs | Architecture | Cores | Threads per core | Sustained clock speed (GHz) | Memory (GiB) | Network performance | Maximum number of network interfaces | IPv4 addresses per interface | IPv6 addresses per interface | On-Demand Linux pricing |
c5.4xlarge | 4xlarge | nitro | 16 | x86_64 | 8 | 2 | 3.4 | 32 | Up to 10 Gigabit | 8 | 30 | 30 | 0.68 USD per Hour |
c5.2xlarge | 2xlarge | nitro | 8 | x86_64 | 4 | 2 | 3.4 | 16 | Up to 10 Gigabit | 4 | 15 | 15 | 0.34 USD per Hour |
c5.xlarge | xlarge | nitro | 4 | x86_64 | 2 | 2 | 3.4 | 8 | Up to 10 Gigabit | 4 | 15 | 15 | 0.17 USD per Hour |
c5.large | large | nitro | 2 | x86_64 | 1 | 2 | 3.4 | 4 | Up to 10 Gigabit | 3 | 10 | 10 | 0.085 USD per Hour |
Analytics
- Elasticsearch Service [Amazon Elasticsearch Service]
- MSK [Amazon Managed Streaming for Apache Kafka]
https://aws.amazon.com/ec2/instance-types/
n/w performance and Clock Speed - may stay same in a instance family.
Instance Family : Processor Speed /N.W Performance: a1,t2, t3 [General Purpose] c4, c5 [Compute Optimised] [Memory Optimized/RAM] [Accelerated Computing/HW Accelerator] [Storage Optimized/EBS]
Instance Size : vCPU, Cores, Memory(RAM) : nano, micro, small, medium, large, xlarge, 2xlarge, 4xlarge
30.5 Days
Large has 4GB RAM, 1 Core, 2 VCPUs
similarly, xlarge has 8 GB RAM, 2 Core, 4 VCPUs
n/w performance and Clock Speed - may stay same in a instance family.
Burst is related to EC2 Performance
Amazon EC2 allows you to choose between Fixed Performance Instances (e.g. M5, C5, and R5) and Burstable Performance Instances (e.g. T3). Burstable Performance Instances provide a baseline level of CPU performance with the ability to burst above the baseline.
New Generation is cheaper as compared to Old/deprecated - if other features stay same.
Wednesday, June 30, 2021
Azure:Devops Stakeholder:Basic Access
Supported access levels
Assign users or groups of users to one of the following access levels:
- Stakeholder: Provides partial access, can be assigned to unlimited users for free. Assign to users with no license or subscriptions who need access to a limited set of features.
- Basic: Provides access to most features. Assign to users with a Visual Studio Professional subscription, an Azure DevOps Server CAL, and to users for whom you're paying for Basic access in an organization.
- Basic + Test Plans: Provides access to all features included in Basic, as well as Azure Test Plans. Assign to users with a Visual Studio Test Professional or MSDN Platforms subscription, and to users for whom you're paying for Basic + Test Plans access in an organization.
- Visual Studio subscription: Assign to users who already have a Visual Studio subscription. The system automatically recognizes the user's subscription—Visual Studio Enterprise, Visual Studio Professional, Visual Studio Test Professional, or MSDN Platform—and enables any other features that are included in their subscription level. If you assign Basic or Stakeholder, they also receive their Visual Studio subscription benefits upon sign-in.
Tuesday, June 29, 2021
Linux: Unlock User
https://www.2daygeek.com/lock-unlock-disable-enable-user-account-linux/
id <username>
passwd --status <username>
passwd -u <username>
usermod --unlock <username>
Azure - Pipeline - Add Approver for Stage
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass
-
https://www.baeldung.com/spring-properties-file-outside-jar https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-featu...
-
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass
-
The decision was made to block such external HTTP repositories by default https://stackoverflow.com/questions/66980047/maven-build-failure-d...