上一页 1 2 3 4 5 6 7 8 ··· 17 下一页
摘要: apk add --no-cache build-dependencies build-base openssl-dev autoconf g++ libtool make curl-dev libxml2-dev linux-headers docker-php-ext-install -j 2 阅读全文
posted @ 2023-05-09 16:04 Gshelldon 阅读(79) 评论(0) 推荐(0)
摘要: 英特尔服务器主板S5520HC BMC连接方法 https://www.manualshelf.com/manual/intel/s5520hc-1/server-management-guide/page-33.html 服务器配置 客户端连接 version ->help # 查看帮助 COMM 阅读全文
posted @ 2023-01-10 21:41 Gshelldon 阅读(781) 评论(0) 推荐(0)
摘要: 有时候经常会有个别容器占用磁盘空间特别大,这个时候就需要通过docker overlay2 目录名查找对应容器名: 1.首先进入到 /var/lib/docker/overlay2 目录下,查看谁占用的较多 du -s ./* | sort -rn | more 2、查出所占用的大文件 3、再通过目 阅读全文
posted @ 2023-01-10 12:16 Gshelldon 阅读(231) 评论(0) 推荐(0)
摘要: cat Dockerfile FROM prom/prometheus:latest # /usr/share/zoneinfo/Asia/Shanghai COPY Shanghai /etc/localtime ENV TIME_ZONE Asia/Shanghai 阅读全文
posted @ 2023-01-02 15:40 Gshelldon 阅读(36) 评论(0) 推荐(0)
摘要: 参考的镜像地址 迁移php的项目记得把数据库一起迁走。 https://dockerfile.readthedocs.io/en/latest/content/DockerImages/dockerfiles/php-nginx.html 创建配置目录 mkdir -p /opt/docker/et 阅读全文
posted @ 2022-11-06 19:23 Gshelldon 阅读(97) 评论(0) 推荐(0)
摘要: 感谢CSDN博主的博文。原始博文有问题,这里修改过。 原文链接:https://blog.csdn.net/weixin_38652136/article/details/106672218 https://blog.csdn.net/weixin_45015255/article/details/ 阅读全文
posted @ 2022-11-06 15:39 Gshelldon 阅读(645) 评论(0) 推荐(0)
摘要: 1、mysqldump -B 在备份数据库的时候会在备份的语句中写入create database的语句,导回来的时候就不需要指定库了,在-B的后面可以添加多个库的名字。 --singe-transaction这个参数在innodedb引擎中独有,作用是在导出的时候不锁表导出数据,保证数据的一致性。 阅读全文
posted @ 2022-11-05 21:25 Gshelldon 阅读(157) 评论(0) 推荐(0)
摘要: KVM 虚拟机 1、安装kvm 开启cpu虚拟化 虚拟机最低配置,内存 == 4G 磁盘 == 100G 操作系统CentOS7.6 1810 [root@localhost ~]# cat /proc/cpuinfo | grep vm [root@localhost ~]# yum instal 阅读全文
posted @ 2022-07-10 17:31 Gshelldon 阅读(4323) 评论(0) 推荐(0)
摘要: 报错信息 报错信息 Unable to connect to VNC Server using your chosen security setting. Either upgrade VNC Server to a more recent version from RealVNC, or sele 阅读全文
posted @ 2022-07-09 14:53 Gshelldon 阅读(1383) 评论(0) 推荐(0)
摘要: 数据类型公共方法 “+” 可以用来拼接字符串、元组、列表 >>> words1 = ["a", 'b', 'c'] >>> wwords2 = ["d", "e", "f"] >>> words1 + wwords2 ['a', 'b', 'c', 'd', 'e', 'f'] >>> words1 阅读全文
posted @ 2022-06-26 21:33 Gshelldon 阅读(65) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 17 下一页