Mr Chou, as mentioned, the key thing is having the right gearing for the total weight of your bike and the steepness of the hills you are going up. When you have proper gearing, it really just comes down to getting on with it and finding a gear that allows you to put out a level of effort that you can maintain for a long time (specifically with really long hills)
I've toured a fair amount in mountainous terrain, and whether someone is climbing on a 18lb bike or a 75lb bike, the bottom line is : There will always be another hill.
Find a cadence, power output and (hopefully) the right gear and persevere, in a while you'll be at the top, but then it always comes back to --"there will always be another hill".