SATOHOST
No Result
View All Result
Thứ Năm, Tháng Năm 19, 2022
  • Login
  • vps giá rẻ
Subscribe
SATOHOST
  • vps giá rẻ
No Result
View All Result
SATOHOST
No Result
View All Result
Home Blog

How to KVM, QEMU start or stop virtual machine from command line (CLI)

admin by admin
Tháng Tám 14, 2019
in Blog
1 min read
0
157
SHARES
2k
VIEWS
Share on FacebookShare on Twitter

KVM or Kernel Based Virtual Machine is a popular virtualization technology. It allows you to run virtual guest machines over a host machine.
To start or stop virtual machines created on head-less servers you have to use the CLI or command line interface. There are more than one option, but we will see just one.
We will use virsh, which is based on libvirt.

A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes), see our project goals for details.

First check which virtual machines are available:

virsh list --all

In my case the output is:

 Id    Name                           State
----------------------------------------------------
 -     ubuntu-desktop                 shut off
 -     ubuntu-server                  shut off

I will start the ubuntu-server virtual machine:

virsh start ubuntu-server

The output is:

Domain ubuntu-server started

To shut it down, just enter.

virsh shutdown ubuntu-server

permalink


If you enjoyed the article, please share it

0
Tags: blog
admin

admin

Related Posts

edit post
Blog

LINUX BACKUP & RESTORE FULL OS

Tháng Ba 23, 2022
edit post
Hướng dẫn cài đặt và cấu hình Openstack toàn tập từ A-Z
Blog

VPS Ram 4GB Chỉ 199k/tháng Miễn Phí Gsuite,

Tháng Ba 23, 2022
edit post
Blog

Tài Khoản Google Drive Unlimited 2020 50k – Google Drive Không Giới Hạn – Google drive unlimited 2020

Tháng Bảy 11, 2020
edit post
Bán tài khoản MOVO CASH USA ACCOUNT (VCC+VBA)
Blog

Bán tài khoản MOVO CASH USA ACCOUNT (VCC+VBA)

Tháng Bảy 11, 2020
edit post
Blog

Hướng dẫn kích hoạt bản quyền Windows Server 2012 R2 không cần crack

Tháng Sáu 10, 2020
edit post
Hướng dẫn cài đặt và cấu hình Openstack toàn tập từ A-Z
Blog

Hướng dẫn cài đặt và cấu hình Openstack toàn tập từ A-Z

Tháng Sáu 4, 2020
edit post
Hướng dẫn Tự Tạo Ứng Dụng Họp Online Phòng Học Online Miễn Phí với Jitsi
Blog

Hướng dẫn Tự Tạo Ứng Dụng Họp Online Phòng Học Online Miễn Phí với Jitsi

Tháng Tư 13, 2020
edit post
Hướng dẫn sử dụng Remote Desktop để truy cập VPS
Blog

Hướng dẫn sử dụng Remote Desktop để truy cập VPS

Tháng Tư 12, 2020
edit post
Download Kali Linux 2020.1
Blog

Download Kali Linux 2020.1

Tháng Tư 12, 2020
vps giá rẻ
  • vps giá rẻ
Call us: 0975757375

© 2020

No Result
View All Result
  • vps giá rẻ

© 2020

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
  • Sign in

Forgot your password?

Lost your password? Please enter your email address. You will receive mail with link to set new password.

Back to login