![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
centos
Walkingland
这个作者很懒,什么都没留下…
展开
-
ifconfig 一直用不了
安装centos后ifconfig 一直用不了1、先开通网关,文件 /etc/sysconfig/network-scripts/ifcfg-enp16777736(这里的enp16777736不是一定,是en开头的就可以)将 ONBOOT=no 改为 ONBOOT=yes保存后重启网卡: service network restart此时就可以上网了。因为是最小化安装,此时ifconfig命令不能用,可用命令:ip addr 查看分配网卡情况。2,查看 ls /sbin/ifconf原创 2020-11-11 16:47:53 · 1311 阅读 · 0 评论 -
禅道使用正确用户名+密码登录失败,数据库:disk full
禅道使用正确用户名+密码登录,报用户名或密码错误查看日志:[ERROR] mysqld: Disk full (/opt/zbox/tmp/mysql/#sql_27dc_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")原来是磁盘满了使用:df -h 查看哪个磁盘满的发现有个盘(/ops)的空间比较大,嘻嘻嘻嘻 ,我们建个软连接,蹭空间去,错误日志中可以看到...原创 2020-09-14 15:19:05 · 4536 阅读 · 1 评论 -
centos7 使用firewall报错Redirecting to /bin/systemctl restart firewall.service Failed to restart firewal
每次在centos系统中都不容易出来···········忧伤只有使用firewall命令就错Redirecting to /bin/systemctl restart firewall.service Failed to restart firewal主要 : firewall 和 iptables冲突 , 需要禁用其中一个.#停止iptables服务systemctl stop iptables#禁用iptables服务systemctl mask iptablesfirewall立原创 2020-05-13 15:56:15 · 5772 阅读 · 0 评论 -
centos7连不了网,yum命令Cannot find a valid baseurl for repo: base/7/x86_64
yum源突然用不了,安装软件一直报错Cannot find a valid baseurl for repo: base/7/x86_64,网上找了好多方法,总结下:可是并没有什么用·························两天就在改改改,系统都卸了(气啊,火啊······)总结原因就是:系统连不上网········是再虚拟机上装的,一直用的是桥接模式原来只要改模式就好了-----改成NAT模式1) 进入WMware虚拟机: 选中CentOS7_64虚拟机,右键后依次点击“可移动设备”-&g原创 2020-05-12 17:52:50 · 563 阅读 · 0 评论