crontab -e 定时任务
摘要:yum install crontabs crontab -e * 1 * * * /usr/bin/curl http://* 1 * * * /usr/bin/curl http://
阅读全文
posted @
2020-10-28 21:24
e度空间
阅读(1055)
推荐(0)
Centos 搭建 vsftpd
摘要:默认开启21端口 安装 yum install -y vsftpd 配置文件路径 /etc/vsftpd 创建用户 useradd ftpuser passwd ftpuser 然后输入密码 usermod -d /etc/xx/xx ftpuser 修改访问路径 usermod -s /sbin/
阅读全文
posted @
2020-10-28 20:52
e度空间
阅读(70)
推荐(0)
centos8.2 php Interface 'JsonSerializable' not found
摘要:造成无错原因是PHP缺少JSON扩展或者JSON扩展未开启 centos8.2下安装JSON扩展:yum install php-json
阅读全文
posted @
2020-10-27 01:10
e度空间
阅读(456)
推荐(0)
nginx服务器如何禁止访问目录(但是可以访问具体内容)
摘要:location / { allow all; autoindex on; autoindex_exact_size off; autoindex_localtime on; } autoindex on; 设置为on目录是可以访问的 autoindex off; 设置为off目录禁止访问,里面具体
阅读全文
posted @
2020-10-21 17:20
e度空间
阅读(2319)
推荐(0)