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 |