随笔分类 -  Centos

centos安装k8s注意点
摘要:安装方法,参考 https://blog.csdn.net/frankgy01/article/details/127936367 https://www.cnblogs.com/yangzp/p/16932270.html https://blog.csdn.net/qq_40279964/art 阅读全文
posted @ 2022-12-22 16:29 Star*S 阅读(35) 评论(0) 推荐(0)
centos安装k8s
摘要:1、确保每台机器上有docker http://get.daocloud.io/#install-docker 2、关闭 每台机器上的swap,selinux swapoff -a setenforce 0 sed -i 's/^SELINUX=enforcing$/SELINUX=disable/ 阅读全文
posted @ 2022-12-22 16:26 Star*S 阅读(381) 评论(0) 推荐(0)
centos 通过yum安装docker-ce报错
摘要:通过yum安装docker-ce报错,是因为本机安装过多次造成的,如下所示,需要解决掉冲突依赖,从新安装 1 从 https://mirrors.aliyun.com/docker-ce/linux/centos/gpg 检索密钥 2 导入 GPG key 0x621E9F35: 3 用户ID : 阅读全文
posted @ 2022-12-21 16:17 Star*S 阅读(853) 评论(0) 推荐(0)
centos 添加yum源失败,ping 百度没响应
摘要:1、 curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo执行命令,一直没有成功 2、检查是否ping的通百度,结果没有反应,修改network配置文件 阅读全文
posted @ 2022-12-07 20:49 Star*S 阅读(273) 评论(0) 推荐(0)
centos虚拟机yum update报错Another app is currently holding the yum lock; waiting for it to exit...
摘要:1、运行yum update报错 [root@localhost ~]# yum update已加载插件:fastestmirror, langpacks/var/run/yum.pid 已被锁定,PID 为 95864 的另一个程序正在运行。Another app is currently hol 阅读全文
posted @ 2022-12-07 14:59 Star*S 阅读(294) 评论(0) 推荐(0)
centos Nginx 启动失败nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
摘要:[root@localhost html]# /usr/sbin/nginxnginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)nginx: [emerg] bind() to [::]:80 failed ( 阅读全文
posted @ 2022-11-25 20:23 Star*S 阅读(366) 评论(0) 推荐(0)
centos 中创建定时任务
摘要:第一个 * 表示分钟:取值范围 0-59 第二个 * 表示小时:取值范围0-23 第三个 * 表示天数:取值范围1-31 第四个 * 表示月份:取值范围1-12 第五个 * 表示每周:取值范围0-6 [root@localhost szy]# crontab -hcrontab:无效选项 -- hc 阅读全文
posted @ 2022-11-24 14:31 Star*S 阅读(151) 评论(0) 推荐(0)