Difference between revisions of "Template:Enable serial console"

From wikieduonline
Jump to navigation Jump to search
(Created page with "You need to enable serial console in your VM machine.<ref>https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/</ref> 1) Enable serial...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
You need to enable [[serial]] console in your VM machine.<ref>https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/</ref>
 
You need to enable [[serial]] console in your VM machine.<ref>https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/</ref>
  
1) Enable serial console:
+
1) Enable serial console on VM_MACHINE:
* <code>sudo [[systemctl enable]] [[serial-getty]]@[[ttyS0]].service</code>
+
* <code>sudo [[systemctl enable]] [[--now]] [[serial-getty]]@[[ttyS0]][[.service]]</code>
* <code>sudo [[systemctl start]] [email protected]</code>
 
  
 
2) Connect to VM:
 
2) Connect to VM:
* <code>[[virsh]] [[console]] MACHINE</code>
+
* <code>[[virsh console]] MACHINE</code>

Latest revision as of 18:08, 29 June 2022

You need to enable serial console in your VM machine.[1]

1) Enable serial console on VM_MACHINE:

2) Connect to VM:

  • https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/
  • Advertising: