[Linux运维]centos安装wget及配置

  • A+
yum -y install wget
yum install perl

Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
如果出现这个就表明gcc没有安装

yum install gcc make

将gcc和make一起装好
Searching for a valid kernel header path...
The path "" is not valid.
Would you like to change it? [yes]
如果出现这个就表示kernel-devel包没有安装

yum install kernel-devel

安装后如果还没有搜索到kernel-header, 尝试重起后, 再运行一次
vmware-install.pl

yum install perl

防火墙相关命令

/etc/init.d/iptables stop //关闭防火墙
/etc/init.d/iptables status //启动防火墙
chkconfig iptables off //永久关闭防火墙

文章转载自《centos安装wget

下载服务恢复

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: