
linux
Lingoesforstudy
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
rufus制作U盘安装介质时,rufus界面上的分区类型选什么?
使用Rufus制作Ubuntu的U盘安装介质时,需要根据计算机的引导方式选择相应的分区类型原创 2024-08-22 01:49:06 · 2578 阅读 · 0 评论 -
Cent OS7上k8s部署
一、所以机器(master、nodes)执行1、让系统时间同步到网络时间systemctl enable chronydsystemctl is-active chronyd2、关闭防火墙firewalldsystemctl stop firewalldsystemctl disable firewalldsystemctl is-active firewalld3、SELINUX 在/etc/selinux/config中4、swap编辑/etc/fstab文件,注...原创 2021-09-26 13:48:36 · 262 阅读 · 0 评论 -
centos7上使用移动硬盘
移动硬盘是NTFS格式所以要先在CentOS7上配置对NTFS的支持,依次输入下面3条指令:$ wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo$ yum makecache$ yum install -y ntfs-3g移动硬盘连线插入电脑,这时候在桌面上就会多出来移动硬盘的图标(图标个数与硬盘划分的区域个数相等。我的硬盘是3个分区的。)现在就可以像在windows上那样原创 2021-09-25 23:06:50 · 2695 阅读 · 1 评论 -
运行docker run命令提示WARNING: IPv4 forwarding is disabled. Networking will not work.
问题运行docker run 命令提示:WARNING: IPv4 forwarding is disabled. Networking will not work.但是重启了docker后,再运行docker run就正常了[root@vms21 ~]# docker run -it --restart=always --name=c1 -v /xx hub.c.163.com/library/centosWARNING: IPv4 forwarding is disabled. Ne原创 2021-09-02 11:11:25 · 330 阅读 · 0 评论 -
jq ——一个轻量级灵活的命令行 JSON 处理器
jq is likesedfor JSON data - you can use it to slice and filter and map and transform structured data with the same ease thatsed,awk,grepand friends let you play with text.https://stedolan.github.io/jq/原创 2021-08-30 20:14:34 · 144 阅读 · 0 评论 -
yq ——一个轻量级便携式命令行 YAML 处理器
yqyq is a lightweight and portable command-line YAML processor.https://mikefarah.gitbook.io/yq/原创 2021-08-30 19:44:16 · 3437 阅读 · 0 评论 -
kubernetes删除状态是Terminating的命名空间
背景:直接执行下面的命令删除命名空间ingress-nginxkubernetes delete namespace ingress-nginx并不能将命名空间ingress-nginx删除掉[root@vms41 ~]# kubectl get ns -o wideNAME STATUS AGEdefault Active 7d1hingress-nginx Terminating 4m38s原创 2021-07-06 14:04:53 · 508 阅读 · 0 评论 -
centOS与ubuntu中关于操作防火墙的常见命令
CentOS中:查看防火墙状态:sudo systemctl status firewalld 关闭防火墙: systemctl stop firewalld.service. 开启防火墙: systemctl start firewalld.service. 关闭开机启动: systemctl disable firewalld.service. 打开防火墙开机启动: systemctl enable firewalld.service.Ubuntu中:查看防火墙状态:sudo ufw原创 2021-05-14 11:43:30 · 641 阅读 · 0 评论