2024年1月9日
摘要: 系统 CentOS Linux release 7.9.2009 (Core) 1.sshd 服务无法启动, 排查方法 输入命令 sudo sshd -t 按实际问题处理 阅读全文
posted @ 2024-01-09 14:27 allen817 阅读(6) 评论(0) 推荐(0) 编辑
  2023年12月28日
摘要: 下载MySQL 安装包 https://dev.mysql.com/downloads 安装 rpm -ivh 包名 默认配置 /etc/my.cnf 初始化mysql mysqld --initialize --user=mysql --console 安装完密码默认存放在 /var/log/my 阅读全文
posted @ 2023-12-28 10:46 allen817 阅读(58) 评论(0) 推荐(0) 编辑
  2023年3月6日
摘要: /** * @description: 十六进制转字符串 * @param string $hex * @param string $mb_convert_encoding 转换后编码类型,默认转换成UTF-8 * @return string */ public function hexDecod 阅读全文
posted @ 2023-03-06 11:09 allen817 阅读(191) 评论(0) 推荐(0) 编辑
  2023年2月24日
摘要: 安装mailx yum install -y mailx 配置邮件服务器信息 vi /etc/mail.rc set from=xxxx@yyy.com set smtp=smtp.yyy.com set smtp-auth-user=xxxx@yyy.com set smtp-auth-passw 阅读全文
posted @ 2023-02-24 10:03 allen817 阅读(21) 评论(0) 推荐(0) 编辑
  2023年1月29日
摘要: 之前在应用商店安装过ubuntu的,有钱的建议从商店购买 window配置 , 准备一个centos系统,我是从已有系统导出的,导出命令 tar -cvf ./centos.tar ./ --exclude=centos.tar --exclude=./proc* --exclude=./tmp/* 阅读全文
posted @ 2023-01-29 15:55 allen817 阅读(94) 评论(0) 推荐(0) 编辑
  2022年12月29日
摘要: 之前装VPN要装这垃圾玩意, 装的时候也没有密码,卸载要密码。垃圾 我的安装目录是这个,把 这配置清空就可 以卸载 了 D:\soft\qianx\360Safe\EntClient\conf\EntBase.dat 阅读全文
posted @ 2022-12-29 15:21 allen817 阅读(801) 评论(1) 推荐(0) 编辑
  2022年12月8日
摘要: 背景 对方系统java des 加密, 我们用 php 解密 模式基本介绍 ECB模式:电子密本方式,JAVA封装的DES算法的默认模式,就是将数据按照8个字节一段进行DES加密或解密得到一段8个字节的密文或者明文,最后一段不足8个字节,则补足8个字节CBC模式:密文分组链接方式,NET封装的DES 阅读全文
posted @ 2022-12-08 11:09 allen817 阅读(248) 评论(0) 推荐(0) 编辑
  2022年7月28日
摘要: 1.安装mailx yum -y install mailx 2. /etc/mail.rc 最后增加邮件配置如 set smtp=smtp.qq.comset smtp-auth=loginset smtp-auth-user=*******@qq.comset smtp-auth-passwor 阅读全文
posted @ 2022-07-28 14:58 allen817 阅读(114) 评论(0) 推荐(0) 编辑
  2022年3月11日
摘要: 1.环境 Distributor ID: UbuntuDescription: Ubuntu 20.04.1 LTSRelease: 20.04Codename: focal 2.安装 报错 3.解决办法 上面依赖libldap-2.4-2 先安装依赖指定版本即可 apt install libld 阅读全文
posted @ 2022-03-11 09:46 allen817 阅读(726) 评论(0) 推荐(0) 编辑
  2021年12月22日
摘要: SELECT procpid, START, now() - START AS lap, current_query FROM ( SELECT backendid, pg_stat_get_backend_pid (S.backendid) AS procpid, pg_stat_get_back 阅读全文
posted @ 2021-12-22 15:57 allen817 阅读(586) 评论(0) 推荐(0) 编辑