Confluence 清理卸载重装

Confluence 安装中断报错

The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report.
The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set
Cause
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
    at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: java.lang.IllegalStateException: Spring Application context has not been set
    at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)
Continue reading Confluence 清理卸载重装

yum update 出现的问题

出现 Found *** pre-existing rpmdb problem(s)

Error: python-devel conflicts with python-2.7.5-80.el7_6.x86_64
 You could try using --skip-broken to work around the problem
** Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:
firewalld-filesystem-0.6.3-2.el7_7.1.noarch is a duplicate with firewalld-filesystem-0.5.3-5.el7.noarch
python-2.7.5-86.el7.x86_64 is a duplicate with python-2.7.5-80.el7_6.x86_64
python-firewall-0.6.3-2.el7_7.1.noarch is a duplicate with python-firewall-0.5.3-5.el7.noarch
python-libs-2.7.5-86.el7.x86_64 is a duplicate with python-libs-2.7.5-80.el7_6.x86_64
urw-base35-bookman-fonts-20170801-10.el7.noarch has installed conflicts urw-fonts < ('3', '2.4', '25'): urw-fonts-2.4-16.el7.noarch
Continue reading yum update 出现的问题

MySQL Windows 环境连接慢的问题

MySQL localhost 连接慢

在 Windows 上开发应用连接到 MySQL 数据库时,若使用本地连接需要延迟 1s 后才能打开

将服务器地址 localhost 修改为 127.0.0.1 速度就变得正常了

所以问题在于 localhost 的解析问题

使用 localhost 程序解析出来的是 ipv6 地址 ::1 ,但 MySQL 监听的是 ipv4 的地址 127.0.0.1,ipv6 连不上超时后会再去连接 ipv4 地址 127.0.0.1, 这就是这个1秒钟延迟出现的原因

解决方法,使用 127.0.0.1 代替 localhost

phpMyAdmin 配置修改方法

文件目录

phpMyAdmin\libraries\config.default.php

$cfg['Servers'][$i]['host'] = '127.0.0.1';

腾讯云 SSH 登录慢的问题

编辑 SSHD 配置

vim /etc/ssh/sshd_config

将 GSSAPIAuthentication 的设置由 yes 改为 no

将 UseDNS 设置修改为 no

重启服务:service sshd restart

核实目录下 /var/log/btmp 文件是否过大

删除它

rm -rf /var/log/btmp
# 或者
touch /var/log/btmp