摘要: ############## https://goharbor.io/docs/2.8.0/install-config/configure-yml-file/ ####################### 阅读全文
posted @ 2023-09-02 11:36 igoodful 阅读(18) 评论(0) 推荐(0) 编辑
摘要: #################### # 一、生成CA机构的私钥,命令和生成服务器私钥一样,只不过这是CA的私钥 >> ca.key openssl genrsa -out ca.key 4096 # 二、生成CA机构自己的证书申请文件 >> ca.crt openssl req -new -s 阅读全文
posted @ 2023-08-30 22:37 igoodful 阅读(93) 评论(1) 推荐(0) 编辑
摘要: ##################### 查看当前环境已经安装了哪些包:pip list 获取指定包的所有可用版本 生成requirements.txt (test_venv) [work@igoodful tmp]$ pip list Package Version asgiref 3.7.2 阅读全文
posted @ 2023-07-04 20:35 igoodful 阅读(16) 评论(0) 推荐(0) 编辑
摘要: ############################ 下载5.3.0.tar.gz wget wget https://github.com/jemalloc/jemalloc/archive/refs/tags/5.3.0.tar.gz tar -xzvf 5.3.0.tar.gz cd je 阅读全文
posted @ 2023-07-03 17:19 igoodful 阅读(170) 评论(0) 推荐(0) 编辑
摘要: ############################## 软件包提供必要的信息:prometheus 软件包名称 file name 哈希码 sha256 checksum 架构 arch 操作系统 os 软件包大小 size ################################# 阅读全文
posted @ 2023-06-30 17:33 igoodful 阅读(11) 评论(2) 推荐(0) 编辑
摘要: ######################## 网站公安备案 https://www.beian.gov.cn/portal/index.do ########################### 阅读全文
posted @ 2023-06-29 21:37 igoodful 阅读(79) 评论(1) 推荐(0) 编辑
摘要: ##################################### KaTex示例如下: 上标用^,下标用_, ##################################### 阅读全文
posted @ 2023-06-28 21:42 igoodful 阅读(30) 评论(0) 推荐(0) 编辑
摘要: ############################ 对齐: 右对齐:printf "%s" 左对齐:printf "%-s" 宽度: printf "%-10s" , 左对齐,宽度为10 printf “%-4.2f” ,左对齐,宽度为4,保留两位小数。 格式化说明符: %s: 字符串 %d: 阅读全文
posted @ 2023-06-28 17:58 igoodful 阅读(59) 评论(0) 推荐(0) 编辑
摘要: ############################## https://bugs.mysql.com/bug.php?id=103636 #################################### 阅读全文
posted @ 2023-06-26 10:33 igoodful 阅读(28) 评论(0) 推荐(0) 编辑
摘要: #################### GitBook 是一个现代文档平台,让每个人都可以通过文档创建、编辑和共享知识 什么是空间? 在 GitBook 中,空间是一个项目,您可以在其中开始组织您的想法。将其想象为一本虚拟书籍,您可以在其中开始单独编写页面或与团队成员异步协作。 ######### 阅读全文
posted @ 2023-06-24 12:52 igoodful 阅读(41) 评论(0) 推荐(0) 编辑
摘要: ################################# [root@a8-cloud-apple-db08 sqlite-autoconf-3420000]# ./configure --prefix=/usr/local checking for a BSD-compatible in 阅读全文
posted @ 2023-06-23 13:18 igoodful 阅读(41) 评论(0) 推荐(0) 编辑
摘要: ######################### ########################## 阅读全文
posted @ 2023-06-21 09:07 igoodful 阅读(7) 评论(0) 推荐(0) 编辑
摘要: ###################### pip install django pip install djangorestframework django-admin startproject example . pyuthon manage.py migrate python manage. 阅读全文
posted @ 2023-06-20 21:28 igoodful 阅读(16) 评论(0) 推荐(0) 编辑
摘要: ######################### https://zhuanlan.zhihu.com/p/415469149 1.创建systemd文件 vim /usr/lib/systemd/system/**.service (1)[Unit] 区块:启动顺序与依赖关系 [Unit] De 阅读全文
posted @ 2023-06-17 23:15 igoodful 阅读(116) 评论(0) 推荐(0) 编辑
摘要: ######################### 可视化工具 PrettyZoo https://github.com/vran-dev/PrettyZoo/releases 下载地址:https://github.com/vran-dev/PrettyZoo/tags 每个子目录如/node1都 阅读全文
posted @ 2023-06-17 11:00 igoodful 阅读(23) 评论(0) 推荐(0) 编辑
摘要: ########################## 一、阿里云的产品概览 二、购买云服务器ECS 也就是购买各种服务器,比如各种linux系统和windows系统 三、购买域名 四、ICP备案 ICP备案详解:https://help.aliyun.com/document_detail/3692 阅读全文
posted @ 2023-06-16 20:49 igoodful 阅读(32) 评论(0) 推荐(0) 编辑
摘要: ######################## MySQL版本:8.0.26 xtrabackup 备份从库报错,官方bug:https://bugs.mysql.com/bug.php?id=104573 问题描述: xtrabackup报错 Undo tablespace number 1 w 阅读全文
posted @ 2023-06-15 16:31 igoodful 阅读(128) 评论(0) 推荐(0) 编辑
摘要: ############################################ 现象: 用户执行的sql语句报错: Cause: java.sql.SQLException: The table '/home/work/mysql_3306//tmp/#sql117f0c_db7113_a 阅读全文
posted @ 2023-06-15 16:04 igoodful 阅读(347) 评论(0) 推荐(0) 编辑
摘要: ########################### which [root@igoodful ~]# which ssh-keygen /usr/bin/ssh-keygen ldd [root@igoodful ~]# ldd /usr/bin/ssh-keygen linux-vdso.so 阅读全文
posted @ 2023-06-15 14:56 igoodful 阅读(132) 评论(0) 推荐(0) 编辑
摘要: ################ 查找mysql-server镜像:docker search mysql-server [root@igoodful ~]# docker search mysql-server INDEX NAME DESCRIPTION STARS OFFICIAL AUTOM 阅读全文
posted @ 2023-06-14 15:42 igoodful 阅读(47) 评论(0) 推荐(0) 编辑
摘要: ###################### yum -y install qperf # 关闭网络防火墙 qperf -t 10 --use_bits_per_sec 10.10.10.10 tcp_lat 安装java jdk # 解包 tar -xf jdk-8u111-linux-x64.t 阅读全文
posted @ 2023-06-12 09:14 igoodful 阅读(27) 评论(0) 推荐(0) 编辑
摘要: ################################ ############################ 阅读全文
posted @ 2023-06-09 19:46 igoodful 阅读(644) 评论(0) 推荐(0) 编辑
摘要: ############## [mysqld] basedir = /home/work/mysql_3306 datadir = /home/work/mysql_3306/data tmpdir = /home/work/mysql_3306/tmp pid_file = /home/work/ 阅读全文
posted @ 2023-06-09 17:00 igoodful 阅读(126) 评论(0) 推荐(0) 编辑
摘要: ########################################### [global]index-url = https://mirrors.aliyun.com/pypi/simple/[install]trusted-host=mirrors.aliyun.comb、linux 阅读全文
posted @ 2023-06-06 10:32 igoodful 阅读(107) 评论(0) 推荐(0) 编辑
摘要: function _ssh() { local user=$1 local ip=$2 local cmd=$3 local quoted_cmd if [ "$user" != root ]; then quoted_cmd=$(quote "$cmd") cmd="sudo -sk <<< $q 阅读全文
posted @ 2023-06-05 17:40 igoodful 阅读(7) 评论(0) 推荐(0) 编辑
摘要: ############## 了解MySQL 8.0.26的错误日志出现"The table /home/work/mysql_3306/tmp/#sqla2b_298b06_4d is fu11!"的bug,暂时通过修改临时表的存储引擎为内存引擎解决 MySQL8.0.13 开始引入新的临时内存表 阅读全文
posted @ 2023-06-01 16:37 igoodful 阅读(34) 评论(0) 推荐(0) 编辑
摘要: ################# ################ 阅读全文
posted @ 2023-06-01 14:16 igoodful 阅读(35) 评论(0) 推荐(0) 编辑
摘要: ################# curl -s -o /etc/yum.repos.d/draios.repo http://download.draios.com/stable/rpm/draios.repo ########################### 阅读全文
posted @ 2023-05-25 14:21 igoodful 阅读(19) 评论(0) 推荐(0) 编辑
摘要: ######################### CPU:大于业务高峰期的平均活动会话数 内存:CPU核数*2G~8G 网卡:万兆网卡 磁盘类型选用SSD :iops>=300 ;吞吐量>=200MB/s ;延时<10ms 磁盘容量:数据文件空间*3 ####################### 阅读全文
posted @ 2023-05-24 11:29 igoodful 阅读(62) 评论(0) 推荐(0) 编辑
摘要: ############## 更改用户密码: postgres=# alter user work password 'work'; ALTER ROLE 更改用户密码失效时间: postgres=# alter user admin valid until '2023-05-13 23:12:00 阅读全文
posted @ 2023-05-09 23:55 igoodful 阅读(124) 评论(1) 推荐(0) 编辑
摘要: ##################################### 结论:游泳是一个人的必备生存技能之一 你可能总觉得:只要自己不去河边或江边,自己就不会有溺水的那一天 我只能说:每个人溺水的概率的确是小,但是,如果一个不会游泳的人意外落水了,那等于宣判了你的死期,一个不会游泳的人掉进水里了 阅读全文
posted @ 2023-05-09 20:27 igoodful 阅读(123) 评论(0) 推荐(0) 编辑
摘要: ############################### 一、需要更改my.cnf中所有关于路径的参数 二、更改binlog.index中的路径信息 三、更改relaylog.index中的路径信息 ########################### 阅读全文
posted @ 2023-05-09 09:45 igoodful 阅读(69) 评论(0) 推荐(0) 编辑
摘要: ################################ save [work@a8-cloud-dba-db08 ~]$ redis-cli -a root -p 6381127.0.0.1:6381> save OK save命令对应的日志: [work@a8-cloud-dba-db0 阅读全文
posted @ 2023-05-06 23:06 igoodful 阅读(11) 评论(0) 推荐(0) 编辑
摘要: ############################# 问题 checking for iconv support... yes checking for iconv... yes checking if iconv is glibc's... yes checking if iconv sup 阅读全文
posted @ 2023-04-30 22:07 igoodful 阅读(84) 评论(0) 推荐(0) 编辑
摘要: ########### 众所周知,redis是C语言写的,代码整洁优雅,可读性强 阅读 Redis 源码需要一定的专业知识和经验,以下是一些建议: 熟悉 C 语言: Redis 使用 C 语言编写,因此需要熟练掌握 C 语言的语法和特性。 了解 Redis 的设计思想和架构:Redis 是一个基于内 阅读全文
posted @ 2023-04-26 21:40 igoodful 阅读(365) 评论(1) 推荐(0) 编辑
摘要: ##################### 一、卸载旧版本git [root@a8-cloud-dba-db08 install_database]# yum remove git Loaded plugins: fastestmirror, langpacks Resolving Dependen 阅读全文
posted @ 2023-04-18 19:33 igoodful 阅读(102) 评论(0) 推荐(0) 编辑
摘要: ################# 源码安装说明:https://github.com/sysown/proxysql/blob/v2.x/INSTALL.md 源码地址:https://github.com/sysown/proxysql class MyTuple: def create_tup 阅读全文
posted @ 2023-04-18 16:08 igoodful 阅读(91) 评论(0) 推荐(0) 编辑
摘要: ######################## 背景: 在企业做自动化部署软件的时候,往往会自己搭建一个ftp服务来专门供工程师们下载,但是像我自己的部署在家的测试机一般都懒得去搭建一个ftp服务 因为我经常重装系统,玩各种系统,但是这都会给我带来一些麻烦,比如常见的一些数据库或其他软件都是必备的 阅读全文
posted @ 2023-04-16 22:02 igoodful 阅读(155) 评论(0) 推荐(0) 编辑
摘要: ################################################### 有时候安装mysql等依赖包较多的时候,如果直接一条yum -install 下去会眼花缭乱 #!/bin/bash function yum_install_packages() { # 将输入 阅读全文
posted @ 2023-04-15 21:45 igoodful 阅读(53) 评论(0) 推荐(0) 编辑
摘要: ###################### mysql-8.0.25/boost/boost_1_73_0/boost/utility.hpp mysql-8.0.25/boost/boost_1_73_0/boost/variant.hpp mysql-8.0.25/boost/boost_1_ 阅读全文
posted @ 2023-04-15 18:44 igoodful 阅读(49) 评论(0) 推荐(0) 编辑