Uploaded August 2024 | Updated September 2026, 2 weeks ago
How To Setup a Local Git Server on Proxmox
Git is a popular version control system that is widely used for software development and other collaborative projects.
Setting up a Git server on Ubuntu allows you to host Git repositories on your own server, which can be useful for collaborating with a team or hosting open-source projects that others can contribute to.
In this video, we will learn how to set up a Git server on Ubuntu 20.04 LTS. We installed Git, created a new user to manage the repositories, created a repository directory, initialized a new bare repository, and set the correct permissions on the repository so that other users can access it.
Step 1: Install Git
sudo apt-get update
sudo apt-get install git
Step 2: Create a Git User
sudo adduser git
Step 3: Create a Repository Directory
sudo mkdir /usr/local/git
Step 4: Change the ownership of the directory to the git user
sudo chown git:git /usr/local/git
Step 5: Switch to the git user
su -l git
Step 6: Initialize a new bare repository
git init โbare myproject.git
Step 7: Configure SSH access for the git user
mkdir .ssh && chmod 700 .ssh
touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys
step 8: add SSH public keys to the authorized_keys file for the git user.
nano ~/.ssh/authorized_keys
Step 9: Clone the repository from the serve
git clone git@server:/usr/local/git/myproject.git
๐ธ Support channel & make donation :
paypal.me/aminenina/10
๐ธ Subscribe for more videos :
Youtube: youtube.com/user/aminosninatos
๐ธ Follow me On Social Media
Facebook : facebook.com/aminosninatos
***********************************************************************
๐ธProxmox Useful CLI Commands
youtu.be/PNCF4QFItSo
๐ธProxmox Create a Firewall Rule Template
youtu.be/9rKA1KPFtS0
๐ธHow to Configure the Firewall on Proxmox
youtu.be/SnjBjU9irtg
๐ธHow To Run TrueNAS on Proxmox VE Server
youtu.be/mpOgaymIL6o
๐ธProxmox Passthrough Disk Configuration
youtu.be/pPPPt5GPbvw
๐ธHow To Install OPNSense Firewall on Proxmox VE
youtu.be/XdoXGjVwkug
๐ธHow To Install Windows Server 2025 VM on Proxmox VE
youtu.be/ZiEopfr4E60
๐ธHow to Configure SDN Software Defined Network on Proxmox
youtu.be/EinV4FqvCHA
๐ธHow To Install Ubuntu 24.04 Noble Numbat on Proxmox VE
youtu.be/OuFgRe4POh4
๐ธ How To Upgrade Proxmox Host to version 8 .1
youtu.be/WLgnEIxeO2I
๐ธ Proxmox Protecting sensitive data with Ansible Vault
youtu.be/ApRplW4hBoU
๐ธ How to Deploy LXC Container in Proxmox with Ansible
youtu.be/XdozKMndWdo
๐ธ How To Install Packages on Proxmox VM with Terraform
youtu.be/RRJrLTeU67Y
๐ธ How to deploy VMs in Proxmox with Terraform
youtu.be/wkoMcVBqjuI
๐ธ How to Deploy LXC Container in Proxmox with Terraform
youtu.be/lA6ldI42fBc
๐ธ How To Create Proxmox Cloud-init Templates
hyoutu.be/3TH7fBUAIxk
๐ธ How to check ZFS File System Storage Pool on Proxmox
youtu.be/3mkP09SonD4
๐ธ How to Fix Proxmox PVE canโt create ZFS pool
youtu.be/JtHzV2TXs6M
๐ธ How to Rename Proxmox Node with Existing VMs & Containers
youtu.be/2NzLYKRVRtk
๐ธ How to take Snapshots and run Backups on Proxmox
youtu.be/98WDxmvTkwY
๐ธ How to Create Windows Server 2022 Virtual Machine on Proxmox
youtu.be/lBEwjt0ahhA
๐ธ How to Create Proxmox Linux Container
youtu.be/IfMPyttso68
๐ธ Troubleshooting Proxmox using Command Line Tools
youtu.be/RH8mlE-YXGY
๐ธ Proxmox Sizing CPU and Memory
youtu.be/R172TAWV9xY
๐ธ How to create a Proxmox Template
youtu.be/waswSpK8X_M
๐ธ How to Install Proxmox QEMU Guest Agent on Ubuntu
youtu.be/ZpEYkA4C4jY
๐ธ How to migrate a Virtual Machine from Proxmox to Vmware ESXI
youtu.be/wuKzNbDpkfg
***********************************************************************
#git #github #proxmox
How To Setup a Local Git Server on Proxmox
Git is a popular version control system that is widely used for software development and other collaborative projects.
Setting up a Git server on Ubuntu allows you to host Git repositories on your own server, which can be useful for collaborating with a team or hosting open-source projects that others can contribute to.
In this video, we will learn how to set up a Git server on Ubuntu 20.04 LTS. We installed Git, created a new user to manage the repositories, created a repository directory, initialized a new bare repository, and set the correct permissions on the repository so that other users can access it.
Step 1: Install Git
sudo apt-get update
sudo apt-get install git
Step 2: Create a Git User
sudo adduser git
Step 3: Create a Repository Directory
sudo mkdir /usr/local/git
Step 4: Change the ownership of the directory to the git user
sudo chown git:git /usr/local/git
Step 5: Switch to the git user
su -l git
Step 6: Initialize a new bare repository
git init โbare myproject.git
Step 7: Configure SSH access for the git user
mkdir .ssh && chmod 700 .ssh
touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys
step 8: add SSH public keys to the authorized_keys file for the git user.
nano ~/.ssh/authorized_keys
Step 9: Clone the repository from the serve
git clone git@server:/usr/local/git/myproject.git
๐ธ Support channel & make donation :
paypal.me/aminenina/10
๐ธ Subscribe for more videos :
Youtube: youtube.com/user/aminosninatos
๐ธ Follow me On Social Media
Facebook : facebook.com/aminosninatos
***********************************************************************
๐ธProxmox Useful CLI Commands
youtu.be/PNCF4QFItSo
๐ธProxmox Create a Firewall Rule Template
youtu.be/9rKA1KPFtS0
๐ธHow to Configure the Firewall on Proxmox
youtu.be/SnjBjU9irtg
๐ธHow To Run TrueNAS on Proxmox VE Server
youtu.be/mpOgaymIL6o
๐ธProxmox Passthrough Disk Configuration
youtu.be/pPPPt5GPbvw
๐ธHow To Install OPNSense Firewall on Proxmox VE
youtu.be/XdoXGjVwkug
๐ธHow To Install Windows Server 2025 VM on Proxmox VE
youtu.be/ZiEopfr4E60
๐ธHow to Configure SDN Software Defined Network on Proxmox
youtu.be/EinV4FqvCHA
๐ธHow To Install Ubuntu 24.04 Noble Numbat on Proxmox VE
youtu.be/OuFgRe4POh4
๐ธ How To Upgrade Proxmox Host to version 8 .1
youtu.be/WLgnEIxeO2I
๐ธ Proxmox Protecting sensitive data with Ansible Vault
youtu.be/ApRplW4hBoU
๐ธ How to Deploy LXC Container in Proxmox with Ansible
youtu.be/XdozKMndWdo
๐ธ How To Install Packages on Proxmox VM with Terraform
youtu.be/RRJrLTeU67Y
๐ธ How to deploy VMs in Proxmox with Terraform
youtu.be/wkoMcVBqjuI
๐ธ How to Deploy LXC Container in Proxmox with Terraform
youtu.be/lA6ldI42fBc
๐ธ How To Create Proxmox Cloud-init Templates
hyoutu.be/3TH7fBUAIxk
๐ธ How to check ZFS File System Storage Pool on Proxmox
youtu.be/3mkP09SonD4
๐ธ How to Fix Proxmox PVE canโt create ZFS pool
youtu.be/JtHzV2TXs6M
๐ธ How to Rename Proxmox Node with Existing VMs & Containers
youtu.be/2NzLYKRVRtk
๐ธ How to take Snapshots and run Backups on Proxmox
youtu.be/98WDxmvTkwY
๐ธ How to Create Windows Server 2022 Virtual Machine on Proxmox
youtu.be/lBEwjt0ahhA
๐ธ How to Create Proxmox Linux Container
youtu.be/IfMPyttso68
๐ธ Troubleshooting Proxmox using Command Line Tools
youtu.be/RH8mlE-YXGY
๐ธ Proxmox Sizing CPU and Memory
youtu.be/R172TAWV9xY
๐ธ How to create a Proxmox Template
youtu.be/waswSpK8X_M
๐ธ How to Install Proxmox QEMU Guest Agent on Ubuntu
youtu.be/ZpEYkA4C4jY
๐ธ How to migrate a Virtual Machine from Proxmox to Vmware ESXI
youtu.be/wuKzNbDpkfg
***********************************************************************
#git #github #proxmox



