上一页 1 2 3 4 5 6 ··· 31 下一页
摘要: ##################### 今天给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 阅读(610) 评论(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 阅读(19) 评论(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 阅读(28) 评论(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 阅读(54) 评论(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 阅读(55) 评论(0) 推荐(0) 编辑
摘要: ##################### #!/bin/bash # 获取输入参数 ip="" port="" database="" query="" password_BASE64='WldFeU1HTXhaVFkxWWpnMk56WTFNVFUyTkRObE5qazQK' while [ $ 阅读全文
posted @ 2023-04-13 21:47 igoodful 阅读(52) 评论(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 阅读(439) 评论(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 阅读(117) 评论(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 阅读(44) 评论(0) 推荐(0) 编辑
摘要: ########### ############################# 阅读全文
posted @ 2023-04-12 12:55 igoodful 阅读(22) 评论(1) 推荐(0) 编辑
摘要: ######### 在当前用户下,不切换用户的前提下,用另一个用户执行命令 一:在shell脚本里切换用户执行命令,适合复杂命令 新建文件: cat test.sh 编辑文件内容:#!/bin/bashsu - test <<EOFpwd;exit;EOF 在exit前,可以编写多条命令执行。 sh 阅读全文
posted @ 2023-04-11 23:10 igoodful 阅读(725) 评论(0) 推荐(0) 编辑
摘要: ####################################### archery是一款Django+Python+Bootstrap的Web应用 搭建archery并不是一件简单的事,要想搭建一个高可用,需要做更多 MySQL Redis Golang Python keepalive 阅读全文
posted @ 2023-04-11 20:23 igoodful 阅读(574) 评论(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 阅读(67) 评论(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 阅读(226) 评论(0) 推荐(0) 编辑
摘要: ####################### ######################### 阅读全文
posted @ 2023-04-09 21:14 igoodful 阅读(9) 评论(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 阅读(18) 评论(0) 推荐(0) 编辑
摘要: ####################### 1.缩进 [强制] 使用 4 个空格做为一个缩进层级,不允许使用 2 个空格 或 tab 字符。 [强制] switch中缩进2个空格 [强制] 要求分号前面不可以有空格,后面可以有空格 [强制] 要求语句块之前保留一个空格 [强制] 关键字和类似关键 阅读全文
posted @ 2023-04-09 19:11 igoodful 阅读(76) 评论(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 阅读(46) 评论(0) 推荐(0) 编辑
摘要: ######################### ######################## 阅读全文
posted @ 2023-04-07 23:56 igoodful 阅读(13) 评论(0) 推荐(0) 编辑
摘要: ################### ####################### 阅读全文
posted @ 2023-04-07 23:49 igoodful 阅读(11) 评论(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 阅读(475) 评论(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 阅读(759) 评论(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 阅读(177) 评论(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 阅读(738) 评论(0) 推荐(0) 编辑
摘要: ############# 一、pfile文件 pfile的全称是parameter file,是oracle的静态参数文本文件,可以直接编辑; pfile文件位置,可以不在 database server 上,默认在($ORACLE_HOME/dbs) pfile文件名的命名规则为:init${S 阅读全文
posted @ 2023-04-05 22:48 igoodful 阅读(84) 评论(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 阅读(148) 评论(0) 推荐(0) 编辑
摘要: #################### oracle中日志文件分为: 在线日志文件(即联机重做日志),用于记录对数据库所做的修改,包括对表进行的DML操作以及DDL操作、对系统所做的改变等; 归档日志两类。归档日志是对在线日志文件的历史备份。 查看归档模式: select log_mode fro 阅读全文
posted @ 2023-04-04 19:25 igoodful 阅读(64) 评论(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 阅读(48) 评论(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 阅读(47) 评论(0) 推荐(0) 编辑
摘要: ################## Oracle 11.2.0.4.0下载地址 需要有 https://support.oracle.com/ 账户和权限 https://updates.oracle.com/Orion/Services/download/p13390677_112040_Lin 阅读全文
posted @ 2023-03-31 19:25 igoodful 阅读(60) 评论(0) 推荐(0) 编辑
摘要: ######################### bywave notepad++ git vscode qq 微信 ############################ 阅读全文
posted @ 2023-03-28 12:51 igoodful 阅读(17) 评论(0) 推荐(0) 编辑
摘要: ############ # dnf install -y docker-ce docker-ce-cli containerd.io CentOS Stream 8 - AppStream 6.0 MB/s | 29 MB 00:04 CentOS Stream 8 - BaseOS 5.3 MB 阅读全文
posted @ 2023-03-21 21:56 igoodful 阅读(91) 评论(0) 推荐(0) 编辑
摘要: ################### import random # 染色体长度 CHROMO_LENGTH = 20 # 种群大小 POP_SIZE = 50 # 交叉概率 CROSS_RATE = 0.8 # 变异概率 MUTATE_RATE = 0.01 # 最大迭代次数 N_GENERAT 阅读全文
posted @ 2023-03-20 09:47 igoodful 阅读(76) 评论(0) 推荐(0) 编辑
摘要: ########################## ######################### 阅读全文
posted @ 2023-03-18 12:15 igoodful 阅读(14) 评论(0) 推荐(0) 编辑
摘要: ################# ############################### ######################### 阅读全文
posted @ 2023-03-17 20:46 igoodful 阅读(21) 评论(0) 推荐(0) 编辑
摘要: ##################### 为了设计一个公用的、安全的连接池接口,可以考虑以下几个方面: 封装连接池初始化和获取连接的逻辑,使得调用者不需要了解连接池的具体实现细节,只需要调用接口获取连接即可。例如,可以在一个单独的 Python 模块中定义一个 get_connection 函数, 阅读全文
posted @ 2023-03-14 20:22 igoodful 阅读(182) 评论(0) 推荐(0) 编辑
摘要: ##################### 需要准备以下: 开启外网; 开启外网(不要选择香港区,我这里选择的节点是美国区),然后清除了chrome浏览器里面的缓存,并开启chrome浏览器的无痕模式,在无痕模式下输入https://chat.openai.com/ ,点击注册,注册的时候,需要填写 阅读全文
posted @ 2023-03-12 20:00 igoodful 阅读(9) 评论(0) 推荐(0) 编辑
摘要: ############################### cmake:需要源码安装cmake3.5.1+,但cmake不要升级到最新。 3.5.1版本、3.5.2版本即可。因为3.20+版本编译mysql8.0 会报各种错误 gcc:使用devtoolset-8即可,建议也不要升级到devto 阅读全文
posted @ 2023-03-08 22:41 igoodful 阅读(301) 评论(0) 推荐(0) 编辑
摘要: ################################### 请注意,预构建的二进制文件可在 mongodb.org上获得,这可能是最简单的入门方式,而不是从源代码构建。 要构建 MongoDB,您需要: 能够编译 C++17 的现代 C++ 编译器。需要以下其中一项: GCC 8.2 或 阅读全文
posted @ 2023-03-07 14:44 igoodful 阅读(113) 评论(0) 推荐(0) 编辑
摘要: ############################# rpm工具: RPM 全名 RedHat Package Managerment,是由Red Hat公司提出,被众多Linux发行版本所采用,是一种数据库记录的方式来将所需要的软件安装到到Linux系统的一套软件管理机制。 它最大的特点就是 阅读全文
posted @ 2023-03-01 22:00 igoodful 阅读(208) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 31 下一页