Self Host 101 - Set up and Secure Your Own Server

preview_player
Показать описание
In this video, CJ shows you how to configure and lock-down a Virtual Private Server running Ubuntu 22.04. With this base VPS setup, you can begin hosting your own apps and services. This is the first part in a series on self hosting.

00:00 Intro
00:59 The What and Why of Virtual Private Servers
03:22 Connect to your VPS with SSH
05:14 Update package lists and Upgrade packages
09:16 Change root password
09:56 Create non-root user
13:08 Login with SSH Key
15:19 Disable Password Login
17:36 Disable root login
18:25 Network and Firewall Policy
19:11 Closed unused ports
20:15 Change default SSH port
21:31 Restrict port access to a specific IP
22:29 Enable and configure automatic updates
24:38 Thanks!

------------------------------------------------------------------------------

------------------------------------------------------------------------------

Terms and Topics Covered:

------------------------------------------------------------------------------

Self Host-able Services Mentioned:

Media Servers

File Sharing

Password Managers

Error Tracking / Monitoring

------------------------------------------------------------------------------

Self Host-able PaaS Mentioned:

------------------------------------------------------------------------------

Paas - Platform as a Service Mentioned:

------------------------------------------------------------------------------

Hosted Database Providers Mentioned:

------------------------------------------------------------------------------

Hit us up on Socials!

#vps #ubuntu #selfhosted #guide
Рекомендации по теме
Комментарии
Автор

This video is for beginners and hobbyist that are learning about the basics of servers and Linux. If you are managing multiple servers you can automate this kind of setup with tools like Terraform, Ansible, Puppet, Chef and others. We hope to cover these kinds of tools in future videos.

Also, we want this video to be an accurate and secure guide for people that are learning the basics, if you notice anything wrong or missing, please let us know and we will add corrections.

syntaxfm
Автор

Have been looking for this exact video and this exact series for a lot of time.
I'm new to Linux, i'm using Debian and trying to set up a web server on my raspberry pi and, until i found your video, i was quite overwhelmed on how dense and complex is all the documentation.
Linux overall need more quality content like yours, an easy first step to set things running and links and advice on how to improve and take on more complex topics.
Absolutely brilliant.

Arreboleo
Автор

I have always loved CJ and his tutorials on his channel, but he hasn‘t done them often in the last months I think. More CJ tutorials!!!

poloat
Автор

I've been using Linux for 6 months, but learned a lot of new things. Great video!

davdw
Автор

Excited for this series! Would be interested to see server configuration with Caddy

Автор

Man, if I had this video when first setting up my Raspberry Pi I would be over the moon 🙌. Having to figure all this stuff out separately took some time.

kristiankubis
Автор

Love this !! so easy to understand and follow !! That SSH ports explanation was top notch

_techbk
Автор

Absolutely love your content. Can’t explain it, but it feels like I’m being tutored 1 on 1. You have a knack for teaching. Stoked for more!

DRTYDRY
Автор

Really great work on putting this together, easy to follow and concise 🔥

lootpigeon
Автор

I always thought servers were fun, so I decided to subscribe for a cheap VPS and play around with self hosting.
And a couple of hours after I did I found your videos. So detailed, so insightful. Perfect!
It's like the universe is trying to tell me to keep messing around.
Keep up the good work!

just_morby
Автор

Great video - explains in 25 minutes the most important parts of the FEM course on the same topic, which is 6 hours (and I love Jem Young's course)

nickwoodward
Автор

Excited about the future content for setting the server for web apps

somyaranjan
Автор

Seriously this video helped me immensely. I just have a little play server and didn't realize anyone would try to hack into it. Sure enough, I checked the auth log and there's a lot of activity of some folks trying to log in with all sorts of usernames. My server is now secure thanks to the info in this video.

scottfwalter
Автор

This is on the outer edges of the theoretical limits of how good YouTube content can be. Great job!!

carsonhartley
Автор

This video brings me happiness. Not just the content, but CJ is the best fit for this by a mile!

KaizenCodes
Автор

Looking forward to the next part of this series! Just signed up for a Hetnzer VPS and followed the steps here, I now know so much more about basic linux and web servers!

kyrregjerstad
Автор

What a catch CJ was. I thoroughly enjoy his style and energy!

nickdhrones
Автор

CJ is a beast. I definitely love these how to video's and self hosted is what I'm working on.

realdanbyers
Автор

That is some GREAT content. Can’t wait for the next parts of this series

bluetheredpanda
Автор

So
VPS FTW! I'm hyped about this series! Thanks for sharing! CJ you are the MVP(S) 😘

SRG-Learn-Code