摘要: 转载于gluster官方 创建复制卷 复制的卷跨卷中的多个块创建文件副本。您可以在高可用性和高可靠性至关重要的环境中使用复制卷。 创建复制卷 创建可信存储池。 创建复制卷: # gluster volume create [replica ] [transport tcp | rdma | tcp, 阅读全文
posted @ 2021-07-16 09:50 没有尾巴的狗 阅读(880) 评论(0) 推荐(0) 编辑
摘要: 卷类型可以在您的存储环境中创建以下类型的卷: 1.分布式- 分布式卷将文件分布在卷中的砖块上。您可以在需要扩展存储并且冗余不重要或由其他硬件/软件层提供的情况下使用分布式卷。2.复制- 复制卷在卷中跨块复制文件。您可以在高可用性和高可靠性至关重要的环境中使用复制卷。3.分布式复制- 分布式复制卷在卷 阅读全文
posted @ 2021-07-16 09:41 没有尾巴的狗 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 手动启动和停止 glusterd glusterd手动启动: systemctl start glusterd glusterd手动停止: systemctl stop glusterd 自动启动 glusterd 要启用 glusterd 服务并在停止时启动它: systemctl 阅读全文
posted @ 2021-07-16 09:27 没有尾巴的狗 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 修改密码 virsh set-user-password win-test03 --user yl --password 123 获取计算机名称 virsh qemu-agent-command win-test03 '{"execute":"guest-get-host-name"}' 对wind 阅读全文
posted @ 2021-07-07 17:06 没有尾巴的狗 阅读(713) 评论(0) 推荐(0) 编辑
摘要: cd /etc/systemd/system [root@localhost system]# vi strategy.service[Unit]Description=xxxxAfter=multi-user.target [Service]StartLimitInterval=5StartLim 阅读全文
posted @ 2021-07-02 11:15 没有尾巴的狗 阅读(193) 评论(0) 推荐(0) 编辑
摘要: systemctl stop firewalld 关闭防火墙或者打开端口 firewall-cmd --add-port=80/tcp --permanent firewall-cmd --reload 1、安装gcc yum install -y gcc 2、pcre、pcre-devel安装pc 阅读全文
posted @ 2021-07-02 10:44 没有尾巴的狗 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 内链接 select from table1 join table2 on 条件 自连接 select from table1 join table1 on 条件 右外连接 select from table1 right join table2 on 条件 ; 会把右边的表所查询的元素全部显示出来 阅读全文
posted @ 2021-05-30 12:09 没有尾巴的狗 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 使用爬虫爬取图片,然后设置为桌面背景 全部函数 还有好多路径错误,有待优化,没30秒换一张美女图片 使用pyinster打包出exe执行文件 阅读全文
posted @ 2021-05-28 13:49 没有尾巴的狗 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 安装pyinstall pip3 install pyinstaller pyinstaller -w -F --add-data "templates;templates" --add-data "static;static" --add-data "sql;sql" -i ..\yulong.i 阅读全文
posted @ 2021-05-08 11:00 没有尾巴的狗 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 账号 ADMIN 密码 ADMIN 阅读全文
posted @ 2021-03-29 09:58 没有尾巴的狗 阅读(104) 评论(0) 推荐(0) 编辑