支付系统部署
            
            内网部署
    源码地址                     数据库地址                    远程端口ssh                               
路径:/mnt/mfs/webftp/pay   路径:db.1473.cn/score         10.3.14.41:12509       
                               ssh:10.3.14.41:14038        
                               数据库:10.3.14.41:14028        
            一、PHP环境
            
            装(找)一台已配置完成PHP环境的ubuntu。点击进入教案
            
            支付站点部署于打分站点下 1473.cn:12509(22端口转发)
            
            打开虚拟机,进入/etc/apache2
            
            cd /etc/apache2
             
            再进入sites-enabled
            
            cd /sites-enabled
            使用ls查看目录下有什么文件
            
            ls
             
            进入编辑网站配置文件
            
            vi 000-default.conf
             
            在最后加支付模块的配置文件
            
            DocumentRoot 文件路径是通过mfs挂载实现的目录
            
             
            退出保存
:wq
             
            重启Apache2
            
            service apache2 restart
             
            打开DMZ(以下操作都在DMZ执行)
            
            vim /etc/nginx/sites-enabled/project
            输入:
            
            upstream zhifu {
	server 172.16.10.31 weight=1 max_fails=2 fail_timeout=30s;
}
#zhifu
server {
	listen 80;
	server_name zhifu.1473.cn;
	location /
	{
		proxy_pass http://zhifu;
		proxy_set_header Host $host;
		proxy_set_header X-Forwarded-For $remote_addr;
	}
}
            然后重启服务后
            
            在本机写hosts测试
            
             
             
            成功!!!