一个快速在线记事本,Minimalist Web Notepad
用于临时记录与传输文本很方便,示例如下
Continue reading 推荐工具 Minimalist Web Notepad学习日志 LIUGUOFENG
更新国内源
cd /etc/apt/
sudo cp -p sources.list sources.list.bak
sudo vi sources.list
Continue reading Ubuntu 19 安装配置 PHP curl 捕获异常 curl_error: SSL connect error curl_errno: 35
升级/安装 nss (Network Security Service, 网络安全服务)
yum update nss
重启 php-fpm
service php-fpm restart
以创建 Streama 服务项为例
Continue reading CentOS7 创建一个服务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 清理卸载重装 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 出现的问题 Centos 7 下 yum 安装
# yum install -y epel-release
# yum install -y supervisor
# systemctl enable supervisord # 开机自启动
# systemctl start supervisord # 启动supervisord服务
# systemctl status supervisord # 查看supervisord服务状态
# ps -ef|grep supervisord # 查看是否存在supervisord进程
Continue reading Centos 7 下 yum 安装 Supervisor | frp 配置 在 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\libraries\config.default.php
$cfg['Servers'][$i]['host'] = '127.0.0.1';
vim /etc/ssh/sshd_config
将 GSSAPIAuthentication 的设置由 yes 改为 no
将 UseDNS 设置修改为 no
重启服务:service sshd restart
删除它
rm -rf /var/log/btmp
# 或者
touch /var/log/btmp