- Edit the /etc/default/grub file.
- Set the GRUB_CMDLINE_LINUX value as follows:
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
- Save and close the file.
- Update GRUB.
Ubuntu: $ sudo update-grub CentOS: $ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
- Reboot your system.
You’re missing a quote at the end
Oh yeah, update it now. Thanks. 🙂
Thank you 🙂