在​​/etc/default/grub​​​里的​​GRUB_CMDLINE_LINUX​​​里加上​​nokaslr​​​,然后更新一下​​grub.cfg​​​:
centos上用

sudo

debian系好像是

sudo

然后重启一下就好了。