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

相关文章:

  • 2022-01-31
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2021-12-31
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-05
相关资源
相似解决方案