![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux学习遇到的坑
Agirl_Nana
这个作者很懒,什么都没留下…
展开
-
k8s技术遇到的问题1--No resources found.
[root@master ~]# kubectl get nodesNo resources found.解决方法:所有节点:1.关闭防火墙: systemctl stop firewalldsystemctl disable firewalld 2.关闭selinux: sed -i 's/enforcing/disabled/' /etc/selinux/config setenforce 0 3.关闭swap: swapoff -a 临时 vim /etc/fstab 永原创 2020-07-02 21:48:50 · 5916 阅读 · 0 评论 -
linux问题--[Errno 256] No more mirrors to try.
安装zabbix源:[root@m01 ~]# rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm安装zabbix-java-gateway:[root@m01 yum.repos.d]$ yum install -y zabbix-java-gatewayhttp://repo.zabbix.com/zabbix/3.2/r原创 2020-07-02 11:59:14 · 1044 阅读 · 0 评论 -
linux问题--Another app is currently holding the yum lock...
使用yum安装计划任务功能,结果提示:yum -y install vixie-cronLoaded plugins: fastestmirror, refresh-packagekit, securityExisting lock /var/run/yum.pid: another copy is running as pid 25960.Another app is currently holding the yum lock; waiting for it to exit…可能是系统自动升级原创 2020-07-02 11:54:16 · 132 阅读 · 0 评论 -
linux基础问题--Error: Nothing to do
在用Centos 的时候出现了这种情况,Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfileSetting up Install ProcessNo package gcc available.Error: Nothing to do遇到这种情况有两种做法:1、没网,试着:ping www.baidu.com如果显示没有连接的话,就说明没网,也原创 2020-07-02 11:49:05 · 14547 阅读 · 1 评论