For those asking how to get LinkedIn recommendations, this is more of a "character reference" than a true letter of recommendation.
Ask the person to go to your LinkedIn profile.
Click on the "More" button under your name and headline.
Click "Recommend"
Write their character reference and click submit!