Authored by 周奇琪

格式修改

Showing 1 changed file with 15 additions and 10 deletions
facebook和谷歌服务代理
## 安装 node环境
> wget http://nodejs.org/dist/v0.12.2/node-v0.12.2.tar.gz
> tar -zxvf node-v0.12.2.tar.gz
> make
> make install
``` shell
wget http://nodejs.org/dist/v0.12.2/node-v0.12.2.tar.gz
tar -zxvf node-v0.12.2.tar.gz
make
make install
```
## 部署代理服务
> git clone http://git.dev.yoho.cn/web/yoho-proxy.git
> npm install
> npm install -g pm2
``` shell
git clone http://git.dev.yoho.cn/web/yoho-proxy.git
npm install
npm install -g pm2
```
## 启动服务
> cd yoho-proxy
> pm2 start app.js
``` shell
cd yoho-proxy
pm2 start app.js
```
## 注意:代理服务占用了80端口,如果需要80端口,请修改代码113行。
``` javascript
... ...