The rider begins the ollie by crouching and jumping directly upward. As the rider begins to leap, instead of lifting the feet from the board, he/she "pops" the tail by striking it against the ground, which raises the board nose-first. Maintaining contact with the board, the rider lifts the front leg and bends the front ankle so that the outer or top side of the shoe slides towards the nose of the board. The friction between the shoe and the board's grip tape helps to guide and pull the board upward, while the rear foot only maintains slight contact with board to help guide it. When nearing the peak of the jump, the rider lifts the rear leg and pushes the front foot forward, which levels the board and keeps it in contact with the back foot.
You can learn to ollie while standing stationary, or while your skateboard is rolling. Ollying while standing still works the same way as while rolling, but I think rolling ollies are easier than stationary ollies. If you would like to learn to ollie with your skateboard stationary, you can place your skateboard on some carpet or grass to keep it from rolling. If you prefer to learn to ollie while your skateboard is rolling, don’t go very fast at the start. Whichever way you learn to ollie, once you feel comfortable you should try to ollie the other way as well.
To get higher ollies, I would suggesting resting your back foot on the very end of the tail and the front foot in the middle of the deck to allow for more slide. Popping as hard as you can and catching your board in the groove of the nose with you ankle practically resting in the groove will level the board out in the air. after this initial movement slide you feet back to the bolts on the tail and nose to ensure a clean landing.