How to record from JACK with Ardour on Linux

With all the madness that prevails the Linux audio engines and complex inter-related frameworks and subsystems, it is very easy to get lost and overwhelmed when you want to do something as simple as to record yourself playing an electric musical instrument. Recording from JACK is imperative in that case, as using a ???mic to speaker??? arrangement will introduce unwanted noise to the recording, no matter what.