How to install Git on an intranet: accept it with clone and a pull request
This article explains how to confirm that a team can really use AngusGit after it is installed on an intranet. After reading it, you can finish the install wizard on one Linux machine, then accept the install in four steps: create a repository, clone over SSH, push a branch, and merge a pull request. A pull request is the page where someone asks to merge one branch into another. Colleagues can…
To install Git on an intranet, follow these four steps:
1. Create a repository.
2. Clone the repository over SSH.
3. Push a branch.
4. Merge a pull request.
Before installation, ensure the machine has a public SSH key. Generate one with ssh-keygen -t ed25519 -C you@example.com and copy the ssh-ed25519 line from ~/.ssh/id_ed25519.pub.
Log in to AngusGit, go to Profile → SSH Keys, click Add SSH Key, set a title, paste the copied line, and click Add Key.
For HTTPS, generate a new access token in Profile → Access Tokens, enter your login password, select git:write, set repository permission to WRITE, and copy the token immediately. Use this token for authentication when pushing changes.
During installation, the server needs 2 CPU cores and 4 GB of memory for Community installs, or 4 cores and 8 GB for Team and Enterprise installs. Use 80 GB for the disk, ensuring it stays on a separate SSD for growing repository files.
Install Docker and Docker Compose before running the install wizard. This service helps start the required services. The wizard will also create a MySQL 8 database if needed.
On the domain name setup, prepare a root domain, for example example.com. Add subdomains gm.example.com and git.example.com in the intranet DNS. For testing, you can use the hosts file on your local machine.
Ports to open are 80/443 for browsing, and 2222 for SSH. The default SSH port on the server is usually 22, so avoid using it for AngusGit.
The install wizard can be run with curl -LO https://repo.anguskit.com/raw/raw-public/AngusKit/git/AngusGit-Community-1.0.0.zip, then unzip and execute ./install.sh. The package is about 310 MB; download it on another machine if needed.
After answering the wizard prompts (recommended answers provided), leave the terminal running until you see "Install finished." or "ERROR." The first start may take a few minutes for each application.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.