How to enable can bus (Ubuntu Image)

I want to enable canbus configuration in Ubuntu image. What is the procedure for that.