That's awesome video Jay. You are the coolest Linux teacher in the Universe. Respect from Poland.
@2d0list393 жыл бұрын
2021 and im a new linux user, kinda went in it blind and this tutorial i stumbled upon when i thought all hope was lost on such a small topic helped a lot
@richardravich83374 жыл бұрын
Jay, how about a quick tutorial on how to assign a static ip address to a Linux server/desktop? Thanks for all you do for the Linux community. Happy Holidays to you and your family
@kayathepiratebaykid2 жыл бұрын
Actually a pretty neat and thought out intro.
@ma-jt2cz4 жыл бұрын
Really nice, my kid was able to do by following your instruction. - Thank you
@ronshabi8830 Жыл бұрын
All of your video are super clear and helpful. Thank you!
@NoBodyDroid11 ай бұрын
Palestine is free
@joenaz43112 жыл бұрын
Your channel is perfect. Clear, concise and well presented. Thanks.
@ZapRodil461 Жыл бұрын
Very clear explanation ! thanks
@RickRomig4 жыл бұрын
I use a Bash script that uses the sed command to change the hostname in both /etc/hostname and /etc/hosts. It checks the new hostname against a set of rules to ensure it's vailid and also checks to be sure the changes were successully applied in both files.
@wekiwa70553 жыл бұрын
WOW, again I needed a quick answer and you have the video.
@TheDograncho3 жыл бұрын
Thanks for your well explained videos. Please make it about sed and awk :)
@snooz783 жыл бұрын
you like being punished don't you lol it would be a good vid though.
@NoEgg4u4 жыл бұрын
@3:50 "So if I open a new tab, for example" Which terminal emulator are you using that offers multiple tabs per window? Various distros that I am sampling, via VirtualBox, do not have that feature. They seem to be bundled with basic terminal apps that do little more than let you choose the font and window transparency.
@RickRomig4 жыл бұрын
I use Terminator which can be split into multiple terminal windows. The default terminal emulator in Linux Mint supports multilple tabs.
@pavlospilakoutas4 жыл бұрын
Try shift+ctrl+t
@NoEgg4u4 жыл бұрын
@@pavlospilakoutas That worked. Thank you.
@confidencemakoni93592 жыл бұрын
Wow... Thank you... Feeling great now that l can change hostname.
@TradersTradingEdge3 жыл бұрын
OMG! Just solved a internal DNS problem :) TNX Jay.
@englishwith_mark6 ай бұрын
Great tutorial thanks
@nandhakishore3139 Жыл бұрын
i would like to know this hostname changes will work with vsftpd server? i am able to connect FTP user with IP address . i am looking to change it to hostname based login
@krzysztofh40749 ай бұрын
Thank you so much i had problems with it. Once more thank you so much
@AltianoGerung4 жыл бұрын
But why should we also edit /etc/hosts why is it a best practice?
@speedlinepro Жыл бұрын
well i got error still , Siege test sw in ubuntu says : [error] socket: unable to connect sock.c:282: No route to host can anyone help ! ☺♥♥♥ is this the same host route or what s meaning of this errorin admin panel . ggl results end up in unknow test sudo siege -c20 -t10s "any-domain"
@SteveDaley4 жыл бұрын
I was on Win10 when I watched this and tried "hostnamectl" on Ubuntu 20.04 in WSL2, but it didn't work because WSL2 doesn't use systemd for its init I guess. So I'm guessing this doesn't work with other none systemd distros as well. So would the preferred method be a simple "sudo nano /etc/hostname"? Jay, great job on recent videos, this Linux Essentials is a great idea for a series of videos. Love the homelab stuff too. Recent videos have really fit with the channel name "LearnLinuxTV." You have definitely brought your channel up another level, and you were already doing great work in the past too. Thanks for the excellent content.
@filippomenis44384 жыл бұрын
Thanks for your videos! The are always clear and userful. One question. Why you execute the "exec bash" command after change the hostname? Is a "shortcut" to force the terminal to be re executed with the new changes (in this case the hostname)?
@xrafter3 жыл бұрын
exec is built-in function in bash and what it does is replace the current shell with command put in the second argument
@willwright9879 Жыл бұрын
Thanks, it taught me what I needed to know right a way!
@wisnoskij3 жыл бұрын
What is the point of a command "hostnamectr" that does not do a complete job? So is the entire 127.x.x.x address space potential different hosts on that computer?
@marcin2x4 Жыл бұрын
I got an error on my WSL2 Ubuntu: `System has not been booted with systemd as init system (PID 1). Can't operate. Failed to create bus connection: Host is down`
@peraruor3 жыл бұрын
Hi. Love this short videos. I question i've got is, how can you change the order. For example, [serverName@userName] instead of [userName@serverName]. Thanks.
@anthonyedwards84032 жыл бұрын
Your instructions worked! and I have stand corrected. Outstanding presentation.
@AmichaiRotman3 жыл бұрын
how would you go about it in an unattended BASH script?
@OliverCalder4 жыл бұрын
Editing /etc/hostname along with /etc/resolv.conf has worked great for me in the past to set my domain name on Debian, Pop, and Arch machines, but i just started using Fedora, and for some reason `hostname --fqdn` only gives my hostname (not domain name), and `dnsdomainname` prints a blank line. Using `resolvectl` allowed me to set dns and domain manually, but I've never had to do that before. It's as if /etc/resolv.conf was ignored. Any idea why?
@xrafter3 жыл бұрын
Fedora deals with this differently as far as i know
@matyi16569 ай бұрын
okay, but why does it automatically changes to my IPS's name after every damn boot, it also breaks applications... I know it has to do with Network Manager, still I dont understand why a system breaking option is default.
@trapOrdoom2 жыл бұрын
YOOOO!!! Are you the guy who does the A+, Net+ tutorial voice overs? Jeez if so, you’re a legend.
@gawayenfamily4 жыл бұрын
nice. quick question: just installed Ubuntu desktop, do I need antivirus for it?
@samuel62524 жыл бұрын
U don’t need too...
@chicamepa Жыл бұрын
Thanks!
@AnzanHoshinRoshi4 жыл бұрын
Thank you, Jay. Byte sized then?
@srsr60994 жыл бұрын
Cool, thank you
@mnk4allcaps8 ай бұрын
ty
@awsarchitect78924 жыл бұрын
Any LFCS course
@noferblatz4 жыл бұрын
Why go through all this? I didn't even know the hostnamectl command before. I just edit the /etc/hostname file.
@RockawayCCW4 жыл бұрын
It just occurred to me, there needs to be a DOG command that chases CAT.
@EmirKATIRCI4 жыл бұрын
First of all thank you very much for the videos. Can you make a video showing how to migrate from Apache2 to Nginx? Much appreciated.