x86: Oracle Linux 6 series/Red Hat 6 series/CentOS 6

Note

This section uses the configuration files of Red Hat 6.7 as an example. Configuration files of other types of OSs may be different.

  1. Use the vi editor to open the /boot/grub/grub.conf file, locate hiddenmenu, and add the following information after hiddenmenu:

    serial --unit=0 --speed=115200
    terminal --timeout=5 serial console
    

    Add the following information to the end of the line that contains kernel:

    consoleblank=600 console=tty0 console=ttyS0,115200n8
    

    image1

  2. To enable user root to log in to the BMS through a serial port, add ttyS0 to the end of the security configuration file /etc/securetty.