
linux
云原生IT民工
这个作者很懒,什么都没留下…
展开
-
ssh自动生成密钥对
【代码】ssh自动生成密钥对。原创 2024-10-18 10:31:01 · 145 阅读 · 0 评论 -
pxe安装mini centos系统
需要在dhcp里面填写tftp配置,所以需要固定ip。作用:给客户端提供ip地址,并告诉客户端tftp地址。4.2、修改default的配置。五、准备ks.cfg自动应答文件。原创 2024-03-14 17:01:41 · 350 阅读 · 0 评论 -
使用systemd将iptables规则在docker启动后自动导入
使用systemd将iptables规则在docker启动后自动导入转载 2022-09-27 17:24:34 · 448 阅读 · 0 评论 -
记录一次挂载nfs远程目录报错
$ mount -amount: wrong fs type, bad option, bad superblock on sfs-nas1.cn-north-1b.myhuaweicloud.com:/share-47904473, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/原创 2020-07-28 14:38:12 · 754 阅读 · 0 评论 -
linux命令行和vim快捷键
目的:快捷键可以大大的节省时间,提高效率,是每个学Linux必备的一篇,当然有些是支撑我们其他学习必不可少的,所有花时间和精力整理一下是值得的。用的时候查询一下,用的多了,自然就记住了。一、Linux命令行1、光标移动Ctrl+a:光标回到命令行首。 (a:ahead)Ctrl+e:光标回到命令行尾。 (e:end)ctrl+l: 清屏。 (l:clea...原创 2018-08-13 12:28:38 · 382 阅读 · 0 评论 -
linux设置阿里云yum源,加速yum安装软件
1、先将之前的yum源文件备份mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup2、下载新的yum源wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo3、添加...原创 2018-08-13 21:22:20 · 456 阅读 · 0 评论