Linux Project: Poor Man’s GitHub
Linux Project: Poor Man’s GitHub
#Linux #Project #Poor #Mans #GitHub
“tutoriaLinux”
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):
Use the Amazon code 20DAVID for 20% off.
Create a DigitalOcean account and get free credits when you spend $25:
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
source
To see the full content, share this page by clicking one of the buttons below |
Buy the book (The Software Developer's Guide to Linux): https://packt.link/7f0mW
Use the Amazon code 20DAVID for 20% off.
I love DigitalOcean and use it myself; if you need a place to host a server, use this referral code and we'll both get some free credits when you spend $25: https://m.do.co/c/0380a1db56a6
I thought that you stopped working on videos, I was thinking of asking my friend in Hashicorp to ping u and request you to plz continue. Glad to see the knowledge flow continues. I really wish to work along with you in near futureā¦.i am a SRE just because u inspire me to believe in self study and always self improvement.
githubs free doe
More poor man tutorials lol a lot can be done with some jankyyyyy setups
Isn't this rich man's GitHub? GitHub is free, a server costs money…
Dave you more or less taught me how to use Linux back in the day and it's been my passion for 6-7 years now. Glad to see these videos are still coming!
Hey