Git, on the other hand, may not be found on your machine. Most likely SSH is already installed (as it is with nearly every Linux distribution on the planet). The only two packages you need are SSH and Git. We will need git to download the source code so make sure git is installed: dnf install git. Although Midnight Commander is available in the Red Hat repositories we will use the latest source code as an example. The first thing we’ll do is install the necessary software. Another way to install software in RHEL 8 is to compile software without creating a RPM package. I’ll be demonstrating on Ubuntu Server 22.04 but I’ll also show how to install the software on an RHEL/Fedora-based Linux distribution. To make this work, you’re going to need a Linux distribution to host the repository, another machine to use the repository, and a user with sudo privileges. Both of these tools are freely available to all Linux distributions, so you don’t have to worry about searching out or paying for the tools. It might not have all the bells and whistles of the web-based options but it does the job reliably and quickly.Īnd so, how do you deploy this magical repository? With the help of git and SSH. But if you prefer the simplicity and ease of deployment that comes along with the command line, you’re going to want to give this method a go. Sure, if you want a sweet GUI to make the lives of all those who will contribute to your development project considerably easier, you might turn to a platform like Gitea. Have you ever found yourself in a situation where you need to deploy a quick Git repository on a machine within your LAN? If you’re a developer, chances are pretty good this task has fallen into your lap on several occasions.įortunately, you don’t really need to depend on a bunch of overly complicated software packages or third-party tools to make this happen.
0 Comments
Leave a Reply. |