上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 118 下一页
摘要: ip命令 # ubuntu apt-get install -y iproute2 # centos yum -y install initscripts netstat命令 # centos yum -y install net-tools # ubuntu apt-get -y install 阅读全文
posted @ 2022-03-01 11:53 NAVYSUMMER 阅读(92) 评论(0) 推荐(0)
摘要: apk add --update-cache curl bash libc6-compat 阅读全文
posted @ 2022-02-28 14:56 NAVYSUMMER 阅读(125) 评论(0) 推荐(0)
摘要: import boto3 s3_client = boto3.client("s3",aws_access_key_id="VG30VFR7G2AZIMQKAS5E",aws_secret_access_key="sVDUFlTkE8yU3NK6eD0BI565OsrC2E119tFRkl29",u 阅读全文
posted @ 2022-02-27 15:57 NAVYSUMMER 阅读(295) 评论(0) 推荐(0)
摘要: 在管理节点 ceph-deploy install --rgw <gateway-node1> [<gateway-node2> ...] 默认端口7480 阅读全文
posted @ 2022-02-27 15:07 NAVYSUMMER 阅读(37) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-02-27 12:06 NAVYSUMMER 阅读(44) 评论(0) 推荐(0)
摘要: 1. 编写插件logstash.lua 位置:/usr/local/apisix/apisix/plugins/logstash.lua local core = require("apisix.core") local plugin_name = "logstash" local schema = 阅读全文
posted @ 2022-02-27 00:46 NAVYSUMMER 阅读(2028) 评论(0) 推荐(0)
摘要: 安装ceph客户端 apt install ceph -y # ubuntu yum install ceph -y # centos 查看现有的pool ceph osd lspools 创建pool ceph osd pool create pool_name pg_num 查看pool列表 c 阅读全文
posted @ 2022-02-26 10:50 NAVYSUMMER 阅读(91) 评论(0) 推荐(0)
摘要: 集群架构图 具体实现 hostA : 192.168.1.21 hostB : 192.168.1.22 hostC : 192.168.1.23 虚拟ip地址: 192.168.1.20 hostA为负载均衡器 hostB和hostC为ftp服务器 转发模式:DR 调度算法:rr hostA配置 阅读全文
posted @ 2022-02-19 15:00 NAVYSUMMER 阅读(487) 评论(0) 推荐(0)
摘要: 日期偏移 import datetime from dateutil.relativedelta import relativedelta def date_add(date, seconds=0, minutes=0, hours=0, days=0, months=0, years=0): da 阅读全文
posted @ 2022-01-27 16:58 NAVYSUMMER 阅读(52) 评论(0) 推荐(0)
摘要: -- 使用表实现面向对象里类的定义 Person = {name="",age=0} function Person:eat( food ) print(self.name.." is eating "..food) end -- 创建类的构造方法 function Person:new(name, 阅读全文
posted @ 2022-01-15 14:43 NAVYSUMMER 阅读(68) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 118 下一页
交流群 编程书籍