The steps above look to be directly copied from https://github.com/CasparCG/server/blob/master/BUILDING.md#development, with a fix applied to a file because it caused the build to fail.
What have you been struggling with for building? Those steps work for me, but only on ubuntu18.04. On any other version or distro, ‘Extract Boost, FFmpeg and CEF’ step has to be done differently.
Those steps are targetting Ubuntu desktop. Doing it on server should work too, but will likely need more dependencies installed. (Also expect it to install a lot more packages than those listed)