惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
U
Unit 42
Blog — PlanetScale
Blog — PlanetScale
L
LangChain Blog
C
Check Point Blog
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
Vercel News
Vercel News
腾讯CDC
GbyAI
GbyAI
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
H
Help Net Security
博客园 - 三生石上(FineUI控件)
D
DataBreaches.Net
Microsoft Security Blog
Microsoft Security Blog
小众软件
小众软件

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How to create a linux virtual machine.
samuel eze · 2026-05-15 · via DEV Community

This article is about the simple steps to create a Linux virtual machine.

what is a Linux virtual machine? A Linux virtual machine (VM) is a computer that runs Linux as its operating system, but instead of being a physical machine, it exists inside another computer using virtualization software. think of it this way
- Your real computer = the host
- The virtual machine = a computer inside your computer
- Linux = the operating system running inside that virtual computer.
with the following steps we will create a Linux virtual machine.

- step 1 on your azure portal, search and click on virtual machines.

1

- step 2 click on +create

2

- step 3 on the project details, select your subscription, resource group, virtual machine name, the region, and on the availability option select no infrastructure redundancy required, on the security type select standard.

3

- step 4 still on the project details, on the image, just because its a Linux vm select ubuntu pro or any of the ubuntu options available, select the size or you click on see all and select the one that suites your computer.

4

- step 5 still on the project details, on the authentication type, select password select a username, confirm password.

4

- step 5 on the inbound port, select hTTP(80), SSH(22) select review + create

6

- step 6 after validation is passed click on create

7

- step 7 after deployment, click on resource

8

- step 9 on the overview page, you will see that our vm has an IP address, click on the IP address.

8

- step 10 after clicking on the IP address, increase the idle timeout minutes to 30 and click apply
- note the reason why we increase the idle timeout is because In an Microsoft Azure Virtual Machine, the idle timeout is increased so your connection doesn’t disconnect too quickly when there’s no activity.

8

- step 11 connect the VM

u

- step 12 check access

y

- step 13 copy username

8

- step 14 open up your Command Line Interface (cli).
what is a cli? It is a way of interacting with a computer by typing commands instead of clicking buttons with a mouse. on the cli, paste the username of the vm you created and press enter.

u

- step 15 the command ask if you want to continue? type yes insert your vm password and press enter.
- note password will be invisible when inserting so you have to be sure and confident.

u
- this shows we have connected our vm to linux. as you can see the name of our vm previously created.

j

- step 16 so before you run a command as an administrator or you want to update anything on cli you have to be in root . so have to login in as root. type sudo su and press enter.

j
as you can see from the image we jus switched to root

- step 17 to update the package index, in the cli, type apt update and press enter.

k
what does apt update do? it is used to refresh the package list on systems like Ubuntu and also it updates the Linux vm to the latest version.

- step 17 let us install something into the Linux vm, for example let us install nginx. so in the cli, type apt install nginx and press enter. make sure it is spaced out when typing a command on the cli.

j
- type yes when asked if you want to continue

uy

- step 18 to confirm you have installed nginx, go back to the vm and copy the IP address, paste it on a browser and press enter.

h
this shows we have successfully installed nginx on linux.