Linux Project: Poor Man's GitHub

Publicado el: 11 marzo 2024
en el canal de: tutoriaLinux
6,073
255

A practical Linux project showing how to set up a Git server on a remote server.

Buy the book (The Software Developer's Guide to Linux): https://packt.link/7f0mW
Use the Amazon code 20DAVID for 20% off.

Create a DigitalOcean account and get free credits when you spend $25: https://m.do.co/c/0380a1db56a6

Linux CLI commands used:
useradd --home-dir /home/dave --create-home --shell /bin/bash -G sudo dave
passwd dave

su - dave
mkdir .ssh
vim ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys

CTRL-D to logout
ssh dave@YOUR_IP

sudo apt-get install git-core

git init --bare ~/myrepo.git
git clone dave@YOUR_IP:myrepo.git
cd myrepo
cat .git/config

vim README.md
git add .
git commit -m "add README"


IN NEW TAB /tmp
git clone dave@YOUR_IP:myrepo.git
cd myrepo
cat README.md


En esta página del sitio puede ver el video en línea Linux Project: Poor Man's GitHub de Duración hora minuto segunda en buena calidad , que subió el usuario tutoriaLinux 11 marzo 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 6,073 veces y le gustó 255 a los espectadores. Disfruta viendo!