How to Make Your Website SEO Friend

How to make your WordPress, Joomla, Drupal or MediaWiki websites SEO-friendly. Which CMS platform is more friendly for SEO?