HP Mini as a music server?


Hi all. I am VERY new to pc audio and have a question. I have an HP mini laptop that I no longer use and could be a dedicated music server. I do have itunes on it. Can this be run directly into a dac via a usb cable? Any other advice on how to use the mini as my music server?
Thanks
skipper320