会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
anakinf
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
10
下一页
2022年5月11日
ubuntu添加新用户
摘要: 一、添加用户 sudo useradd anakin -d /home/anakin -m cat /etc/passwd | grep anakin 二、设置密码 sudo passwd anakin 三、给用户添加sudo权限 #增加写权限 sudo chmod u+w /etc/sudoers
阅读全文
posted @ 2022-05-11 16:28 anakinf
阅读(122)
评论(0)
推荐(0)
2022年2月25日
MAC Homebrew 安装SVN等失败
摘要: MAC上用Homebrew安装软件失败,不知道是什么原因,换成国内源,完美解决/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
阅读全文
posted @ 2022-02-25 10:17 anakinf
阅读(291)
评论(0)
推荐(0)
2022年2月24日
MAC 卡顿耗电发热问题解决
摘要: 关闭注销 iCloud,每个版本有不同 关spotlight 命令: sudo mdutil -a -i off 休眠后内存立即断电,将内存数据写入硬盘 sudo pmset -b hibernatemode 25 , 默认为3 以上设置,我的电脑飞快了,可以再用几年了.
阅读全文
posted @ 2022-02-24 15:58 anakinf
阅读(492)
评论(0)
推荐(0)
2021年12月17日
rabbitmq报错Failed to start RabbitMQ broker
摘要: systemctl start rabbitmq-server 报错:Error: unable to connect to node rabbit@sf206152: nodedown Jun 21 17:11:12 sf206152 rabbitmq-server[31112]: {bad_re
阅读全文
posted @ 2021-12-17 14:03 anakinf
阅读(1127)
评论(0)
推荐(0)
2021年12月13日
pip install image 失败,加上国内源
摘要: pip install 安装失败,加上国内源 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple image
阅读全文
posted @ 2021-12-13 10:08 anakinf
阅读(295)
评论(0)
推荐(0)
2021年12月8日
idea Mac版过期处理方法.适用于JetBrains全家桶
摘要: 今天idea过期了,要马上编译项目,想到了重置试用 rm -rf ~/Library/Preferences/JetBrains/Idea**** rm -rf ~/Library/Caches/JetBrains/Idea**** rm -rf ~/Library/Logs/JetBrains/I
阅读全文
posted @ 2021-12-08 10:59 anakinf
阅读(2203)
评论(1)
推荐(1)
2021年2月20日
win10子系统ubuntu开机启动ssh服务
摘要: 1.win10点击win+R,输入shell:startup, 打开启动文件夹 2.在文件夹中创建xxx.vbs文件,输入以下内容 set ws=wscript.createobject("wscript.shell") ws.run "wsl -d ubuntu -u root /etc/init
阅读全文
posted @ 2021-02-20 19:33 anakinf
阅读(271)
评论(0)
推荐(0)
2020年12月22日
mac升级到bigsur后无法启动Nacos /Library/Internet: No such file or directory
摘要: mac升级到bigsur后,nacos中startup.sh启动失败,日志显示 nohup: /Library/Internet: No such file or directory mac自带了一个jdk,在.bash_profile声明自己安装的jdk的JAVA_HOME vi ~/.bash_
阅读全文
posted @ 2020-12-22 14:57 anakinf
阅读(3347)
评论(0)
推荐(0)
2020年11月21日
SpringCloud-Hystrix 报 could not acquire a semaphore for execution
摘要: 今天SpringCloud-Hystrix 并发调用报could not acquire a semaphore for execution,配置以下设置,完美解决 hystrix: command: default: execution: isolation: strategy: SEMAPHOR
阅读全文
posted @ 2020-11-21 20:21 anakinf
阅读(4921)
评论(0)
推荐(0)
2020年11月10日
MYSQL获取更新行的主键ID(更新返回所在行)
摘要: 1 SET @update_id := 0; 2 UPDATE some_table SET row = 'value', id = (SELECT @update_id := id) 3 WHERE some_other_row = 'blah' LIMIT 1; 4 SELECT @update
阅读全文
posted @ 2020-11-10 20:24 anakinf
阅读(2277)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
10
下一页
公告