Git-daemon is A really simple server for git repositories.You can take a detailed understanding by reading https://www.kernel.org/pub/software/scm/git/docs/git-daemon.html .
I once often used git-daemon when I was using Ubuntu.But when I turn to Fedora and found it was not installed.And the output is like the following.
So I write this post to record How to install and enable git-daemon First Let’s intall the git Daemon:
However git daemon is off by default.We should enable it.We should do as the following.
And modify the file as the following configuration.
And then,We use this command to start the git Daemon
Mostly we could clone the repositories from the git daemon.
But if you have enabled Firewall and other people want to clone the repository from your git daemon,please let the port 9418 available to the outsite.