Storing flour, grains etc.

We stay in a warm climate. How can we store grains, pasta and especially flour in bulk, long terms and not get weevils.