build server
build mapcache plugin
make plugin.mapcache
run command for help about command line parameters
./map-server --load-plugin mapcache --help
See all commands about map cache and select what you want.
For add map probably you want
./map-server --load-plugin mapcache --map youmapname