Remember one rule: People are interested in themselves. The first step of getting people to like you is simple. All you have to do is be interested in them. Talk to people about themselves. Lead the conversation, making sure that it stays about them and they believe that they're the one in charge.
Find out what they're interested in and seek to learn more. For example, you're talking with someone and they drop the hint that they went rock-climbing over the weekend.
Ask the person more questions about this hobby: "How did you get started rock-climbing?" or "What do you like about rock-climbing?" or "Where is the coolest place you've ever gone rock-climbing?"
These questions will lead to answers, and you can ask more questions or develop a conversation based on that. Regardless, the other person will be impressed that you're so interested in them, and glad that they get to talk about something they actually care about.