carbon forum 搬家过程
搬移carbon forum, ACME SSL加密, 安装nginx, php7.0, mysql 等。出现的问题和注意事项。
- 更新新版本的nginx
- 建立新站点的配置文件
- 关闭 brotli, debian 8 不支持,直接删除配置即可
- Nginx 错误,php7.0-fpm permission denined 错误
- Check php here: /etc/php/7.0/fpm/pool.d/www.conf
- user = nginx
- group = nginx
- 参考自 https://serverfault.com/questions/777994/permission-denied-for-fastcgi-pass-using-php7
- Encrypt.conf 关闭多余m. example .com,这个会导致以下下载错误 ValueError: Wrote file to /srv/www/b. example .com/public_html/.well-known/acme-challenge/H7XUC20pnki5wGDZQP27xpoi5eMTnuk36oQAC_vaC6k, but couldn’t download http://m.example.com/.well-known/acme-challenge/H7XUC20pnki5wGDZQP27xpoi5eMTnuk36oQAC_vaC6k
- 修改carbon fourm的配置文件config.php 中的mysql credential
- 安装所有php7.0 的插件 sudo apt-get install php7.0-{bcmath,bz2,intl,gd,mbstring,mysql,zip}
- 安装单文件mysql 配置工具adminer.php