linux
skillfulit
这个作者很懒,什么都没留下…
展开
-
mongodb find rewrite
mongodb find rewritemongodb find 查询转换与重写,在语义和实际结果相同的前提下,实现文章目录mongodb find rewritewrite 1find coderesultexplainwrite 2find coderesultexplainwrite 3find coderesultexplainwrite 1find codedb.inventory.find({$and:[{qty:{$gt:50,$lt:100,$type:1}}]})resu原创 2020-10-20 17:32:40 · 82 阅读 · 0 评论 -
linux 7 禁用hugepage
修改文件/etc/default/grub ,在GRUB_CMDLINE_LINUX部分中增加“transparent_hugepage=never”[root@dbps ~]# cat /etc/default/grub GRUB_TIMEOUT=5GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"GRUB_...原创 2018-11-22 10:14:02 · 1579 阅读 · 0 评论 -
This system is not registered with an entitlement server. You can use subscription-manager to regist
1、清除redhat yum相关的包rpm -qa | grep yum |xargs rpm -e --nodeps[root@ogg12c ~]# rpm -qa | grep yum |xargs rpm -e --nodeps[root@ogg12c ~]#[root@ogg12c ~]#[root@ogg12c ~]# rmp -qa | grep yum-bash:...原创 2019-03-29 11:32:57 · 2004 阅读 · 0 评论