How to create an Open ID Provider server?

How to create your own Open ID provider server?
http://lildude.co.uk/howto-setup-your-own-openid-provider

How to Set Up OpenID on Your Own Domain
http://smarterware.org/6286/how-to-set-up-openid-on-your-own-domain