需求 客户要求在银河麒麟服务器版使用docker安装mysql5.7 难点 1、mysql版本 ARM 架构的银河麒麟架构匹配,不然不会报错 2、需要的是 arm64v8/mysql:5.7 3、在docker镜像官网找到的最低版本都是8.0了 解决 最终在 腾讯云的公有镜像里找到了(https://console....
linux下ssh-copy-id命令详解 服务器笔记
ssh-copy-id 命令笔记 1. 命令简介 ssh-copy-id 是一个用于将本地 SSH 公钥自动添加到远程服务器 authorized_keys 文件的工具,实现免密 SSH 登录。 2. 基本语法 ssh-copy-id ] hostname 3. 常用选项 选项 说明 -i 指定公钥文件...
docker端口映射不能正常访问 服务器笔记
在用docker启动nginx后,通过ip地址无法访问 docker run -d --name mynginx -p 80:80 nginx Linux转发是要开启内核转发功能net.ipv4.ip_forward的,于是检查内核转发是否打开 # sysctl net.ipv4.ip_forward net.ipv...
帮同学的windows服务装个禅道,登录进去才发现只有apache,没有php,也没有mysql 装完php和mysql,发现访问php文件直接展示没有解析,于是就开始配置apache解析php的模块 好多年windows+apache这种组合了,搞了半天才解决 LoadModule fcgid...
Mac 升级系统后 ssh 报错 服务器笔记
报错如下: Unable to negotiate with 10.10.10.100 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss 解决办法: cd ~/.ssh vim config Host * ControlMast...
错误信息如下 Job for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "journalctl ...
系统 LSB Version: :....(太长了) Distributor ID: CentOS Description: CentOS Linux release 8.2.2004 (Core) Release: 8.2.2004 Codename: Core 使用官网给的没...
centos下openresty+lua入门实践 服务器笔记
安装openresty 1、安装依赖开发库 yum install pcre-devel openssl-devel gcc curl postgresql-devel 2、下载 + 编译 + 安装 wget https://openresty.org/download/openresty-1.19.3.1.tar.g...
docker安装es的中文分词器ik插件 服务器笔记
两种安装方式 1、use elasticsearch-plugin to install docker exec -it elasticsearch /bin/sh cd bin/ elasticsearch-plugin install https://github.com/medcl/elasticsearch-...
Mac下使用clion调试redis源码 服务器笔记
1、先从github上下载源码 1.1搜索https://github.com/search?q=redis+clion 1.2最好是选择别人配置好CMakeLists.txt的,不然自己配置也很麻烦 2、下载完成,开始配置 //选择一个想要调试的版本进行下载 wget https://github.com/htw00...