ifconfig
yum install net-tools
我当时忘记截图了,不过中间会出来一个 y/n ,输入y即可
lsof
yum install lsof
没截图,就输入就可以了。(查看端口号)
netstat
yum install net-tools
git
yum install -y git
报错,需要先安装:EPEL(Extra Packages for Enterprise Linux) repository
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm