support run repo command on server

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>