通过/etc/exports中的字段可以控制那些设备可以进行安全读写控制。 比如可以将subnet设置更精确或者其他subnet,虽然可以挂载上,但是没有写权限,当你创建文件的时候提示失败 ...
分类:
其他好文 时间:
2021-06-02 15:09:08
阅读次数:
0
command模块 [root@m01 ~]# ansible 'web01' -m command -a "df -h" web01 | CHANGED | rc=0 >> Filesystem Size Used Avail Use% Mounted on devtmpfs 475M 0 475 ...
分类:
其他好文 时间:
2021-06-02 15:03:50
阅读次数:
0
from fastapi.staticfiles import StaticFiles app.mount(path='/coronavirus/',app=StaticFiles(directory=' ./coronavirus/static', name='static')) ...
Execution Plans in SQL Server Introduction In this article, I’m going to explain what the Execution Plans in SQL Server are and how to understand the ...
分类:
数据库 时间:
2021-06-02 14:46:02
阅读次数:
0
title: libevent学习-reactor设计模式及代码示例 date: 2021-01-22 11:39:35 tags: libevent categories: libevent学习 Reactor Design Pattern Reactor设计模式包含句柄(Handle)、Reac ...
分类:
其他好文 时间:
2021-06-02 13:32:16
阅读次数:
0
1、查看详细的使用 docker system df -v 2、查看docker目录大小 du -hs /var/lib/docker/ 3、清理磁盘,删除关闭的容器、无用的数据卷和网络 docker system prune docker system prune -a 清理的更彻底 ...
分类:
其他好文 时间:
2021-05-25 18:43:04
阅读次数:
0
源代码如下: BEGIN DECLARE i INT; DECLARE time_1 datetime; DECLARE ID_1 int; DECLARE charge_1 FLOAT; DECLARE length_1 FLOAT; DECLARE err_1 FLOAT; DECLARE RS ...
分类:
其他好文 时间:
2021-05-25 18:31:26
阅读次数:
0
部署# 服务端# 安装 NFS 服务 #执行以下命令安装 NFS 服务, #apt 会自动安装 nfs-common、rpcbind 等软件包 sudo apt install nfs-kernel-server 创建共享目录 在服务器端创建 /nfs 目录。 编写配置文件 vim /etc/exp ...
分类:
其他好文 时间:
2021-05-25 18:14:09
阅读次数:
0
xdebug 2.8 (貌似3.0以下都可以) [xdebug]xdebug.remote_enable=1xdebug.remote_host=host.docker.internalxdebug.remote_port=9000xdebug.remote_handler=dbgpxdebug.r ...
分类:
其他好文 时间:
2021-05-25 18:12:24
阅读次数:
0
那就要修复这个问题,对于乱码问题,本质原因就一个:字节流解码为字符串时,使用了错误的字符集(和编码所用字符集不一致)! 我们来到tomcat目录的conf子目录中,找到一个名为 "logging.properties" 的文件,打开这个文本文件,找到如下配置项: java.util.logging. ...
分类:
其他好文 时间:
2021-05-24 16:56:19
阅读次数:
0