04 2023 档案

摘要:############################# 问题 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 阅读(168) 评论(0) 推荐(0)
摘要:########### 众所周知,redis是C语言写的,代码整洁优雅,可读性强 阅读 Redis 源码需要一定的专业知识和经验,以下是一些建议: 熟悉 C 语言: Redis 使用 C 语言编写,因此需要熟练掌握 C 语言的语法和特性。 了解 Redis 的设计思想和架构:Redis 是一个基于内 阅读全文
posted @ 2023-04-26 21:40 igoodful 阅读(663) 评论(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 阅读(139) 评论(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 阅读(195) 评论(0) 推荐(0)
摘要:######################## 背景: 在企业做自动化部署软件的时候,往往会自己搭建一个ftp服务来专门供工程师们下载,但是像我自己的部署在家的测试机一般都懒得去搭建一个ftp服务 因为我经常重装系统,玩各种系统,但是这都会给我带来一些麻烦,比如常见的一些数据库或其他软件都是必备的 阅读全文
posted @ 2023-04-16 22:02 igoodful 阅读(268) 评论(0) 推荐(0)
摘要:################################################### 有时候安装mysql等依赖包较多的时候,如果直接一条yum -install 下去会眼花缭乱 #!/bin/bash function yum_install_packages() { # 将输入 阅读全文
posted @ 2023-04-15 21:44 igoodful 阅读(94) 评论(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:43 igoodful 阅读(82) 评论(0) 推荐(0)
摘要:##################### 今天给10年的机器重装了CentOS Linux release 7.9.2009 (Core) systemctl set-default multi-user.target [root@a8-cloud-dba-db08 ~]# cat /etc/yu 阅读全文
posted @ 2023-04-15 16:02 igoodful 阅读(1205) 评论(0) 推荐(0)
摘要:#################### 系统版本: cat /etc/redhat-release cat /etc/issue 机器型号:dmidecode | grep "Product Name" 硬盘:df -h 目录使用率高于百分之80的标记为异常需要处理 内存: free -h 1、 阅读全文
posted @ 2023-04-14 16:57 igoodful 阅读(33) 评论(0) 推荐(0)
摘要:################### https://blog.csdn.net/weihaodong0557/article/details/113805838 show variables like 'have%'; //查看hava_openssl mkdir /home/work/mysq 阅读全文
posted @ 2023-04-14 16:49 igoodful 阅读(36) 评论(0) 推荐(0)
摘要:######################### Tungsten Replicator的基本支持一、系统要求ruby 1.8.5 or later (ruby --version)Ruby openssl libraries ( echo "p 'OK'" | ruby -ropenssl )J 阅读全文
posted @ 2023-04-14 15:28 igoodful 阅读(168) 评论(0) 推荐(0)
摘要:################ 一、主从不一致 误登录从库写入数据: 第一步在从库上停掉SQL线程:stop slave sql_thread;磁盘空间不足:删除归档日志,保留30天,set global expire_logs_days=15; PURGE MASTER LOGS BEFORE 阅读全文
posted @ 2023-04-14 15:27 igoodful 阅读(92) 评论(0) 推荐(0)
摘要:##################### #!/bin/bash # 获取输入参数 ip="" port="" database="" query="" password_BASE64='WldFeU1HTXhaVFkxWWpnMk56WTFNVFUyTkRObE5qazQK' while [ $ 阅读全文
posted @ 2023-04-13 21:47 igoodful 阅读(68) 评论(0) 推荐(0)
摘要:################ percona-xtrabackup官网下载地址: https://www.percona.com/software/mysql-database/percona-xtrabackup percona-xtrabackup在github上的源码: https://g 阅读全文
posted @ 2023-04-13 16:47 igoodful 阅读(907) 评论(0) 推荐(0)
摘要:##################### 安装包类型: 源码包 rpm安装包 免编译二进制 perl-CPAN make后报错: cc -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 阅读全文
posted @ 2023-04-12 19:16 igoodful 阅读(183) 评论(0) 推荐(0)
摘要:######################## yum -y install perl-ExtUtils-CBuilder yum -y install perl-ExtUtils-MakeMaker yum -y install perl-DBD-MySQL tar -xzvf percona- 阅读全文
posted @ 2023-04-12 18:58 igoodful 阅读(64) 评论(0) 推荐(0)
摘要:########### ############################# 阅读全文
posted @ 2023-04-12 12:55 igoodful 阅读(37) 评论(1) 推荐(0)
摘要:######### 在当前用户下,不切换用户的前提下,用另一个用户执行命令 一:在shell脚本里切换用户执行命令,适合复杂命令 新建文件: cat test.sh 编辑文件内容:#!/bin/bashsu - test <<EOFpwd;exit;EOF 在exit前,可以编写多条命令执行。 sh 阅读全文
posted @ 2023-04-11 23:10 igoodful 阅读(935) 评论(0) 推荐(0)
摘要:####################################### archery是一款Django+Python+Bootstrap的Web应用 搭建archery并不是一件简单的事,要想搭建一个高可用,需要做更多 MySQL Redis Golang Python keepalive 阅读全文
posted @ 2023-04-11 20:23 igoodful 阅读(813) 评论(0) 推荐(0)
摘要:######################## ku脚本: 可以使用以下ku脚本,它可以根据提供的参数登录到MySQL数据库: #!/bin/bash # Check for correct number of arguments if [ $# -lt 1 ]; then echo "Usage 阅读全文
posted @ 2023-04-10 22:17 igoodful 阅读(99) 评论(0) 推荐(0)
摘要:################################# 一、配置文件:supervisord.conf (venv) [root@wy3-db245 archery]# cat supervisord.conf [unix_http_server] file=supervisor.soc 阅读全文
posted @ 2023-04-10 22:02 igoodful 阅读(467) 评论(0) 推荐(0)
摘要:####################### ######################### 阅读全文
posted @ 2023-04-09 21:14 igoodful 阅读(22) 评论(0) 推荐(0)
摘要:################### npm install vue-router <router-link to="/user" tag="button" active-class="active" exact>Go to User Page</router-link> 这个例子中,当用户点击按 阅读全文
posted @ 2023-04-09 20:05 igoodful 阅读(30) 评论(0) 推荐(0)
摘要:####################### 1.缩进 [强制] 使用 4 个空格做为一个缩进层级,不允许使用 2 个空格 或 tab 字符。 [强制] switch中缩进2个空格 [强制] 要求分号前面不可以有空格,后面可以有空格 [强制] 要求语句块之前保留一个空格 [强制] 关键字和类似关键 阅读全文
posted @ 2023-04-09 19:11 igoodful 阅读(94) 评论(0) 推荐(0)
摘要:############################### 有赞:https://github.com/youzan/vant https://github.com/iview/iview https://github.com/ElemeFE/element https://github.com 阅读全文
posted @ 2023-04-09 17:32 igoodful 阅读(83) 评论(0) 推荐(0)
摘要:######################### ######################## 阅读全文
posted @ 2023-04-07 23:56 igoodful 阅读(22) 评论(0) 推荐(0)
摘要:################### ####################### 阅读全文
posted @ 2023-04-07 23:49 igoodful 阅读(17) 评论(0) 推荐(0)
摘要:########### >npm install --legacy-peer-deps ERROR: npm is known not to run on Node.js v8.15.0 You'll need to upgrade to a newer Node.js version in ord 阅读全文
posted @ 2023-04-07 22:08 igoodful 阅读(545) 评论(0) 推荐(0)
摘要:################# 一、问题:npm install时出现如下错误: > npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! 阅读全文
posted @ 2023-04-07 20:01 igoodful 阅读(952) 评论(0) 推荐(0)
摘要:############ SQL> set linesize 800 SQL> set pagesize 900 SQL> col plan_table_output for a200 SQL> select * from v$standby_log; GROUP# DBID THREAD# SEQ 阅读全文
posted @ 2023-04-07 15:26 igoodful 阅读(288) 评论(0) 推荐(0)
摘要:#################### 1.问题如下: [oracle@xxx ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 7 08:20:33 2023 Copyright (c) 1982 阅读全文
posted @ 2023-04-07 08:29 igoodful 阅读(1275) 评论(0) 推荐(0)
摘要:############# 一、pfile文件 pfile的全称是parameter file,是oracle的静态参数文本文件,可以直接编辑; pfile文件位置,可以不在 database server 上,默认在($ORACLE_HOME/dbs) pfile文件名的命名规则为:init${S 阅读全文
posted @ 2023-04-05 22:48 igoodful 阅读(139) 评论(0) 推荐(0)
摘要:############################# 一、安装 1.安装keepalived依赖 dnf -y install openssl openssl-devel dnf -y install popt popt-devel # 用于支持ipv6 dnf -y install libn 阅读全文
posted @ 2023-04-05 01:09 igoodful 阅读(259) 评论(0) 推荐(0)
摘要:#################### oracle中日志文件分为: 在线日志文件(即联机重做日志),用于记录对数据库所做的修改,包括对表进行的DML操作以及DDL操作、对系统所做的改变等; 归档日志两类。归档日志是对在线日志文件的历史备份。 查看归档模式: select log_mode fro 阅读全文
posted @ 2023-04-04 19:25 igoodful 阅读(118) 评论(0) 推荐(0)
摘要:######### [root@a8-cloud-apple-db08 ~]# yum install -y mssql-server Repository extras is listed more than once in the configuration packages-microsoft 阅读全文
posted @ 2023-04-03 22:28 igoodful 阅读(92) 评论(0) 推荐(0)
摘要:############ dnf -y install epel-release # shfmt需要依赖epel-release dnf -y install shfmt 简单介绍一些常用的性能检测工具,例如 top、free、vmstat、iostat、mpstat、sar、pidstat等。除了 阅读全文
posted @ 2023-04-02 09:41 igoodful 阅读(68) 评论(0) 推荐(0)