this is the first time I set up Mediatomb. I've installed it and I can access the UI.
Now what I have to do to set up libraries?
You need to select "Filesystem" and navigate to where your media is located. You then simply click on the "add" or "add as autoscan dir" icon in the top right hand corner.