连击 天
fork: star:
安装Docker 更新yum源yum -y update 安装epel源yum install -y epel-release 安装Dockeryum install docker-io -y 运行Docker守护进程systemctl start docker 检查安装结果。docker info 设置...
起因 有同事反馈在 ios 访问页面和接口很慢。我试了下发现同一个接口在 pc 只要300ms,在 ios 需要3秒,重试了很多遍都是这样。 解决 查找后发现是SSL证书问题,我使用的证书是Let's Encrypt...
起因 我遇到了个问题,我的开发环境是 先 ssh 到跳板机,再 ssh 到内网机子,再连接 mysql 。我想使用 navcat 连接数据库,但是 navcat 只支持一层 ssh 。如图: 解决 前置条件 跳板机的 ip...
起因 突然收到RDS服务器cpu 100%的报警,查看后发现有慢查询。取了其中一条: select * from kmd_tb_goods where (item_id = 41928087111) and kmd_tb_goods.deleted_at is null limit 1 分析...
需要的环境 docker python docker-compose 下载安装资源 git clone https://github.com/getsentry/onpremise.git cd onpremise # 切换到稳定版 git checkout stable 安装前配置 vim config.y...
关联k8s pod php docker 起因 偶尔会出现找不到 DNS 的报错 php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution [tcp://xxx.redis.rds.aliyuncs.com:637...
因为历史原因,在Laravel 5.3版本 使用 Eloquent 的 increment 出现了精度丢失, 重写incrementOrDecrementAttributeValue方法,使用 bcadd 进行计算,保留2位小数。 protected function inc...
192.168.0.2 master // 目录结构 mongo/ ├── config │ └── mongo-keyfile └── docker-compose.yml cd mongo // 生成验证文件密钥 openssl rand -base64 741 >> mongo-keyfile mv m...
我创建了个 mysql5.7 版本的 dokcer 容器取名 mysql ,但是我忘记了密码。 # 进入容器 docker exec -it mysql bash # 设置跳过权限表的加载 # 警告:这就意味着任何用户都能登录进来,并进行...
dockerfile php:7.1-fpm 安装gd库的时候 出现错误 configure: error: freetype-config not found. 我的dockerfile FROM php:7.1-fpm RUN apt-get update && apt-get install -y \ libfreetyp...
没有更多内容
加载失败,请刷新页面
没有更多内容
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复