• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






会飞の鱼

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

08 2019 档案

 
cgroups实验
摘要:# yum install -y libcgroup libcgroup-tools创建控制组cgcreate -g cpu:/testcgcreate -g cpu:/test2禁用quotacgset -r cpu.cfs_quota_us=-1 testcgset -r cpu.cfs_quo 阅读全文
posted @ 2019-08-25 21:28 会飞の鱼 阅读(238) 评论(0) 推荐(0)
centos7安装搜狗输入法
摘要:yum install fcitx 执行fcitx 出现DBus Not initialized 执行eval `dbus-launch --sh-syntax` imsettings-switch fcitx reboot yum install dpkg 下载搜狗输入法ubuntu版 https 阅读全文
posted @ 2019-08-15 11:17 会飞の鱼 阅读(789) 评论(0) 推荐(0)
linux管道和tee命令
摘要:ps -ef | grep docker 等价于 ps -ef &> >(grep docker) cat a.log | tee b.txt 等价于 cat a.log &> >(tee b.txt) cat a.log | md5sum > a.sum 为了将过程打印到屏幕 cat a.log 阅读全文
posted @ 2019-08-14 15:06 会飞の鱼 阅读(640) 评论(0) 推荐(0)
python 打印的异常回溯和代码不对应
摘要:正在运行的程序没有停止 又重新install了导致site-packages里的代码改变 正在运行的是老代码, 当出现异常时打印的行数是老代码,但显示的行的内容时新代码 阅读全文
posted @ 2019-08-12 22:47 会飞の鱼 阅读(283) 评论(0) 推荐(0)
gitlab merge request
摘要:分支提了mr之后, 又有commit 不用重新提mr,mr中会自动更新 要保证项目下的.git目录中有hooks这个目录(如果是从github迁移到gitlab的项目, 可能没有这个目录, 导致mr不能自动更新commit) 阅读全文
posted @ 2019-08-12 14:22 会飞の鱼 阅读(2197) 评论(0) 推荐(0)
oslo_messaging使用eventlet executor时rpc无法调用的问题
摘要:python2.7.5 oslo.messaging==9.8.0 现象: 从debug日志可以看到rpcServer接收到了rabbitmq的消息, 但是没有调用endpoints中的相应方法 分析: 当executor="eventlet"时 MessageHandlingServer中的_wo 阅读全文
posted @ 2019-08-08 21:05 会飞の鱼 阅读(428) 评论(0) 推荐(0)
rabbitmq安装
摘要:1. 安装erlang yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel unixODBC-devel https://github.com/rabbitmq/erlang-rpm # cat > 阅读全文
posted @ 2019-08-07 21:17 会飞の鱼 阅读(266) 评论(0) 推荐(0)
git commit规范工具
摘要:npm install -g commitizen commitizen init cz-conventional-changelog --save --save-exact 以后,凡是用到git commit命令,一律改为使用git cz 阅读全文
posted @ 2019-08-07 18:15 会飞の鱼 阅读(637) 评论(0) 推荐(0)