自动化部署工具瓦力(walle)的安装及配置
2023-04-18 11:20:59    0    0    0
junjie
1. 下载walle-web ``` git clone https://github.com/meolu/walle-web-v1.x.git walle-web ``` 2. 修改walle的mysql配置 ``` cd walle-web/ vim config/local.php ``` 3. 安装vendor ``` composer install ``` 4. 初始化项目 ``` ./yii walle/setup ``` 5. 给php进程者权限及免密码登录 ``` vipw /etc/passwd ``` ``` ssh-keygen -t rsa -C "tjjstan@qq.com" ssh-copy-id -i /var/lib/nginx/.ssh/id_rsa.pub git@127.0.0.1 ``` 如果报错则在`/etc/ssh/ssh_config`添加 ``` StrictHostKeyChecking no UserKnownHostsFile /dev/null ``` 6. 确认php进程用户有代码存储仓库/data/www/deploy/520读写权限 ``` usermod -a -G web nginx ``` 7. 设置umask ``` vim /etc/profile umask 002 source /etc/profile ```

上一篇: GIT安装

下一篇: 监听单选框radio改变事件

Table of content