Latest / CyberSecurity Summary / Set Up and Manage Your Virtual Private Server: Making System Administration Accessible to Professionals
Transcript
- 0:00Speaker 1: Have you ever looked at the whole world of servers,
- 0:02Speaker 1: IT infrastructure and just thought, wow, that's a completely different language,
- 0:06Speaker 1: you know, intimidating expensive.
- 0:08Speaker 2: Yeah, like it's only for big companies with huge IT
- 0:11Speaker 2: teams and budgets exactly.
- 0:14Speaker 1: But what if I told you that running your own server,
- 0:16Speaker 1: getting that incredible control and capability for your digital stuff
- 0:20Speaker 1: is actually well pretty accessible now if you have the
- 0:24Speaker 1: right knowledge. That is so today we're doing a deep
- 0:26Speaker 1: dive into virtual private servers VPS for short. And this
- 0:32Speaker 1: isn't just about tech.
- 0:32Speaker 3: Talk, No, not at all.
- 0:34Speaker 2: It's really about unlocking a level of digital independence for
- 0:37Speaker 2: your own projects, maybe your startup or even a small business.
- 0:41Speaker 2: Our mission here really is to demystify the vps. We're
- 0:44Speaker 2: going to unpack the idea, walk you through picking a provider,
- 0:48Speaker 2: the setup essential, and then what you can actually do
- 0:50Speaker 2: with it right, explore the possibilities. We want to pull
- 0:52Speaker 2: out the key bits of knowledge so you feel genuinely informed,
- 0:55Speaker 2: but you know, not totally overwhelmed by jargon.
- 0:58Speaker 1: And guiding us is joh On west Fall's fantastic book,
- 1:02Speaker 1: Set Up and Manage your Virtual Private Server, making system
- 1:05Speaker 1: administration accessible to professionals.
- 1:07Speaker 4: It's our core source.
- 1:08Speaker 2: It's a great one, really practical, translates the techiek stuff
- 1:12Speaker 2: into normal person speak, exactly what we need.
- 1:15Speaker 1: Okay, so let's set the scene. There was a time,
- 1:17Speaker 1: not that long ago really, when having your own server
- 1:20Speaker 1: was just incredibly expensive, dedicated machines, special.
- 1:24Speaker 3: Facilities, thousands a month easily.
- 1:26Speaker 1: So what changed? What made this level of control available
- 1:30Speaker 1: to welp us?
- 1:32Speaker 2: The big game changer was virtualization. It's this clever way
- 1:36Speaker 2: to host multiple totally separate servers on one single, powerful
- 1:41Speaker 2: physical machine.
- 1:42Speaker 4: Wow.
- 1:42Speaker 2: So what used to need massive cash and it staff
- 1:45Speaker 2: now just needs well your knowledge. It's a powerful idea
- 1:48Speaker 2: and it's what makes server ownership so much cheaper today.
- 1:51Speaker 1: Okay, So if virtualization is the magic, what exactly is
- 1:55Speaker 1: the server the thing we're actually using and how does
- 1:57Speaker 1: this virtual part work in practice?
- 1:59Speaker 2: Well?
- 2:00Speaker 3: Think about the Internet.
- 2:00Speaker 2: Fundamentally, it's millions of computers talking.
- 2:04Speaker 3: Right. You've got clients, your phone.
- 2:06Speaker 2: Your laptop, asking for stuff, right, and then servers, which
- 2:10Speaker 2: are the computers designed to give that stuff, provide that
- 2:13Speaker 2: information or service. Every time you open a web page,
- 2:17Speaker 2: your device is a client talking to a server. Makes
- 2:19Speaker 2: sense now, the virtual bit. Imagine a big shopping mall,
- 2:24Speaker 2: that whole building that's like one giant, powerful physical server. Okay,
- 2:28Speaker 2: Inside that mall, you have loads of different stores, right,
- 2:31Speaker 2: Each one is separate, unique, does its own thing, but
- 2:34Speaker 2: they all share the mall structure, the power, the air conditioning.
- 2:38Speaker 3: A physical server is like the mall.
- 2:40Speaker 2: It hosts many virtual servers, the stores, each getting a
- 2:44Speaker 2: slice of the resources, totally isolated from the others, but
- 2:47Speaker 2: sharing the underlying hardware.
- 2:48Speaker 1: That mall analogy really helped. Okay, So let's connect that
- 2:51Speaker 1: to something we do every day, like opening a web page,
- 2:54Speaker 1: saybipyer dot com. How does that virtual magic happen?
- 2:57Speaker 4: Then?
- 2:58Speaker 2: Right, So, behind the scenes, your computer first needs the
- 3:00Speaker 2: server's address. It asks a Domain Name service a DNS
- 3:05Speaker 2: server for the numerical IP address for beetpirate dot com.
- 3:08Speaker 2: Think of it like a global phone book.
- 3:10Speaker 4: Okay.
- 3:11Speaker 2: Once it has that number, it knocks on the door
- 3:13Speaker 2: of the web server using a specific port number, usually
- 3:16Speaker 2: Port eighty for regular web pages or four hundred and
- 3:19Speaker 2: forty three for secure ones.
- 3:21Speaker 3: The HPTPS ones.
- 3:22Speaker 5: The little padlock exactly.
- 3:24Speaker 2: Now, Sometimes things go wrong here, maybe the domain doesn't exist,
- 3:28Speaker 2: or the DNS records are messed up or rarely your
- 3:31Speaker 2: ISP might even sort of poison the result and send
- 3:35Speaker 2: you somewhere else.
- 3:36Speaker 4: Oh wow.
- 3:36Speaker 2: But assuming it works, the web server answers on that
- 3:38Speaker 2: port and sends the web page data back to you.
- 3:41Speaker 3: That's the basic flow.
- 3:42Speaker 1: So with all this power and control, the big question
- 3:45Speaker 1: for a lot of folks is going to be cost.
- 3:48Speaker 1: Is it really that much cheaper now to run your
- 3:50Speaker 1: own vps?
- 3:51Speaker 2: It absolutely is, and the difference is pretty striking. Shared
- 3:54Speaker 2: hosting where you're crammed in with tons of other sites
- 3:56Speaker 2: averages what maybe four dollars and sixty three someone, yeah,
- 3:59Speaker 2: something like that, a basic VPS more like seventeen dollars
- 4:03Speaker 2: and forty nine cents a month.
- 4:04Speaker 3: But a dedicated.
- 4:05Speaker 2: Physical server you're looking at over one hundred bucks maybe
- 4:08Speaker 2: one hundred and seven dollars and twenty five a month.
- 4:10Speaker 2: Huge difference, and it gets even cheaper.
- 4:12Speaker 3: Aws.
- 4:13Speaker 2: Amazon's cloud service has EC two instances free for the
- 4:16Speaker 2: first year, then it's billed hourly, super flexible hourly.
- 4:20Speaker 4: Wow.
- 4:21Speaker 2: And if you really hunt around on sites like low
- 4:23Speaker 2: inbox dot com, you can find bargain basement VPS deals,
- 4:26Speaker 2: sometimes as low as two dollars and fifty cents a month,
- 4:29Speaker 2: or even ten twenty dollars a year during sales.
- 4:31Speaker 1: Okay, two dollars and fifty cents a month. That sounds
- 4:33Speaker 1: almost suspicious. What's the catch?
- 4:35Speaker 2: There has to be a trade off, right, there is,
- 4:37Speaker 2: and it's simple responsibility. You are the tech support. Your
- 4:41Speaker 2: provider might reset your server if things go really bad,
- 4:44Speaker 2: reimage it, basically wipe it clean. But all your data,
- 4:46Speaker 2: your set up, your customization's gone. So you are responsible
- 4:50Speaker 2: for your data, backup, security, keeping things running.
- 4:52Speaker 3: It takes time commitment.
- 4:54Speaker 2: If you're the type who likes to outsource everything technical, yeah,
- 4:56Speaker 2: maybe a.
- 4:57Speaker 3: VPS isn't for you.
- 4:58Speaker 5: Right, it's hands on totally.
- 5:00Speaker 2: The author John Westfall he became a research psychologist but
- 5:03Speaker 2: still manages his own it. That kind of tells you
- 5:06Speaker 2: the level of self sufficiency involved.
- 5:08Speaker 1: Okay, So if we're ready for that responsibility, the next
- 5:11Speaker 1: big step is picking a provider. And you mentioned it's
- 5:14Speaker 1: not like buying a car. The waters are muddier, Yeah,
- 5:19Speaker 1: definitely muddier.
- 5:20Speaker 2: It helps to think about providers in like three main
- 5:22Speaker 2: groups based on price and service. First, you've got the
- 5:26Speaker 2: low end price small shop guys.
- 5:28Speaker 1: The bargain basement ones pretty much.
- 5:30Speaker 2: Often one person shows advertising on places like low inbox
- 5:33Speaker 2: dot com. Their whole thing is lowest costs. They assume
- 5:36Speaker 2: you know your stuff technically and won't need much higher Right,
- 5:38Speaker 2: you'll see specs like one CPU core often just a
- 5:41Speaker 2: slice of a standard CPU, maybe twenty two gigabee and
- 5:44Speaker 2: vme SSD storage small but fast, one gbp port plenty fast.
- 5:48Speaker 2: Usually they might mention the OPENBZ hypervisor that's the software
- 5:52Speaker 2: managing the virtual servers, and a location like.
- 5:55Speaker 5: Los Angeles, so super cheap. But you're on your own largely.
- 5:58Speaker 2: Yeah, and watch out for human reasons for downtime, like
- 6:01Speaker 2: the owners on vacation or something.
- 6:02Speaker 3: It demands a lot from you.
- 6:04Speaker 2: Then you have the high end price large shop providers
- 6:07Speaker 2: names you probably know like dream host, Blue host host.
- 6:10Speaker 5: Gator, Okay, the bigger names, right.
- 6:13Speaker 2: Hundreds of staff, custom portals, maybe apps, often two hundred
- 6:17Speaker 2: for seven support. It's a more polished experience, but you're
- 6:20Speaker 2: still responsible for your content, backups, security scans usually extra cost,
- 6:25Speaker 2: and finally, the priced by the minute. Cloud infrastructure players
- 6:29Speaker 2: the giants Amazon Web Services, AWS, Google Cloud, Microsoft, Azure, oh,
- 6:34Speaker 2: the cloud providers exactly, pay only for what you use,
- 6:37Speaker 2: often by the minute. Great for fluctuating needs like heavy
- 6:40Speaker 2: data crunching sometimes or big website spikes during say tax season.
- 6:44Speaker 2: AWS even has a price.
- 6:46Speaker 1: Calculator, flexible but potentially complex.
- 6:48Speaker 2: Can be They introduce cool concepts like autoscaling, adding resources
- 6:52Speaker 2: automatically when needed, elasticity growing and shrinking easily, high availability
- 6:57Speaker 2: or HA for uptime, load balancing, traffic.
- 7:00Speaker 3: Powerful stuff.
- 7:01Speaker 1: Okay, that's a diverse landscape. So how do you protect
- 7:04Speaker 1: yourself legally? How do you know what you're actually signing
- 7:06Speaker 1: up for?
- 7:07Speaker 3: Crucial question.
- 7:08Speaker 2: You need to look at two key documents, often buried. First,
- 7:12Speaker 2: the terms of service tos. I think of it like
- 7:15Speaker 2: your lease agreement. The fine print exactly, usually long, complex
- 7:19Speaker 2: and written to protect them. It'll say they're not liable
- 7:21Speaker 2: for your data loss or lost income, that backups usually
- 7:24Speaker 2: cost extra. It covers maintenance, windows, bandwidth limits go over,
- 7:28Speaker 2: you might get suspended. Wow, It'll likely say hacks aren't
- 7:31Speaker 2: their fault. Covers billing, copyright takedowns, often forty eight hours,
- 7:35Speaker 2: rules about porn fishing, stuff like that. You have to
- 7:38Speaker 2: review it carefully, search for the bits that matter to you.
- 7:42Speaker 2: The second if they offer it is the Service Level
- 7:44Speaker 2: Agreement SLA. This is more like a legal contract guaranteeing uptime,
- 7:49Speaker 2: often aiming for five nine's ninety nine point nine nine
- 7:52Speaker 2: nine percent uptime, which is just over five minutes of
- 7:54Speaker 2: downtime per year, tiny amount. If they breach the SLA,
- 7:57Speaker 2: you might get service credits, but not all offer slas,
- 8:01Speaker 2: and good ones often cost more or need longer contracts.
- 8:04Speaker 1: Okay, Besides reading the legal docs, what are some practical
- 8:08Speaker 1: red flags to watch out for when choosing Well?
- 8:10Speaker 2: Definitely be wary of rates that seem too good to
- 8:13Speaker 2: be true. Could be an inexperienced provider or someone trying
- 8:17Speaker 2: to you know, hide a bad rep. Right the old
- 8:19Speaker 2: saying you get what you pay for really applies. Higher
- 8:23Speaker 2: price often means better support, better docks, faster help when
- 8:26Speaker 2: you need.
- 8:27Speaker 4: It makes sense.
- 8:28Speaker 2: Big red flag if a company forbids you from encrypting
- 8:31Speaker 2: your data or setting your own passwords, huge security issue.
- 8:34Speaker 2: WHOA yeah, And be cautious if they only take untraceable
- 8:37Speaker 2: payments like crypto or wire transfers, unless that's their whole
- 8:41Speaker 2: known business model, which raises other questions. Always always check
- 8:45Speaker 2: online reviews, Maybe ask questions on social media before.
- 8:47Speaker 4: You buy good advice.
- 8:48Speaker 1: Okay, say we've picked one, what do we need ready financially,
- 8:52Speaker 1: time wise.
- 8:53Speaker 2: Financially besides the VPS cost, you'll need a domain name
- 8:56Speaker 2: that's cheap. Maybe ten twenty dollars a year for a
- 8:59Speaker 2: decent high end provider. Maybe budget around three hundred dollars
- 9:03Speaker 2: for the first year all in, okay, And it's a commitment,
- 9:06Speaker 2: especially at first. Sign up is quick, maybe twenty minutes
- 9:09Speaker 2: getting the server actually set up by the provider, could
- 9:11Speaker 2: be ten minutes, could be twelve hours, depends.
- 9:14Speaker 4: Then the real work starts.
- 9:15Speaker 2: Yeah, logging in, installing the basics honestly, block out maybe
- 9:20Speaker 2: ten twenty hours for that initial phase, including troubleshooting. Then
- 9:24Speaker 2: plan for say thirty sixty minutes of weekly.
- 9:27Speaker 4: Maintenance, weekly check ins.
- 9:28Speaker 2: Definitely, And if you're moving from old hosting, keep the
- 9:31Speaker 2: old one active for a month overlap.
- 9:33Speaker 3: Trust me, it saves headaches.
- 9:35Speaker 4: Smart.
- 9:36Speaker 1: So okay, server's ready, accounts active. How do we actually
- 9:40Speaker 1: connect to this thing?
- 9:41Speaker 2: First step, point your domain name like theepirate dot com
- 9:44Speaker 2: to your server's IP address. You do this with a
- 9:46Speaker 2: DNSA record at your domain registrar. Okay, just know dinas
- 9:50Speaker 2: changes take time to spread, maybe two four hours. It's
- 9:52Speaker 2: called propagation based on TTL setting.
- 9:55Speaker 5: I get wait a minute, then what Then?
- 9:56Speaker 2: You connect using secure shell or SSH. If you're on Window,
- 10:00Speaker 2: you'll likely use a tool called putty glee. Mac and
- 10:02Speaker 2: Linux have SSH built in now. Instead of just passwords,
- 10:06Speaker 2: many providers use private key files for better security. You
- 10:10Speaker 2: download this key file once, keep it super safe. It's
- 10:13Speaker 2: part of cryptographic authentication.
- 10:15Speaker 1: More secure than a password, much more.
- 10:17Speaker 2: Your computer also keeps a record of servers you connect
- 10:20Speaker 2: to in a known hosts file. It helps stop you
- 10:23Speaker 2: connecting to fake servers. Oh and we'll mostly use Debian
- 10:27Speaker 2: and Sento Linux examples here.
- 10:28Speaker 1: All right, Now, the command line for a lot of people,
- 10:32Speaker 1: that sounds old school, maybe intimidating.
- 10:35Speaker 4: Yeah, why is it still so key for a VPS?
- 10:38Speaker 2: It really comes down to efficiency. Linux was built for
- 10:41Speaker 2: a world of dumb terminals, just keyboards and screens connected
- 10:44Speaker 2: to a central computer.
- 10:46Speaker 3: You typed commands.
- 10:47Speaker 1: Sounds like how we use a VPS now exactly.
- 10:49Speaker 2: The command line is just faster, more direct, more powerful
- 10:52Speaker 2: for managing a server. You can automate things, do complex
- 10:55Speaker 2: stuff quickly with just text commands. It puts the power
- 10:58Speaker 2: right in your hands.
- 10:59Speaker 1: Okay, efficiency makes So we're logged in via SSH. What
- 11:02Speaker 1: are the first practical steps the core commands we need?
- 11:05Speaker 2: Well, besides SSH for login, you'll want SFTP Secure File
- 11:09Speaker 2: Transfer Protocol, probably using a tool like cyberduc. That's for
- 11:13Speaker 2: moving files between your computer and the server.
- 11:15Speaker 4: Got it files back and forth.
- 11:17Speaker 2: Crucially, first thing, create your own user account, one that
- 11:20Speaker 2: isn't root. The root user idzero has god mode full permissions.
- 11:25Speaker 2: Way safer to use a regular account for daily.
- 11:27Speaker 5: Stuff and use root powers only when needed exactly.
- 11:30Speaker 2: You use the pseudo command to temporarily elevate your privileges
- 11:33Speaker 2: for specific tasks. Much safer.
- 11:35Speaker 4: Okay, what about finding things?
- 11:37Speaker 3: You got to understand?
- 11:38Speaker 2: The Linux file system structure starts with the route directory
- 11:41Speaker 2: key places BIN for es central programs, boot for startup files,
- 11:45Speaker 2: Home where your user files live.
- 11:47Speaker 3: Usually the only place you.
- 11:48Speaker 5: Can write by default home is MySpace.
- 11:50Speaker 2: Right, then etc for config files, varlog for logs, VROW
- 11:53Speaker 2: for website files and moving around. You'll use CD to
- 11:57Speaker 2: change directory, pbdwd to see where you are. Ella's list files,
- 12:01Speaker 2: use LS for details and hidden files, LSLH for easy
- 12:04Speaker 2: to read.
- 12:05Speaker 5: Sizes elslow got it.
- 12:07Speaker 2: Kat lets you view file contents. You can use wild cards,
- 12:11Speaker 2: pipes to combine commands, very powerful for files. Touch creates
- 12:15Speaker 2: empty ones, MV moves or renames CEP poppies, and deleting
- 12:19Speaker 2: r M deletes. Be super careful with rmdashar that recursively
- 12:22Speaker 2: deletes everything in a directory.
- 12:24Speaker 4: No undo button, yikes? Okay, caution advised.
- 12:28Speaker 3: Definitely Find helps you search for files. And if you're
- 12:31Speaker 3: stuck on.
- 12:31Speaker 2: A command, type man than the command name, give you
- 12:34Speaker 2: the manual page. Look for the example section.
- 12:36Speaker 5: Super helpful man like manual.
- 12:39Speaker 4: Good tip.
- 12:40Speaker 2: Oh and Linux uses links, especially symbolic links l n nds.
- 12:43Speaker 2: They're like shortcuts to files elsewhere.
- 12:45Speaker 5: Helps keep things organized.
- 12:47Speaker 1: Okay, that's a good set of basics. Now a big
- 12:49Speaker 1: part of Linux's permissions, right, who can do?
- 12:51Speaker 4: What? Can you break that down simply?
- 12:53Speaker 3: Yeah?
- 12:54Speaker 2: Absolutely? Use the home ownership idea. Your VPS is your
- 12:57Speaker 2: digital house. Every file, every folder has permission read write.
- 13:01Speaker 4: Execute, read write execute okay.
- 13:03Speaker 2: Is applied to three groups. The owner, you or maybe
- 13:07Speaker 2: a system process. The group like collaborators, family and others.
- 13:11Speaker 5: Everyone else strangers lower group others.
- 13:13Speaker 2: Got it, so you might have full ReadWrite execute on
- 13:15Speaker 2: your stuff. Your group might only read write a shared file,
- 13:19Speaker 2: others might only read something public.
- 13:21Speaker 4: Makes sense.
- 13:21Speaker 2: You control this with CHUMD can use numbers like seven
- 13:24Speaker 2: seven means full access for everyone usually bad or symbols
- 13:27Speaker 2: like G plus W give right access to the group.
- 13:31Speaker 2: Challenge changes the owner, ghg R changes.
- 13:34Speaker 4: The group, and Root ignores all this.
- 13:36Speaker 3: Root is the.
- 13:36Speaker 2: Superadmin bypasses all permissions. That's why you use it carefully.
- 13:40Speaker 2: So to use Root powers safely, you could log out
- 13:43Speaker 2: and log back in as Root, but.
- 13:45Speaker 3: That's risky for everyday stuff.
- 13:46Speaker 2: You could use SUE to switch users, but the best
- 13:49Speaker 2: way is pseudo super user. Do it lets your regular
- 13:53Speaker 2: user run specific commands's route temporarily. It's safer and it
- 13:57Speaker 2: logs what you did. That's the standard preferred method.
- 14:00Speaker 1: Zudo got it limits the risk. Now let's peek under
- 14:02Speaker 1: the hood. How does the vps actually start up?
- 14:05Speaker 2: Okay, So basically biostarts loads a bootloader. Bootloader loads the
- 14:09Speaker 2: kernel the core Linux os Linus Torvold's baby from nineteen kernel,
- 14:13Speaker 2: then on modern systems like Wan nine or Cento seven onwards,
- 14:17Speaker 2: systems takes over. It's the master process that starts and
- 14:21Speaker 2: manages everything else network, web server, all background.
- 14:24Speaker 5: Services, system the boss pretty much.
- 14:26Speaker 2: It manages services, devices, mounts, swap space and targets like
- 14:30Speaker 2: multi user dot target for command line only good for
- 14:33Speaker 2: servers versus graphical dot target for a full desktop.
- 14:37Speaker 5: And we manage systemed with system patal.
- 14:39Speaker 2: It's your command center for services. System title, list, units, type,
- 14:42Speaker 2: service shows what's running. You can stop services or disable
- 14:45Speaker 2: them so they don't start on boot.
- 14:47Speaker 5: Ah, so you can trim the fat exactly.
- 14:49Speaker 2: Maybe you don't need the printing service cups running. Stop
- 14:52Speaker 2: it if it restarts, maybe something else depends on it.
- 14:55Speaker 2: Use system taitle reverse list dependencies cupstock service to find
- 14:58Speaker 2: out what, then disable that. System tato lets you make
- 15:01Speaker 2: your Linux install lean and mean for just what you need.
- 15:03Speaker 1: Optimizing is good and keeping things secure means updates right.
- 15:08Speaker 1: How do we handle software updates?
- 15:09Speaker 2: Linux has great package managers. Debian uses APT Advanced Package Tool,
- 15:14Speaker 2: Santos uses Yum or the newer DNF. You run commands
- 15:18Speaker 2: like appt update then APPED upgrade on Debian or Yum
- 15:21Speaker 2: update on Cento US.
- 15:22Speaker 3: This checks for and installs updates for all your software.
- 15:25Speaker 2: How often we strongly recommend doing this weekly keeps you
- 15:28Speaker 2: patched against security holes, gets bug fixes.
- 15:30Speaker 3: It's crucial.
- 15:31Speaker 2: You can install from source code, but package managers make
- 15:33Speaker 2: it so much easier for most things.
- 15:35Speaker 4: Okay, weekly updates, got it. Now.
- 15:38Speaker 1: The command line is powerful, but let's be honest, it
- 15:41Speaker 1: can't be intimidating. Is there a friendlier option, A graphical way.
- 15:46Speaker 3: There is.
- 15:46Speaker 2: It's called webman, a really solid open source GUI graphical
- 15:51Speaker 2: user interface for Linux admin been around forever, like twenty
- 15:55Speaker 2: plus years.
- 15:55Speaker 1: Webmin okay, but as using a GUI on a server
- 15:58Speaker 1: frowned upon.
- 15:59Speaker 2: Huh, there's definitely a debate. Pros webmin simplifies things, less
- 16:03Speaker 2: chance of typos and commands. Easy user management includes usermen
- 16:07Speaker 2: letting users manage their.
- 16:08Speaker 5: Own stuff on cons.
- 16:10Speaker 2: Cons you might not learn the command line as well
- 16:12Speaker 2: if you rely on it too much. Uses more server resources,
- 16:14Speaker 2: can be slower on small screens. Advice, use it for convenience,
- 16:18Speaker 2: but don't get totally dependent. Keep those CLI skills sharp.
- 16:21Speaker 4: Makes sense. So how do we install Webmin?
- 16:24Speaker 2: Pretty easy? Use bubby a get to download the package
- 16:27Speaker 2: Debian dot deb or CentOS dot rpm from the webmin
- 16:30Speaker 2: site on Debian. Install with these pgi than apt get
- 16:35Speaker 2: f install to fix any missing dependencies on Cento, YUMNOGPG
- 16:40Speaker 2: check local install, then access at house in your browser.
- 16:43Speaker 2: Go to https dot your Dash server dash ep dot
- 16:47Speaker 2: one zero zero zero zero use https. You'll get a
- 16:49Speaker 2: certificate warning at first because it's self signed. But and
- 16:53Speaker 2: this is cool, it's really easy to get rid of
- 16:55Speaker 2: that warning and make it properly secure. You install a
- 16:58Speaker 2: trusted SSL certificate use let's encrypt.
- 17:00Speaker 3: It's free.
- 17:01Speaker 2: Usually need to patch you web server installed first because
- 17:04Speaker 2: let's encrypt uses that to check you on the server, AmAm.
- 17:06Speaker 2: Then inside webmen there's an SSL module. Few clicks, request
- 17:09Speaker 2: the certificate, install it, Boom, secure padlock in your browser,
- 17:12Speaker 2: no more warnings.
- 17:13Speaker 4: Nice.
- 17:14Speaker 2: And while you're at it, add two factor authentication to
- 17:17Speaker 2: FA to your Webman login using Google Authenticator or similar
- 17:20Speaker 2: extra security layer. Highly recommend it.
- 17:21Speaker 1: Definitely good practice. So beyond setup, what can webmen actually
- 17:25Speaker 1: do for managing the server day to day?
- 17:27Speaker 2: Its strength is modules. It scans your server, finds installed
- 17:30Speaker 2: software and gives you modules to manage them. Okay, like
- 17:33Speaker 2: what well the webman group lets you configure webmen itself
- 17:37Speaker 2: back up its settings. See logs of who did what
- 17:40Speaker 2: manage Webman users the system group gives you visual ways
- 17:43Speaker 2: to manage services, system sadle stuff, users in groups, view logs,
- 17:48Speaker 2: configure the SSH server.
- 17:50Speaker 4: Ah like disabling root log in.
- 17:51Speaker 2: Easily exactly and requiling SSH keys critical stuff made easier.
- 17:56Speaker 2: And remember usermen lets your regular users manage their own
- 18:00Speaker 2: own email, maybe databases, simple web stuff without needing full
- 18:03Speaker 2: admin access.
- 18:05Speaker 4: Handy Okay. Managing the server is one thing. What about
- 18:08Speaker 4: running cool applications on the server? What kind of stuff
- 18:10Speaker 4: can we do?
- 18:11Speaker 3: Oh?
- 18:11Speaker 2: Tons, That's where the fun begins. Thanks to open source,
- 18:14Speaker 2: most installs follow a pattern. Download, unpack, create a database,
- 18:17Speaker 2: maybe run a web installer customized.
- 18:19Speaker 4: Where do you find these apps?
- 18:20Speaker 2: A great place to browse? And even fried demos? Is
- 18:23Speaker 2: opensource cms dot com really useful? So examples. You could
- 18:27Speaker 2: run moodle a massive learning management system, create online courses
- 18:31Speaker 2: training platforms. Hosting it yourself gives you total control over
- 18:35Speaker 2: content and data, unlike hosted options.
- 18:37Speaker 4: Total ownership nice or.
- 18:39Speaker 2: Astick it a great help desk system, track customer issues,
- 18:42Speaker 2: manage support, automatically create tickets from emails. People think it's
- 18:46Speaker 2: overkill for small shops, but it quickly becomes essential.
- 18:48Speaker 3: Got long ugly links.
- 18:50Speaker 2: URLs lets you run your own URL shortener, custom links, stats,
- 18:53Speaker 2: password protection. You control it, not some company that might disappear.
- 18:57Speaker 2: Handy work about privacy. OpenVPN, Set up your own VPN
- 19:01Speaker 2: on your vps, encrypt your traffic bypass geoblocks, securely access
- 19:04Speaker 2: your stuff. More set up than commercial VPNs, but way
- 19:07Speaker 2: more control and potentially better security for businesses ODO is amazing.
- 19:12Speaker 2: It's a suite CRM, accounting, HR sales, inventory, all integrated.
- 19:16Speaker 2: Start early with something like this, grow smoothly. Comprehensive need surveys,
- 19:20Speaker 2: lime survey, really advance questionnaires, conditional logic quizzes, even secure voting,
- 19:26Speaker 2: super flexible data export too. Need mailing lists GNU mailman
- 19:30Speaker 2: the standard for discussion lists, announcements, simple web interface for
- 19:34Speaker 2: archives admin Spam detection built in.
- 19:37Speaker 1: We're about selling stuff online off commerce.
- 19:40Speaker 2: Build your own online store. Just remember handling payments and
- 19:43Speaker 2: customer data means you need really tight security, non negotiable
- 19:47Speaker 2: and finally, ever wanted your own Wikipedia media wiki. The
- 19:51Speaker 2: software Wikipedia uses great for collaborative knowledge bases, group editing,
- 19:55Speaker 2: version tracking, dynamic faques, oh and back in Webman the
- 19:58Speaker 2: system and server status module set up, scheduled monitoring, get
- 20:01Speaker 2: email alerts if disk space gets low, memory runs out,
- 20:04Speaker 2: server loads spikes, even if your SSL certificate is expiring.
- 20:08Speaker 2: Acts like a central dashboard for your VPS health.
- 20:10Speaker 1: That monitoring sounds crucial. Okay, this whole journey's about control,
- 20:13Speaker 1: but you know the same, great power, great responsibility. What's
- 20:16Speaker 1: the bedrock of VPS security?
- 20:18Speaker 3: Right?
- 20:19Speaker 2: It starts with thinking about physical security even though it's virtual.
- 20:23Speaker 2: Your provider handles the actual hardware security, but your console
- 20:26Speaker 2: access that direct roof login.
- 20:29Speaker 3: Disable it when you're not using it. That password often
- 20:31Speaker 3: only gets shown once.
- 20:32Speaker 4: Good point.
- 20:33Speaker 2: Then then file permissions. We talked about ReadWrite, execute for owner, group,
- 20:38Speaker 2: other mastering, chown and chamaud is. Vital system programs run
- 20:42Speaker 2: as specific users like www dot data for apatche mess
- 20:46Speaker 2: up permissions. You can break things badly. I once locked
- 20:49Speaker 2: myself out by removing world read from etc past.
- 20:52Speaker 3: Don't do that.
- 20:52Speaker 4: Lesson learned.
- 20:53Speaker 2: There's also advanced stuff like set would set GID for
- 20:56Speaker 2: running commands as the file owner and cylinics for super
- 20:58Speaker 2: tight security. But honestly, cy Linux is complex. Often beginners
- 21:02Speaker 2: leave it off for admin access to do as king
- 21:04Speaker 2: granular control audit trail way better than everyone being route.
- 21:08Speaker 4: Okay, what about network attacks.
- 21:10Speaker 2: Open ports and firewalls. Your firewall is the bouncer. Use
- 21:14Speaker 2: netstat to see what services are listening on which ports,
- 21:17Speaker 2: like twenty two for Ssh, twenty five for email. Then
- 21:20Speaker 2: use a firewall tool like firewall d common on Sentos,
- 21:23Speaker 2: installable on Debian to set rules. Use zones to control access,
- 21:28Speaker 2: block bad ips.
- 21:29Speaker 3: Trying to hammer your server.
- 21:30Speaker 5: Lock get down definitely.
- 21:32Speaker 2: And for SSH key based authentication, use keys, not just passwords.
- 21:37Speaker 2: Generate a public private key pair, put the public key
- 21:39Speaker 2: on the server, then crucially disabled password login completely in
- 21:43Speaker 2: your shot config. Makes brute force attacks much harder.
- 21:47Speaker 4: Keys not passwords. Got it?
- 21:48Speaker 2: And finally logs your eyes and ears. Everything gets logged
- 21:52Speaker 2: in varlog check secure or off, dot log for logins,
- 21:55Speaker 2: BTMP for failed logins, patchee logs, et cetera. Use tail
- 21:59Speaker 2: to watch log live, grep to search for patterns like
- 22:02Speaker 2: failed password attempts from bots.
- 22:04Speaker 4: Use knocking exactly and.
- 22:06Speaker 2: Log ritate automatically manages these logs that they don't fill
- 22:09Speaker 2: your disc essential housekeeping.
- 22:10Speaker 1: Okay, security sounds manageable if you follow the steps, but
- 22:14Speaker 1: stuff happens backups. You said, nothing is more frustrating than
- 22:17Speaker 1: making a small change and finding it trashes everything.
- 22:19Speaker 2: Oh. Absolutely, backups are non negotiable. Backup basics, know what
- 22:23Speaker 2: to backup, etc. Canfigx, dot, home user data, varww web files, databases,
- 22:29Speaker 2: key logs.
- 22:29Speaker 3: Decide how far back you need copies?
- 22:31Speaker 4: Where do you store them?
- 22:32Speaker 2: Options another VPS, different provider. Location is best your home computer,
- 22:36Speaker 2: cloud storage, dropbox, Google Drive, etc. My paranoid rule, if
- 22:42Speaker 2: losing the data would make you literally cry, back it
- 22:44Speaker 2: up at least three waste places, version history, multiple virtual spots,
- 22:49Speaker 2: multiple physical.
- 22:49Speaker 4: Spots, three places for crying data.
- 22:51Speaker 2: Got it and scheduled versus on demand, automated daily, maybe
- 22:56Speaker 2: hourly if needed. Schedule time to check your backups work,
- 22:59Speaker 2: not make them. I've seen people find out their backups
- 23:01Speaker 2: failed silently for weeks right when they needed them.
- 23:04Speaker 3: Awful feeling.
- 23:05Speaker 4: Check the backups regularly. Okay, how do we actually do
- 23:07Speaker 4: the backups?
- 23:08Speaker 3: Methods? Very simple way.
- 23:10Speaker 2: Use Tarta archive files, ges it to compress them, write
- 23:12Speaker 2: a shell script, schedule it with chrontab use ersing to
- 23:15Speaker 2: efficiently copy.
- 23:16Speaker 5: Files off site, man line way YEP.
- 23:19Speaker 2: Or use a jewy tool like duplicat free open source
- 23:22Speaker 2: web interface access via ssh tunnel. Does incremental version backups
- 23:28Speaker 2: save space lets you restore from specific points in time.
- 23:31Speaker 2: Pretty neat. Also version control with Git not a full backup,
- 23:35Speaker 2: but amazing for tracking changes to specific files. Can figs
- 23:38Speaker 2: code get in it, ad commit, roll back mistakes easily,
- 23:42Speaker 2: push to GitHub for off site history, great frontline defense.
- 23:45Speaker 4: For changes, get for tracking changes smart Now.
- 23:48Speaker 2: The synchronization debate. Sinking data like dropbox seems easy instant
- 23:53Speaker 2: access everywhere, but it's risky errors ransomware they sink instantly too.
- 23:58Speaker 2: Better to have air gapped backs external drives disconnected stored.
- 24:02Speaker 5: Safely air gapped makes sense.
- 24:04Speaker 2: And finally simulated disaster recovery. You must test restoring your
- 24:08Speaker 2: backups regularly monthly at least build confidence, know your migration
- 24:12Speaker 2: plan if you need to move servers, copy files, databases,
- 24:15Speaker 2: users can figs test everything.
- 24:17Speaker 4: Practice makes perfect totally.
- 24:19Speaker 2: And like the book says, best feeling ever is when
- 24:21Speaker 2: someone panics about deleted data and you can calmly say,
- 24:23Speaker 2: no problem, got last night's backup.
- 24:25Speaker 5: That's backup, Zen, backup, Zen, I like it.
- 24:28Speaker 1: So we've covered a ton concept setup security backups. Now
- 24:32Speaker 1: the really exciting part unleashing the power what cool stuff
- 24:36Speaker 1: can we run on this vps we've built.
- 24:38Speaker 2: Yeah, this is where it gets fun. The open source
- 24:39Speaker 2: world is huge. Like we said, installation is often similar
- 24:43Speaker 2: download unpacked, maybe database setup web install, check opensource cms dot.
- 24:47Speaker 3: Com for demos.
- 24:48Speaker 2: So think about moodle world class learning platform, run your
- 24:51Speaker 2: own courses, training, total control or as stick it for
- 24:54Speaker 2: help desk support, track issues and proof customer service.
- 24:57Speaker 5: Super useful.
- 24:58Speaker 4: We mentioned those well.
- 24:59Speaker 2: RLS for your your own short links, open VPN for
- 25:02Speaker 2: your own private secure network connection, ODO for running your
- 25:05Speaker 2: entire business, CRM accounting, the works, keep going, Lime Survey
- 25:10Speaker 2: for powerful online surveys and quizzes, gn you Mailman for
- 25:13Speaker 2: managing email discussion lists, as commerce to build your own
- 25:17Speaker 2: online store. Remember that security first, and the wiki one
- 25:20Speaker 2: media wiki run your own collaborative knowledge base just like Wikipedia.
- 25:24Speaker 2: Great for teams or FAQs. The possibilities with open source
- 25:27Speaker 2: on your own vps are just immense.
- 25:30Speaker 4: Wow, what a journey.
- 25:32Speaker 1: Indeed, we went from asking what even is a VPS
- 25:35Speaker 1: to understanding setup, command line basics, security, backups, and now
- 25:40Speaker 1: all these amazing applications you.
- 25:41Speaker 2: Can run exactly. It's a deep dive that hopefully gives
- 25:44Speaker 2: you more than just surface level info. You should now
- 25:47Speaker 2: have that foundational knowledge to really take control of your
- 25:50Speaker 2: digital space shape at how you want it.
- 25:52Speaker 1: So, listening to this, the final question for you is
- 25:55Speaker 1: what new possibility does your newfound VPS knowledge open up
- 25:59Speaker 1: for your prices, your business, maybe just your own curiosity.
- 26:02Speaker 1: The digital world, in a very real sense, is now
- 26:04Speaker 1: yours to build