I just put down some green and ripe olives. For the ripe olives, I put them in a jar with equal weight of salt (non-iodized salt should be used, don't ask me why but all my research online specified non-iodized salt). Don't pack them too tight, you need to give them a good shake daily. When the salt is thoroughly wet, drain, rinse, pack in a jar with olive oil, some garlic cloves, peppercorns, and some slices of fresh lemon. You need to keep them in the fridge. They are ok to eat coming right off the salt cure, but will benefit from the other treatment.
I followed the NY Times recipe for my first batch of green olives, replacing the celery with fresh fennel. Not sure what I'll do with the second batch.
BTW, the ripe olives shrink a fair bit from the salt cure.