随笔分类 -  linux

摘要:linux 下 mongodb 安装 地址 https://www.mongodb.com/try/download/community 选择版本和环境 需要下载2个包,mongod 和 shell package 选择 service 复制链接, 再选择 shell(rpm),复制链接,然后通过 阅读全文
posted @ 2023-01-05 21:45 绣幕 阅读(99) 评论(0) 推荐(0)
摘要:解决linux 启动出现 ERROR: could not insert 'floppy' : No such device 报错如下: 最后屏幕狂刷 Warning: dracut-initqueue timeout - starting timeout script 如下: 解决:输入 blki 阅读全文
posted @ 2022-12-31 22:23 绣幕 阅读(2499) 评论(0) 推荐(0)
摘要:参考文档 https://www.yuque.com/anolis-docs/manual/migration-guide#gGbKa 执行 leapp preupgrade --no-rhsm 报错了,没有 requests 库,虽然我已经执行了以下命令 pip list | grep reque 阅读全文
posted @ 2022-09-29 00:02 绣幕 阅读(460) 评论(0) 推荐(0)
摘要:elastic search 安装,启动 下载地址https://repo.huaweicloud.com/elasticsearch/7.14.0/ 解压,新建用户【es 不能以 root 启动】tar -xf useradd es 修改配置 根据自身内存【free -h】修改启动内存config 阅读全文
posted @ 2022-08-17 00:48 绣幕 阅读(192) 评论(0) 推荐(0)
摘要:记录一些配置相关 linux ssh 设置 ssh 心跳,不中断 ssh 连接。在 ~/.ssh/conf 中添加如下内容: Host * ServerAliveInterval 40 添加 ssh key 配置免密登录 ssh-copy-id -t ~/.ssh/id_rsa.pub root@x 阅读全文
posted @ 2022-07-22 23:02 绣幕 阅读(45) 评论(0) 推荐(0)
摘要:linux mock 环境搭建 前提:配置了 mock 的 yum 源 步骤: yum install mock --enablerepo epel #创建构建用户 useradd build #修改mock组。因为默认mock的使用用户是root usermod -a -G mock build 阅读全文
posted @ 2022-07-21 00:30 绣幕 阅读(523) 评论(0) 推荐(0)
摘要:shell 小记 # 结果就挺奇怪的 [root@localhost tests]# md5sum 1 c3be117041a113540deb0ff532b19543 1 [root@localhost tests]# echo `md5sum 1` c3be117041a113540deb0ff 阅读全文
posted @ 2022-07-05 00:22 绣幕 阅读(90) 评论(0) 推荐(0)
摘要:rpm 系 linux 系统中 /etc/yum.repo.d/ 目录下的 .repo 文件中的 $releasever 到底等于多少? 结论 对于 8 来说,通过以下命令 #/usr/libexec/platform-python -c 'import dnf, json; db = dnf.dn 阅读全文
posted @ 2022-06-18 11:36 绣幕 阅读(792) 评论(0) 推荐(0)
摘要:# --with--cc-opt flag导致./configure时找不到对应库文件? checking for --with-ld-opt="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-E" 阅读全文
posted @ 2022-02-27 20:51 绣幕 阅读(184) 评论(0) 推荐(0)
摘要:安装时参考的以下文章 VMware Workstation Pro 虚拟机安装 VMware Workstation Pro 安装 龙蜥操作系统(Anolis OS) Anolis OS 8 安装指南 ps: 启动虚拟机时报错 此主机支持Intel VT-x但Intel VT-x处于禁用状态 。我是 阅读全文
posted @ 2022-02-12 23:16 绣幕 阅读(1441) 评论(0) 推荐(0)