How to set up and apply serial server?