▦ 冒险日志EXPLORATION LOG
## 问题
宝塔面板提示`/etc/init.d/php-fpm-73 no such file or directory`
## 解决
没有咱就创建一个完事。
`sudo vi /etc/init.d/php-fpm-73`
复制以下内容
#! /bin/sh
# Comments to support chkconfig on CentOS
# chkconfig: 2345 6…
自建 DNS 服务器,可以规避运营商的 DNS 劫持,还可以一定程度上加速网络访问。除此之外,在自定一些配置之后,能实现广告拦截及其他的一些功能。在这里我们通过在树莓派使用 dnsmasq 搭建这样一个 DNS 服务器。
### 安装 dnsmasq
`sudo apt-get install dnsmasq`
### 配置 dnsmasq
- 首先备份一下原配置文件,命令行如下:
`sudo cp /etc/dnsma…
## 环境
- 树莓派
- 宝塔面板
- WordPress
## 现象
点击安装后弹出ftp服务器输入面板,输入后安装失败。
## 可能的原因
- FTP服务器域名未正确绑定,试试直接指定IP地址
- FTP用户密码不正确
- FTP目录没有正确设置在该网站的根目录
- FTP目录写入权限不够,给该网站目录赋予777全部权限
## 解决
我是权限的问题,赋予权限后解决。