2023年6月14日
摘要: 开启微软输入法兼容模式就能解决问题 阅读全文
posted @ 2023-06-14 09:49 小朱配齐 阅读(529) 评论(1) 推荐(0) 编辑
  2023年3月16日
摘要: 将 AppIndicator、KStatusNotifierItem 和旧版托盘图标支持添加到命令行管理程序 appindicator-support 拓展坞插件Dash to Dock cpu监控插件Vitals 窗口指示器Workspace Indicator 通知常驻Permanent not 阅读全文
posted @ 2023-03-16 21:00 小朱配齐 阅读(79) 评论(0) 推荐(0) 编辑
  2022年12月15日
摘要: 报错内容 Failed to connect to bus: No such file or directory Error: Failure while executing; `/home/linuxbrew/.linuxbrew/bin/systemctl --user daemon-reloa 阅读全文
posted @ 2022-12-15 16:01 小朱配齐 阅读(103) 评论(0) 推荐(0) 编辑
  2022年12月10日
摘要: 1. improt 内只要写文件名即可 2. 在编译路径中加两个路径 // xpb_public xpb_src两个文件都在同一级 不同的写具体路径,但是不要出现../ 应该从同./下开始 protoc -I ./xpb_public/ -I ./xpb_src/ --go_out=./ ./xpb 阅读全文
posted @ 2022-12-10 11:11 小朱配齐 阅读(168) 评论(0) 推荐(0) 编辑
  2022年11月13日
摘要: lo # loopback 本机主机地址 # flag=8049:网络设备状态标识 # UP:网卡处于启动状态 # LOOPBACK:IP数据包回送到本机上,通常用于测试网络配置和本地程序之间通信用 # RUNNING:代表网卡的网线被接上 # MULTICAS:网卡可以发送多播包 # mtu:最大 阅读全文
posted @ 2022-11-13 15:08 小朱配齐 阅读(651) 评论(0) 推荐(0) 编辑
摘要: 查看网卡信息 $ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00 阅读全文
posted @ 2022-11-13 15:00 小朱配齐 阅读(445) 评论(0) 推荐(0) 编辑
  2022年11月12日
摘要: 创建密钥 ssh-keygen -m PEM -t rsa -b 4096 参数: -m PEM = 密钥格式 PEM -t rsa 要创建的密钥类型,本例中为 RSA 格 "rsa1"(SSH-1) "rsa"(SSH-2) "dsa"(SSH-2) -b 4096 密钥的位数,本例中为 4096 阅读全文
posted @ 2022-11-12 12:31 小朱配齐 阅读(145) 评论(0) 推荐(0) 编辑
  2022年11月10日
摘要: 不能自动转换ipv6 阅读全文
posted @ 2022-11-10 20:48 小朱配齐 阅读(275) 评论(0) 推荐(0) 编辑
  2022年7月23日
摘要: 本地有代码 则运行: git add file git stash 记录stash编号 方便恢复例如:stash@{0} 先本地回退到相应的版本 一次:(不需要保存代码soft换成hard) git reset --soft HEAD^ 多次:(N次) git reset --soft HEAD~N 阅读全文
posted @ 2022-07-23 17:44 小朱配齐 阅读(298) 评论(0) 推荐(0) 编辑
  2022年7月20日
摘要: 默认root下执行 在虚拟机设备安装安装增强功能 在虚拟机内加载增强功能安装包 mount /dev/cdrom /media/cdrom 运行安装命令 apt-get install build-essential linux-headers-`uname -r` cd /media/cdrom 阅读全文
posted @ 2022-07-20 22:23 小朱配齐 阅读(111) 评论(0) 推荐(0) 编辑
摘要: . ERROR! The server quit without updating PID file (/opt/homebrew/var/mysql/xx.local.pid). ERROR! Failed to stop running server, so refusing to try to 阅读全文
posted @ 2022-07-20 09:02 小朱配齐 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 在/opt/homebrew/etc下修改my.cnf,增加一行 skip-grant-tables 重启mysql 进入mysql,直接回车不用输入密码 mysql -u root -p 刷新权限(一定要) flush privileges; 修改密码 use mysql; alter user' 阅读全文
posted @ 2022-07-20 08:57 小朱配齐 阅读(204) 评论(0) 推荐(0) 编辑
  2022年7月11日
摘要: 查看当前用户 use mysql; select current_user(); 或者: select User, authentication_string , Host from user; 查看权限 show grants for 'user'@'ip'; 或者 show grants; 创建 阅读全文
posted @ 2022-07-11 10:31 小朱配齐 阅读(418) 评论(0) 推荐(0) 编辑
  2022年6月11日
摘要: 原文 https://kalacloud.com/blog/how-to-allow-remote-access-to-mysql/ 我们经常会碰到需要远程访问数据库的场景,比如使用 Sequel Ace 等本地工具远程连接,又或者,网站与数据库分离,服务器远程访问数据库等场景。默认情况下,MySQ 阅读全文
posted @ 2022-06-11 11:57 小朱配齐 阅读(1940) 评论(0) 推荐(0) 编辑
摘要: 原文:https://kalacloud.com/blog/how-to-create-a-new-user-and-grant-permissions-in-mysql/ 1.如何创建新用户 首先我们使用 root 账号登录 MySQL Server: mysql -u root -p 登录成功后 阅读全文
posted @ 2022-06-11 11:51 小朱配齐 阅读(653) 评论(0) 推荐(0) 编辑
  2022年2月1日
摘要: 检查linux-header是否正确 apt install linux-headers-$(uname -r) 阅读全文
posted @ 2022-02-01 22:45 小朱配齐 阅读(105) 评论(0) 推荐(0) 编辑
  2020年2月24日
摘要: 错误: root@debian:/home/zh# dpkg -i mysql-apt-config_0.8.15-1_all.deb dpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: warning: 'star 阅读全文
posted @ 2020-02-24 11:17 小朱配齐 阅读(1935) 评论(0) 推荐(0) 编辑
  2020年1月12日
摘要: //管理员 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere] @="Cmd" "Icon"="cmd.exe" [HKEY_CLASSES_ROOT\Directory\shell 阅读全文
posted @ 2020-01-12 16:48 小朱配齐 阅读(520) 评论(0) 推荐(0) 编辑
  2019年12月3日
摘要: 在~/.ssh/config文件中加入 Host * # "*" 表示所有地址 ServerAliveInterval 10 #10秒无操作请求服务器响应 ServerAliveCountMax 3 # 3次无响应则断开连接 阅读全文
posted @ 2019-12-03 14:45 小朱配齐 阅读(386) 评论(0) 推荐(0) 编辑
  2019年11月28日
摘要: windows环境使用局部配置 Git常用的有两种协议 不同的协议他的代理配置各不相同。core.gitproxy 用于 git:// 协议,http.proxy 用于 http:// 协议。 常见的git clone 协议如下: 不走代理: #使用http://协议 git clone https 阅读全文
posted @ 2019-11-28 01:02 小朱配齐 阅读(2284) 评论(0) 推荐(0) 编辑
  2019年11月24日
摘要: git 撤销已经提交到远程服务器的commit: 一、使用git log查看需要撤回的commitId git log 二、撤销: 方式一: //撤销commit,但不修改代码 git reset commitId 方式二: //撤销commit,同时将代码恢复到对应ID的版本 git reset 阅读全文
posted @ 2019-11-24 15:37 小朱配齐 阅读(3061) 评论(0) 推荐(0) 编辑
  2019年11月19日
摘要: 使用 Homebrew 安装 mysql,默认配置在 /usr/local/etc/my.cnf 阅读全文
posted @ 2019-11-19 17:34 小朱配齐 阅读(747) 评论(0) 推荐(0) 编辑
  2019年11月9日
摘要: 解决方法: 将: HKEY_LOCAL_MACHINE\Software\Microsoft\Command Prosessor\CompletionChar键的值改为9, 阅读全文
posted @ 2019-11-09 22:27 小朱配齐 阅读(417) 评论(0) 推荐(0) 编辑
  2019年10月26日
摘要: [已解决] 方法: 阅读全文
posted @ 2019-10-26 15:44 小朱配齐 阅读(986) 评论(0) 推荐(0) 编辑
  2019年10月12日
摘要: 转自:http://www.nginx.cn/76.html 阅读全文
posted @ 2019-10-12 11:43 小朱配齐 阅读(175) 评论(0) 推荐(0) 编辑
  2019年9月27日
摘要: 使用protoc3.5版本 github.com/golang/protobuf/ 使用1e59b77b52bf8e4b449a57e6f79f21226d571845 阅读全文
posted @ 2019-09-27 14:31 小朱配齐 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 使用brew安装mysql后出现这个报错;解决方法:1、直接使用mysql.server start启动2、mysql -uroot -h127.0.0.1 -p(直接回车不用输入密码) 阅读全文
posted @ 2019-09-27 14:26 小朱配齐 阅读(2389) 评论(0) 推荐(1) 编辑
摘要: ###问题:使用docker启动容器时,报错如下 ```zh@debian:~/testPath$ docker-compose up redisStarting testpath_redis_1 ... doneAttaching to testpath_redis_1redis_1 |redis 阅读全文
posted @ 2019-09-27 14:26 小朱配齐 阅读(3254) 评论(0) 推荐(0) 编辑
  2019年4月18日
摘要: 导入VirtualBox虚拟机文件时,错误提示:返回 代码:E_INVALIDARG (0x80070057) 解决方法:打开VirtualBox虚拟机,管理--虚拟介质管理器,将里面所有带叹号的虚拟光盘、软盘、硬盘,删除,然后在打开文件。OK,已经正常了。 如果没有上面方法不能解决,可以考虑管理员 阅读全文
posted @ 2019-04-18 08:35 小朱配齐 阅读(17726) 评论(5) 推荐(1) 编辑
  2019年4月15日
摘要: 问题:使用docker启动容器时,报错如下 解决方法 阅读全文
posted @ 2019-04-15 11:15 小朱配齐 阅读(1677) 评论(0) 推荐(0) 编辑