• linux 安装软件各种错误集锦及解决方法


    1.最小化安装了centos, 但是使用ifconfig命令时候出现”bash ifconfig command not found” .
    解决方法:yum -y install net-tools.x86_64

    2. bash: getenforce: command not found

    解决方法: yum -y install libselinux-utils  

    3.bash: pip: command not found... 

    解决方法:

     
    wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate

    tar -axf pip-1.5.4.tar.gz

    cd pip-1.5.4/

    python setup.py install

    4.关闭Selinux

    setenforce 0

    sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/selinux/config

    reboot

    5.bash: diag: command not found

    yum install bind-utils

  • 相关阅读:
    P1071 潜伏者
    P2199 最后的迷宫
    推荐
    T150191 求和
    T150189 养猪
    P1106 删数问题
    NOIP 2018 提高组初赛试题胡谈
    结题报告
    博客迁移公告
    简单实用算法——用队列实现栈
  • 原文地址:https://www.cnblogs.com/EikiXu/p/9411338.html
Copyright © 2020-2023  润新知