会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
屯子里唯一的架构师
博客园
首页
新随笔
联系
订阅
管理
2025年4月5日
Ubuntu创建新用户
摘要: 1、sudo useradd -r -m -s /bin/bash lemon 2、sudo passwd lemon 3、sudo vim /etc/sudoers root ALL=(ALL:ALL) ALLlemon ALL=(ALL:ALL) ALL
阅读全文
posted @ 2025-04-05 22:16 屯子里唯一的架构师
阅读(15)
评论(0)
推荐(0)
2024年6月4日
Archlinux安装教程
摘要: 先上图: 准备工作 1、进入 Live 环境后关闭 reflector systemctl stop reflector 2、使用iwctl联网 3、timedatectl 修改时区 timedatectl set-timezone Asia/Shanghai 4、date验证时间 fdisk -l
阅读全文
posted @ 2024-06-04 18:45 屯子里唯一的架构师
阅读(1654)
评论(0)
推荐(0)
2023年2月23日
解决“ERROR: kernel source directory "/usr/src/linux" was not found!”方案
摘要: 问题: 报错:ERROR: kernel source directory "/usr/src/linux" was not found! 解决: nano -w /etc/genkernel.conf将DEFAULT_KERNEL_SOURCE="/usr/src/linux"改成DEFAULT_
阅读全文
posted @ 2023-02-23 18:09 屯子里唯一的架构师
阅读(331)
评论(0)
推荐(0)
安装Gentoo报错“ All ebuilds that could satisfy "sys-kernel/linux-firmware" have been masked.”解决方案
摘要: 问题: (chroot) livecd / # emerge --ask sys-kernel/genkernel * IMPORTANT: 9 news items need reading for repository 'gentoo'. * Use eselect news read to v
阅读全文
posted @ 2023-02-23 10:47 屯子里唯一的架构师
阅读(500)
评论(0)
推荐(0)
2023年2月20日
无法使用xshell连接linux虚拟机
摘要: 问题: 解决: 我们需要启动sshd远程连接 命令: /etc/init.d/sshd start 现在就没有问题了!!!
阅读全文
posted @ 2023-02-20 20:41 屯子里唯一的架构师
阅读(24)
评论(0)
推荐(0)
2023年2月18日
解决linux服务器无法从GitHub上git项目
摘要: 报错: 解决方案: 配置一下Linux的hosts文件,在hosts文件最后添加上GitHub 140.82.113.4 github.com 199.232.69.194 github.global.ssl.fastly.net [root@localhost test]# vim /etc/ho
阅读全文
posted @ 2023-02-18 20:35 屯子里唯一的架构师
阅读(429)
评论(0)
推荐(0)
2022年12月31日
安装Archlinux报错“error: openssl: signature from "Pierre Schmitz <pierre@archlinux.org>" is marginal trust”以及解决方案
摘要: 问题: 执行命令 root@archiso ~ # pacstrap -i /mnt base dhcpcd vim openssh man net-tools 解决方案: 执行命令 root@archiso ~ # pacman -Sy archlinux-keyring 之后就继续执行 pacs
阅读全文
posted @ 2022-12-31 14:42 屯子里唯一的架构师
阅读(749)
评论(0)
推荐(0)
安装Archlinux报错“chroot: failed to run command ‘/bin/bash’: No such file or directory”以及解决方案
摘要: 问题: 安装Archlinux时,执行 arch-chroot /mnt命令报错: chroot: failed to run command ‘/bin/bash’: No such file or directory 解决方案: 执行 root@archiso ~ # pacstrap /mnt
阅读全文
posted @ 2022-12-31 14:20 屯子里唯一的架构师
阅读(4144)
评论(0)
推荐(0)
2022年11月2日
重启Nagios时报错“Failed to restart nagios.service: Unit not found”
摘要: 问题: 执行完命令 /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg 后重启Nagios报错 [root@CentOs nagios-plugins-2.2.1]# systemctl restart nagios.se
阅读全文
posted @ 2022-11-02 21:34 屯子里唯一的架构师
阅读(429)
评论(0)
推荐(0)
2022年9月25日
ansible主机清单inventory
摘要: 一、主机清单inventory Inventory 主机清单1> ansible的主要功用在于批量主机操作,为了便捷地使用其中的部分主机,可以在inventory file中将其分组命名 2> 默认的inventory file为/etc/ansible/hosts3> inventory file
阅读全文
posted @ 2022-09-25 20:55 屯子里唯一的架构师
阅读(658)
评论(0)
推荐(0)
下一页
公告