Hands on DevSecOps Coaching that is provided on AWS and Azure Cloud platforms. Contact Coach AK at devops.coaching@gmail.com for more info. You can also reach out to Coach AK at +1(469) 733-5248
Saturday, October 21, 2023
Fix for Kubernetes Deployment Error using helm chart | Error: kubernetes cluster unreachable: exec plugin: invalid apiversion "client.authentication.k8s.io/v1alpha1"
Monday, October 9, 2023
How to Recover Artifactory Admin password | Artifactory admin password unlock | Forgotten Artifactory Admin Password | How to Recover Artifactory admin password
Please follow the steps to recover Artifactory Admin password:
Pre-requisites:
1. Login to Artifactory instance. Navigate to below directory:
cd /opt/jfrog/artifactory/var/etc
2. Create a file called bootstrap.creds under access directory
sudo vi access/bootstrap.creds
3. Add below entries:
admin@*=Admin@12345
4. Make sure the file has relevant permissions:
Sunday, October 8, 2023
Install JFrog Artifactory on Linux instance | Setup JFrog Artifactory on Ubuntu | Install JFrog Artifactory 7.X on Ubuntu 22.0.4
Artifactory is one of the popular binary repository managers. It is Java based open source tool, used for storing build artifacts and docker images.
- Supports 27 different package types including helm charts, docker images regardless of tech stack.
- A single source of truth for all your binaries
- Integration with all CICD tools
- role based authorization with teams to manage artifacts
- you can create local, remote and virtual repositories
Artifactory can be integrated with many Continuous integration and Continuous delivery tools. Artifactory is mainly used by Ant, Maven and Gradle build tools. Let us see how to install Artifactory on Ubuntu 22.0.4 using Deb packages.
Pre-requisites:
- VM needs to have at least 4GB RAM, for AWS choose at least medium instance type.
- Default ports 8081 and 8082 needs to be opened. 8081 for Artifactory REST APIs. 8082 for everything else (UI, and all other product’s APIs).
sudo hostnamectl set-hostname Artifactory
Update Ubuntu OS
sudo apt update
Add JFrog Artifactory APT repository
Install Artifactory
sudo apt install jfrog-artifactory-oss -y
The above message should confirm Artifactory have been successfully installed.
Now let us start Artifactory service.
Start Artifactory
sudo systemctl start artifactory.service
Create symbolic link
sudo systemctl enable artifactory.service
Check whether Artifactory is running?
sudo systemctl status artifactory.service
sudo tail -f /var/opt/jfrog/artifactory/log/artifactory-service.log
Check if service is running locally on 8081 port
Go to browser and open public IP/DNS name along with port no:8081
http://your_public_dns_name:8081
admin/password
After Login, click on Get started.
How to Integrate Artifactory and Jenkins?
https://www.coachdevops.com/2020/04/integrate-artifactory-with-jenkins.html
You can watch the steps in details on our YouTube channel:
What is GitHub Advanced Security for Azure DevOps | Configure GitHub Advanced Security for Azure DevOps
GitHub Advanced Security for Azure DevOps brings the secret scanning, dependency scanning and CodeQL code scanning solutions already ava...
-
Let us learn how to create and configure a Self-Hosted Agent in Azure DevOps (ADO). What is an Agent? An agent is computing infrastructure w...
-
(More New Topics..New CICD tool GitHub Actions, Helm included !! ) Here is the coaching model: Total 10 weeks of coaching program 2 sess...
-
What is Amazon EKS Amazon EKS is a fully managed container orchestration service. EKS allows you to quickly deploy a production ready Kubern...