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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM