瓦力发布系统安装部署

1、yum install ansible
2、git clone https://github.com/meolu/walle-web.git(检出代码)
3、composer install
4、配置config/web.php  与config/local.php的数据库配置
5、 ./yii walle/setup
6、配置nginx
7、将宿主机www用户生成公钥、秘钥,然后将宿主机的www用户公钥加入git/.ssh/authorized_keys(不存在authorized_keys就创建)
8、将将宿主机的www用户线上目标机器www/.ssh/authorized_keys(不存在authorized_keys就创建)
9、这里在填写walle项目中机器列表一定注意端口,我的ssh登录端口是8110,那机器列表就是119.xx.xx.233:8110(如果是22就不用加端口)

猜你喜欢

转载自blog.csdn.net/jj546630576/article/details/80634959