add install target

add install target to support daemon mode