TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hands on way to learn to deploy applications on bare metal Virtual Machine?

4 pointsby shivajikobardanabout 1 year ago
I don&#x27;t want to use docker or kubernetes. I just want to deploy applications on VM using Linux OS.<p>What kind of applications can I deploy? And can I deploy stuffs without having a deployment guide about it?<p>My research has led me here:<p>- awesome selfhosted applications deploy<p>- deploy varieties of servers in Linux like email,dns,..... just for learning purpose.<p>- learn ansible

6 comments

hiAndrewQuinnabout 1 year ago
Hey, I had a post about this a while back: <a href="https:&#x2F;&#x2F;hiandrewquinn.github.io&#x2F;til-site&#x2F;posts&#x2F;the-unreasonable-effectiveness-of-vms-in-hacker-pedagogy&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hiandrewquinn.github.io&#x2F;til-site&#x2F;posts&#x2F;the-unreasona...</a><p>Basically - use Vagrant, to spin up clean, disposable VMs. Use those disposable VMs to try, try, try again at getting whatever you want to work. Finally, write up a tutorial that starts with the Vagrant spin-up and takes you through the steps, as accurately and quickly as possible.<p>I have a few tutorials where I use this technique for different little things. The most recent one is <a href="https:&#x2F;&#x2F;andrew-quinn.me&#x2F;reposurgeon" rel="nofollow">https:&#x2F;&#x2F;andrew-quinn.me&#x2F;reposurgeon</a>.
Sheeny96about 1 year ago
Bare metal virtual machines? Do you mean a virtual machine on bare metal? In which case, it&#x27;s just a vm - all VMs on some level live on bare metal.<p>You&#x27;re on the right track with Ansible - I&#x27;d suggest just buying a raspberry pi and deploying whatever you want to it via ansible over your home network. Once you&#x27;re comfortable with all the basics, spin up a vm on the pi and then deploy to that. You could then even try deploying the whole VM itself as an image! Then try to deploy the same stack to a cloud hosted machine. Even If you don&#x27;t want to run cloud systems, it&#x27;ll allow you to deploy to a machine outside your network and you&#x27;ll get exposure to how that works.<p>Just start small and build up.
评论 #40317192 未加载
skydhashabout 1 year ago
1. Learn about system administration (users, processes, permissions, networking, shell and os utilities)<p>2. Learn about services management (probably systemd, but there are others like openRC and Runit)<p>3. Follow the application instructions to install<p>Once you’ve done a few, you’d probably want to automate provisioning, discovery, resources, and logging, the whole infrastructure orchestration thing. That’s where kubernetes comes in, but the complexity threshold for it is high.
toast0about 1 year ago
Most linux distributions include a package manager. The simplest way to install applications is to use the package manager.<p>For applications without a package manager, they usually have some way to install them. Traditionally that&#x27;s untar; .&#x2F;configure; make; make install<p>Do things by hand (write down your steps) and then decide if you need a tool for it.
fabianholzerabout 1 year ago
You probably need to learn the configuration basics of some http server, because you will likely want to have a reverse proxy. I think nginx is a safe bet. I have heard positive opinions about Caddy from coworkers as well.
satvikpendemabout 1 year ago
There&#x27;s a book I read called Deployment From Scratch, it&#x27;s pretty good.