• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. Private Image Creation Guide (BMS)
  4. Creating a Linux Image
  5. Configuring Remote Login to a BMS
  6. Ubuntu 16.04

Ubuntu 16.04

  1. Use the vi editor to open the /etc/default/grub file and add console=tty0 console=ttyS0 after GRUB_CMDLINE_LINUX.
  2. Run the following commands to update the configuration:

    stty -F /dev/ttyS0 speed 115200

    grub-mkconfig -o /boot/grub/grub.cfg

  3. Use the vi editor to open the /etc/rc.local file and add the following content:
    systemctl stop getty@ttyS0
  4. To enable user root to log in to the BMS through the serial port, add ttyS0 to the end of the security configuration file /etc/securetty.