you can also add the corresponding option to the kernel cmdline. but TBH unless you run large scale production redis servers, you probably do not have to care about the warning.