


Sudo apt-get install nginx git nano fcgiwrap apache2-utils -y You can install everything necessary for HTTP Git Server with a single command. When this completes, reboot the server (if necessary). Once apt is updated, upgrade the server with the command: Log into your Ubuntu server and update apt with the command: Because of this, make sure to run the update/upgrade at a time when a reboot is possible. Remember, however, if the kernel is upgraded in the process, you’ll need to reboot the server. The first thing you’ll want to do is update and upgrade your instance of Ubuntu server. A running instance of Ubuntu Server 18.04.In order to successfully get HTTP Git Server up and running, you’ll need the following: Once complete, you’ll have a repository that anyone on your LAN can use. I’m going to walk you through the process of installing and configuring HTTP Git Server on Ubuntu 18.04. HTTP Git Server is surprisingly easy to setup and manage. This open source project uses NGINX to serve up Git repositories over your Local Area Network (LAN). Those projects might be proprietary or only intended for internal usage. Some of your projects, however, might be small or private enough that you don’t want them hosted on public repositories. Those projects are probably hosted on GitHub, or some other large-scale versioning system.

You work on many projects, some of which are collaborated on across the world. Yum install -y gcc perl-ExtUtils-MakeMakerĭnf install -y curl-devel expat-devel gettext-devel openssl-devel zlib-develĭnf install -y gcc perl-ExtUtils-MakeMakerĭownload the latest Git installation from and unpack it.You’re a developer. Yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel Install the prerequisite packages and remove the any current Git installation. Remove any existing git installations, and install git from an RPM repo. Make sure you've enabled the EPEL repository. The same method should work for all the RHEL clones (Oracle Linux, CentOS) and Fedora. This article describes the manual installation of Git 2.x on Linux. The version of Git available from the Yum repositories is typically quite old. Home » Articles » Linux » Here Git 2.x Installation on Linux
