#Step 1 git git@github.com:qiguyu/hangqingreciever.git #Step 2 cd hangqingreciever #Step 3 npm install -d #Step 4 cd etc cp settings.original.json settings.json vi settings.json #Step 5 #settings.json 说明 { "queue_server" : { //Queue Server "host" : "127.0.0.1", //Queue Server IP "port" : 3000, //Queue Server Port "queue_path" : "queue" //Queue Server Path }, "mysql" : { "172.16.33.237:3306:stock_radar" : { //任务URI中的ip,端口和database "username" : "stockradar",//任务中数据库用户名 "password" : "stockradar"//任务中数据库用密码 } } } #Step 6 node reciver.js