how can I store coffee beans?
I don't know about beans.
I buy vacuum packed coffee in metal containers and store it in a refrigerator in my shed outside.
You can store green coffee indefinitely. Once it’s roasted there’s a shelf life.