“useradd” is actually the native binary, and “adduser” is the Perl wrapper. There’s no reason not to use “adduser”, the functionality is the exact same between the two, and “adduser” tends to be easier to use. Less mental bloat.
@@SimGunther the future: > congratulations on your mains degree > you will compete against a chess grandmain > it took years to main the art of kung fu
I don't understand why GitHub is changing the "main" branch from master to main to avoid slavery. WTF? If you follow that logic, it technically makes you racist. So "master copy" is now racist too? This is solution looking for problems.
@@richardlighthouse5328 leftism is all about illogical, surface level wokeness. Skin colour emojis are the best example of this. If they really wanted to embrace "content of your character" then we would all be using generic yellow emojis, but now you are constantly reminded of people's race whenever they use these things. Tools like slack that store your preference of skin colour emoji are literally asking you to specify your race and then storing it in a giant database lmao.
hmmm so this is real ? got the feeling this is a trap, if you say it's unnecessary you become a hardcore racist and get blocked by "good people" from twitter and so on, can't argue with this people :( This really does not seem useful, how can anyone be offended by the "master" branch wth. So let's go now, delete the white house, the master diploma, the mastercard, the game mastermind and so on, I think this terms are racists !
Haha, like those ppl who make an argument 'blacklist' should be called 'denylist' because 'blacklist' is racist without them realizing they are racist for making this connection to begin with.
If you want something a tad simpler, after you create the git user, you should be able to exit back to your local machine ssh-copy-id git@server enter password That should create your .ssh directory and authorized_keys file with your key and all the proper permissions.
This. I have one for myself and set up one for the company, takes like 5 minutes to get everything up and running and works great. Also private repos before Github decided they should make it free as well.
Emiel Kollof That dude uses suckless tools, you think he is going to install bloat like gitea and use a browser like a normie?:D But seriously though for small repositories like dotfiles or other config files which are mostly meant to be shared with other users and not involving a lot of collaborative development, gitea/gogs/gitlab etc, are not necessary and a simple ssh/http based server is enough.
i know the struggle about internet speeds while living in the middle of nowhere. i my self live in the mountains here in norway. about 1.5 km to the closest other human lol. and ive found that using 4g hotspot from my phone, with a unlimited data plan was the cheapest way to get online here. and i actually am up to 1mb/s now from where i was at 300kbs. kinda cool, plus its just one bill for my phone and internet now. totally worth the struggle to live away from all the chaos imo.
Luke try mosh (mobile shell) instead of ssh, it doesn't wait for your server's response every time you type. It's literally made for people living in the woods
Luke. I did it. I switched to suckless on Arch and learned how to patch. And now I can't stop messing with my configs. On topic. I have been running my own git server for years. Still an informative video as usual. Take care, man. I did it!
cool. you should take a look at the git flow standard. it's just naming conventions for branches and dev workflow. there are actually scripts that do the git flow for you.
You are creating content I can CONSUUME a lot nowadays. You can chown a file for the group by appending the username with a dot. So chown git. makes the FILe owned by git group also.
great video, thx, i setup my git server, and when i do "git push" it's push to github and to my "raspberrypi" this is crazy, never though this will be that easy to setup
I don't understand why GitHub is changing the "main" branch from master to main to avoid slavery. WTF? If you follow that logic, it technically makes you racist. So "master copy" is now racist too? This is solution looking for problems.
@@richardlighthouse5328 sacrificing some developer conveinience for a bit of attention from the woke press, amplified by righties. Not worth getting upset about imo
any possibility you could post the second video going through the process for making a web frontend? I have been going through hell with gitweb, teach us senpai
Hi Luke Smith, thanks for the wonderful tutorial, I followed the same I am facing one issue. while cloning and pushing it is asking the password of the server. and I am unable to find the second part of this tutorial can you please help on this thanks
Hey, I'm not from the USA and we count on fingers differently. I knew English speaking cultures frequently start counting using the index finger and the thumb is the fifth, but is that only true for numbers 1 - 5? I thought it's the same on the left hand for 6-10 but you started counting 6 using your left thumb instead of the left index. @8:48 vs 8:53 anyway, thanks for the video, I'm working on my own independent infrastructure including my own git server
For those interested in a setup of a minimal ui for the git server, I found this video ruclips.net/video/gG9Cb5LWzM8/видео.htmlsi=p94hAbZgzxk6waCs It basically covers what someone (Ahem... Luke) has supposed to cover in part2
creating files on the server side seems a bit tedious maybe you can write some code to automatically create these files based on the repos name. And you could've just installed a gitlab server on your machine for this but I really wanna see how you'll manage it all, best of luck!
Most of us developers have become accustomed to have a lot more than just Git... And it really is necessary if available. So, if we want self-hosted, then something like GitLab really is necessary. Unfortunately it is quite bloated (in terms of config management)... Their default setup runs chef in Docker! And if you question them about it they come up with all sorts of excuses...
Hey Luke, thanks a lot for this video just did this for my local hp device, i was wondering is there a way i can make a ""Root folder" for all the repositories to automatically push to when i do "git push home master" so i can have '/var/www/git/' as the location at the end of the URL in gitconfig instead of '/var/www/git/project_name.git' or do i really need to use 'git remote add' every time? Thanks again i'm smiling like a maniac now i have a self-hosted repo! Edit: Also forgot to mention i REALLY love the idea to put in in /var/www/ as im building my little hp box into an offline backup of sorts, it already has map data, stack exchange, and a few other dumps that i can read offline, along with a a copy of the NHS site and pubmed database for if i need medical information but dont have internet.. a
If you haven't already, take a look at lazygit. Written in Go, SLOC 83. It's a git game changer. It's got an AUR package, or clone the repo and 'Go build' it. As always, thanks for your contributions.
Setting a server? Just like for minecraft
It’s like he’s playing minecraft but in real life!
@@cosmojg looks interesting
@@cosmojg minetest is awesome .
but i do have a small gripe about it .
wish i could swap the mouse buttons.
Hi @kednog, can you please help me to find the second part of this tutorial where we can add GUI to see all our PR and comment stuffs, please
But what's the wecommended amount of deditaded WAM for a server?
> using the newbie interactive perl script "adduser" instead of the standard unix binary "useradd"
absolutely disgusting
Luke is part of Bloated Software Master Race. Disgusting!
Isn't it the other way around?
“useradd” is actually the native binary, and “adduser” is the Perl wrapper. There’s no reason not to use “adduser”, the functionality is the exact same between the two, and “adduser” tends to be easier to use. Less mental bloat.
Heresy, I say!
Disgusting, absolutely
>Github changes master to main
>Luke sets up own git server
Coincidence?
"Simple search and replace"
- Jupiter Broadcasting
Congratulations, we solved racism XD
@@SimGunther the future:
> congratulations on your mains degree
> you will compete against a chess grandmain
> it took years to main the art of kung fu
@@juliankandlhofer7553 "Do you take the maincard as a payment method ?"
@@MrChickenpouletmy favourite album is definitely main of puppets
@@MrCrashDavi "my favourite character of Halo is main chief"
>Is logged in as root
>uses sudo
old habit when using Linux as your desktop. it happens to me a lot on servers (and this is my job)
when you need that extra firmness
Extra super!
tbh same
only master branches? Didn't you hear, they are called main branches now.
I don't understand why GitHub is changing the "main" branch from master to main to avoid slavery. WTF? If you follow that logic, it technically makes you racist. So "master copy" is now racist too? This is solution looking for problems.
@@richardlighthouse5328 leftism is all about illogical, surface level wokeness. Skin colour emojis are the best example of this. If they really wanted to embrace "content of your character" then we would all be using generic yellow emojis, but now you are constantly reminded of people's race whenever they use these things. Tools like slack that store your preference of skin colour emoji are literally asking you to specify your race and then storing it in a giant database lmao.
hmmm so this is real ? got the feeling this is a trap, if you say it's unnecessary you become a hardcore racist and get blocked by "good people" from twitter and so on, can't argue with this people :(
This really does not seem useful, how can anyone be offended by the "master" branch wth.
So let's go now, delete the white house, the master diploma, the mastercard, the game mastermind and so on, I think this terms are racists !
@MΛX not for long
Haha, like those ppl who make an argument 'blacklist' should be called 'denylist' because 'blacklist' is racist without them realizing they are racist for making this connection to begin with.
watching you instead of preparing for exam
Setting a bad example for the zoomers smh
mmm mmm angielski jutro
This channel has the best thumbnails
I'm loving "Setting your own servers" series. We need more videos Luke!
Hai @keyboard Warrior, may i know the second part did you find? can you please help
Hi keyboard warrior can you please help me to find out the second part of this tutorial where we can see everything in gui ?
Superb video, I followed along and had my very own dotfiles backed up to my private server in no time.
Truly, thou art a scholar and a gentleman.
Show us how to setup a Minecraft server.
Here is a good guide. Used it myself. wiki.archlinux.org/index.php/Minecraft#Server
try opensource alternative - minetest. There are plenty mods for it as gregtech, ic2 etc (similar/same mods as for minecraft).
java -jar server.jar
Luke use this CoC:
1. Write good code;
2. Don't sue me for any reason.
If you want something a tad simpler, after you create the git user, you should be able to
exit back to your local machine
ssh-copy-id git@server
enter password
That should create your .ssh directory and authorized_keys file with your key and all the proper permissions.
Luke moving to the woods so his slower internet will extend out his videos for more ad revenue
Imagine being a Gitcel.
True chads write their own version control system with no dependencies.
In uncommented assembly.
superscatboy
Based
When are you going to do the "Create meme thumbnails without Photoshop" video
he's already has with gimp and imagemagick :)
ruclips.net/video/5m8Oaz8XWVI/видео.html
Another recommendation: gitea
This. I have one for myself and set up one for the company, takes like 5 minutes to get everything up and running and works great. Also private repos before Github decided they should make it free as well.
Emiel Kollof
That dude uses suckless tools, you think he is going to install bloat like gitea and use a browser like a normie?:D But seriously though for small repositories like dotfiles or other config files which are mostly meant to be shared with other users and not involving a lot of collaborative development, gitea/gogs/gitlab etc, are not necessary and a simple ssh/http based server is enough.
@-- yep, that's why you set up your own gitea instead
Literally no one:
Luke: "MY INTERNET IS EXTREMELY SLOW"
With such painfully slow internet it might be worth setting up mosh so when you ssh into your server it doesn't feel slow and unresponsive.
WoW this is incredibly simple and easy, and you did great guiding that!
i know the struggle about internet speeds while living in the middle of nowhere. i my self live in the mountains here in norway. about 1.5 km to the closest other human lol. and ive found that using 4g hotspot from my phone, with a unlimited data plan was the cheapest way to get online here. and i actually am up to 1mb/s now from where i was at 300kbs. kinda cool, plus its just one bill for my phone and internet now. totally worth the struggle to live away from all the chaos imo.
No part 2?
< 20 Mins videos, interesting and straight to the point material, no bullshit. I like your new format boy. you have skills.
salute from Argentina
Luke try mosh (mobile shell) instead of ssh, it doesn't wait for your server's response every time you type. It's literally made for people living in the woods
Luke. I did it. I switched to suckless on Arch and learned how to patch.
And now I can't stop messing with my configs.
On topic. I have been running my own git server for years. Still an informative video as usual.
Take care, man.
I did it!
>systemd
I was just thinking about this the other day. Based Luke reading my thoughts
cool.
you should take a look at the git flow standard.
it's just naming conventions for branches and dev workflow.
there are actually scripts that do the git flow for you.
You are creating content I can CONSUUME a lot nowadays. You can chown a file for the group by appending the username with a dot. So chown git. makes the FILe owned by git group also.
Can't wait for the next video!
Excellent stuff. Instant subscribe. Looking forward to your demo on stagit, too.
I am looking forward to that too.
great video, thx,
i setup my git server, and when i do "git push" it's push to github and to my "raspberrypi" this is crazy, never though this will be that easy to setup
You can set your alias to push `HEAD` instead of `--all`.
Nice video, did you made the second part for it as well? Setting up the Web Interface for the Git Server?
Thank you for this. Helped me understand some things I was curious about.
A video on technicalities of git bare repositority on managing the dot files would be awesome.
You make it sound so easy! wow
Thanks for being a good boy before it became a thing. nice video!
8:45 Morgan Freeman: but it did take longer than 10 seconds
Hey man! Thanke you for your videos. In chromium you can find extension "vimium" - it help dont use mouse in browser. I think it save your time ;)
You never did the GitWeb part
where is the git web interface setup video?
Is this because github is gonna stop using master terminology?
I don't understand why GitHub is changing the "main" branch from master to main to avoid slavery. WTF? If you follow that logic, it technically makes you racist. So "master copy" is now racist too? This is solution looking for problems.
@@richardlighthouse5328 sacrificing some developer conveinience for a bit of attention from the woke press, amplified by righties. Not worth getting upset about imo
@@keveinkevin4422 fuck Microsoft fuck github
He had his own git server before which he's setting up again here
With their logic, github secretly calls devs who pushes into master as racists.
any possibility you could post the second video going through the process for making a web frontend? I have been going through hell with gitweb, teach us senpai
Would love to see a walkthrough on setting up a VPS!
Explained very well. Thank you. I have subscribed.
The 2nd part on this series, i.e., the part Luke explains how to setup a web frontend, is not yet uploaded, is it?
At least I cant find it...
it's "that" simple to install our own git server WOW,
gonna try that on my raspberry pi, thx
You totally need keybindings for moving your face around on a grid or something.
Hi Luke Smith, thanks for the wonderful tutorial, I followed the same I am facing one issue. while cloning and pushing it is asking the password of the server. and I am unable to find the second part of this tutorial can you please help on this thanks
Thank you so much for this tutorial! Do you have plans to do one on adding the front end GUI anytime soon?
If you want a frontend, Gitea is pretty good. Very similar look and feel to GitHub, and it's extremely easy to set up.
cgit is a pretty nice simple http git ui. would recommend.
Although cgit is nicer than stagit, the only issue with it is that it's a dynamic program while stagit just pumps out static pages.
just what I needed. thank you.
Thank you Sir,, this helped me a lot !!!
More videos like this Luke!
Thanks for your knownledge
Hey, I'm not from the USA and we count on fingers differently. I knew English speaking cultures frequently start counting using the index finger and the thumb is the fifth, but is that only true for numbers 1 - 5? I thought it's the same on the left hand for 6-10 but you started counting 6 using your left thumb instead of the left index.
@8:48 vs 8:53
anyway, thanks for the video, I'm working on my own independent infrastructure including my own git server
What happened to the follow up to this??
Next video Luke: How to set up your NASA base space station.
Btw like your own search engine and this video as well.
next...something about lxc/lxd and chroot environment?
Thank you!
Nice video :) It is very simple and clear.
In next video it will be simple commit/branches reading app? It will have pull-request functionality?
For those interested in a setup of a minimal ui for the git server, I found this video ruclips.net/video/gG9Cb5LWzM8/видео.htmlsi=p94hAbZgzxk6waCs
It basically covers what someone (Ahem... Luke) has supposed to cover in part2
creating files on the server side seems a bit tedious maybe you can write some code to automatically create these files based on the repos name.
And you could've just installed a gitlab server on your machine for this but I really wanna see how you'll manage it all, best of luck!
nah
Wouldn't hurt if you went through explaining the DNS records a bit, especially considering your latest video!
(Milton from Office Space:) I was told there would be a part two?
Do you upload your videos with that internet connection?
no he puts videos on a thunb drive and drives to australia to upload them
@@sophiatheodores7985 I've just imagined this, lol.
You can use gitolite to manage git repositories yourself
Luke, when do you plan to make the stagit video?
When is video 2?
Most of us developers have become accustomed to have a lot more than just Git... And it really is necessary if available. So, if we want self-hosted, then something like GitLab really is necessary. Unfortunately it is quite bloated (in terms of config management)... Their default setup runs chef in Docker! And if you question them about it they come up with all sorts of excuses...
u can host gitLab, or now GiTea which looks alot like github
Hey Luke, thanks a lot for this video just did this for my local hp device, i was wondering is there a way i can make a ""Root folder" for all the repositories to automatically push to when i do "git push home master" so i can have '/var/www/git/' as the location at the end of the URL in gitconfig instead of '/var/www/git/project_name.git' or do i really need to use 'git remote add' every time? Thanks again i'm smiling like a maniac now i have a self-hosted repo!
Edit: Also forgot to mention i REALLY love the idea to put in in /var/www/ as im building my little hp box into an offline backup of sorts, it already has map data, stack exchange, and a few other dumps that i can read offline, along with a a copy of the NHS site and pubmed database for if i need medical information but dont have internet.. a
How can i setup a alias to /var/www/git?
I want to expose the git server online. how do i harden the endpoint so that it uses only ssh protocol is allowed. I cant see anything online on it.
0:30 did they use some kind of software to generate the git site? I've seen a lot of people's git site has the exact same layout and styles
been loving this upload rate !!
thanks
hey i am looking for the next video but i can't see it where is it ? And very nice video
any chance you make a video how to make a local git with gitolite administration;
This is good stuff!
When is part 2 coming?
GitBucket is rather nice, you should take a look at it as it's FOSS
Uhh, your diff for adding Aporcypha to kjv looks funny on your website...
You can also just use Docker and setup your own Gitlab....
Awesome dood.........
Make sure your main branch is named 'master' :^)
If you haven't already, take a look at lazygit. Written in Go, SLOC 83. It's a git game changer. It's got an AUR package, or clone the repo and 'Go build' it.
As always, thanks for your contributions.
Use mosh instead of ssh, makes it easier
If you need your own server with web gui use opensource gitea.
You uploaded this right after I installled gitea. :(
Sir can we see the code on server side pushed by devolpers??
Wheres your forum gone?
where is the second part
Lmao. I also setup my own Github clone. I ended up using Gogs.
I visited your website and i wonder... Did you read unabomber manifesto?
can we connect this git server with our own Jenkins ?
how the hell do you upload every day???
58 seconds gang
Your gf must be proud of you 😉😂
@@alepharcane99 with a girlcock on her tho 😍😍😍😍😍😍😍
Can Git Server be installed on WIndows 11?
Is it possible to create multiple gitolite account in a server ?
Do you use separate vps's for mail, searx, git, etc?
separate servers sounds like bloat and expense