Posts

Showing posts from December, 2020

How to fetch all repositories of any workspace in bitbucket using bitbucket APIs

Image
Hey everyone 😄 recently I completed a team project regarding set up some CI/CD with Rest API and because it should have CI/CD so we use Jenkins but in here I am going to demonstrate that "How to fetch all repositories of any workspace in bitbucket ". So here, we use bash script and bitbucket rest API  But first, we need to understand curl command. Well according to GfG:- "curl is a command-line tool to transfer data to or from a server, using any of the supported protocols (HTTP, FTP, IMAP, POP3, SCP, SFTP, SMTP, TFTP, TELNET, LDAP or FILE). This tool is preferred for automation since it is designed to work without user interaction. curl can transfer multiple files at once." So hey we know, we need curl for sending/receiving request and response from bitbucket server. The other thing we need is bitbucket APIs which can found in here Bitbucket API . In the website, there are lots of APIs available but we need only this one  {workspace} .  So

How to do ssh login to push/pull code on bitbucket

Hey everyone 😀  Tonight (11:43 pm) I am writing this blog post for those who find difficulty in ssh login on bitbucket and also for those who loves learn new thinsgs. Please follow the steps to add ssh key into bitbucket account to solve your issue. Open git bash terminal and enter the command ssh-keygen -t rsa -C "your email address" Enter passphrase (leave it blank) and enter Enter the same phrase again (leave it blank) and enter Copy the  id_rsa.pub  file content from where it is residing in your system For Windows:-  C:\Users\username.ssh For Mac:- /Users/UserName(Account Name) Login to bitbucket account  Click top right-most user icon -> bitbucket settings -> ssh keys under security menu  Paste into key-field and save it.  Restart your git bash terminal and now you are able to push your work, clone others work and pull your repos✌

Configure 5099 rpm packages using Yum Without Internet

Image
Hey everyone 😀, Today I want to share an exciting configuration tool which is called YUM "not Yumraj " but RHEL's Yum . Yum is the default package management utility in RHEL/Centos Linux. For your knowledge aptitude (apt) is a  default package manager for Debian GNU/Linux systems. Note :- Without Yum or apt you will face difficulty to manually install the packages in a Linux system. Why we need Yum?  Yum is used to searching, installing, updating and removing necessary rpm files from the system. RHEL/Centos Linux use .rpm file to manage the software. A . rpm file extension represents the Linux software package file. Yum uses a repository to manage the rpm files. A repository is the collection of RPM files. Since Yum depends on the repository, there must be at least one working repository before it can be used. A repository can be configured either locally (on local hard) or remotely (on network or internet). KeyPoints To Remember YUM stands for Yellow Dog Updater Man

Popular posts from this blog

How to pass parameters in webhook?

Access and modify all the resources of our Wiki.js using WikiJS API

Fahrenheit to Celsius