How to Enable Serial Console Output in CentOS Print

  • 0

First you need to contact support to attach a Serial port to your VM

After this is done you can connect to the server with a serial console

in case it does not work , you need to apply the following setup to get it working

  1. Let's open up our text editor: nano /etc/sysconfig/grub
  2. Find the line labeled GRUB_CMDLINE_LINUX and add console=ttyS0 to the end (this assumes your serial port is ttyS0). It should look something like this: GRUB_CMDLINE_LINUX="rhgb quiet console=ttyS0"
  3. Save the file and exit
  4. Run stty -F /dev/ttyS0 speed 9600
  5. Then grub2-mkconfig -o /boot/grub2/grub.cfg
  6. Finally systemctl start getty@ttyS0

Reboot the server and you can now acces the Xterm.js console


Was dit antwoord nuttig?

« Terug

Powered by WHMCompleteSolution