Configure system locale and hostname.