![Install centos 7 via serial console connection](https://kumkoniak.com/50.jpg)
![install centos 7 via serial console connection install centos 7 via serial console connection](https://rangv.github.io/azureiotedgewithcentralcentos/images/serialconsole.png)
![install centos 7 via serial console connection install centos 7 via serial console connection](https://1.bp.blogspot.com/-nJV3VgasuBw/VIbyOO5hkWI/AAAAAAAADOk/FI-eFnh8xRI/s1600/part3-4.png)
In this blog, I’m going to show you how to install a KVM guest OS from the command-line using the virt-install tool. The serial console also comes in handy when you cannot ssh into your virtual machine due to some connectivity issues, or when you want to provide a LUKS password during startup. Generally, the first serial port on the guest VM ( /dev/ttyS0) is used for the serial console. It provides an alternative way of accessing your servers by replacing the default graphical consoles. Interaction with a serial console is similar to using a text-based terminal without a graphical interface or mouse. So, the way to install a KVM guest OS from the command-line on such systems is through a serial console using the virt-install tool. Without the GUI, it is not possible to use tools such as virt-manager or virt-viewer. On most Linux servers, the only interface available to you will be a command-line interface.
![Install centos 7 via serial console connection](https://kumkoniak.com/50.jpg)