摘要: https://www.zentao.net/book/zentaopmshelp/405.html https://help.aliyun.com/knowledge_detail/56130.html http://help.mail.163.com/faqDetail.do?code=d7a5 阅读全文
posted @ 2021-06-18 14:38 芝幽幽 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 进入容器 docker exec -it 6c91 /bin/bash 安装服务 apt-get update apt-get install net-tools # ifconfig apt-get install iputils-ping # ping apt-get install -y ss 阅读全文
posted @ 2021-06-18 11:03 芝幽幽 阅读(125) 评论(0) 推荐(0) 编辑
摘要: cat /etc/issue uname -a 阅读全文
posted @ 2021-06-18 10:43 芝幽幽 阅读(301) 评论(0) 推荐(0) 编辑
摘要: firewall的操作 1.firewalld的基本使用 启动: systemctl start firewalld查状态:systemctl status firewalld 停止: systemctl disable firewalld禁用: systemctl stop firewalld在开 阅读全文
posted @ 2021-05-12 14:59 芝幽幽 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 1.查看时间 date -R docker exec [container] date -R 时间差了8个小时 2.解决方式 1.修改dockerfile文件 ENV TIME_ZONE=Asia/Shanghai RUN ln -snf /usr/share/zoneinfo/$TIME_ZONE 阅读全文
posted @ 2021-04-09 17:11 芝幽幽 阅读(391) 评论(0) 推荐(0) 编辑
摘要: declare @i int set @i=5 while @i<150 begin INSERT INTO [dbo].[SysRole] VALUES (CONVERT(varchar(50), @i),'测试'+CONVERT(varchar(50), @i),1,1,NULL,0,0,NUL 阅读全文
posted @ 2021-03-26 12:39 芝幽幽 阅读(78) 评论(1) 推荐(0) 编辑
摘要: 修剪镜像、容器和网络的快捷方式 docker system prune 修剪镜像、容器和网络,和卷的快捷方式 docker system prune --volumes 清理none镜像(虚悬镜像) 命令: docker image prune #默认情况下,docker image prune 命 阅读全文
posted @ 2021-03-08 17:43 芝幽幽 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 在window环境下编辑的shell脚本放在linux上运行报错。 问题是在Windows下换行的“\r”到了Linux环境下不能够识别了。 因为Linux环境下默认的换行符为“\n”。 这里就需要做一点修改转换的工作。 方法一、 sed -i 's/\r//' 脚本名 #转化为unix格式 记录一 阅读全文
posted @ 2021-03-08 14:05 芝幽幽 阅读(973) 评论(0) 推荐(0) 编辑
摘要: visual studio 容器工具首次加载太慢 vsdbg\vs2017u5 exists, deleting 的解决方案 错误: 1>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NonInteractive -NoProf 阅读全文
posted @ 2021-03-04 15:23 芝幽幽 阅读(355) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Diagnostics; using System.Threading; using NewLife.Common; namespace NewLife.Data { /// <summary>流式Id</summary> [Obsolete(" 阅读全文
posted @ 2021-02-25 17:25 芝幽幽 阅读(88) 评论(0) 推荐(0) 编辑