Linux 安装 python 及其他
>>配置网络 TYPE=Ethernet #网卡类型 DEVICE=eth0 #网卡接口名称 ONBOOT=yes #系统启动时是否自动加载 BOOTPROTO=static #启用地址协议 --static:静态协议 --bootp协议 --dhcp协议 IPADDR=192.168.1.11 #网卡IP地址 NETMASK=255.255.255.0 #网卡网络地址 GATEWAY=192.168.1.1 #网卡网关地址 DNS1=10.203.104.41 #网卡DNS地址 HWADDR=00:0C:29:13:5D:74 #网卡设备MAC地址 BROADCAST=192.168.1.255 #网卡广播地址 /etc/init.d/network reload --启动; ifup,ifdown;service network xxx; netstat -r //查看路由网关等信息; >>yum--本地源--so mount -o loop /dev/cdrom /media/CentOS baseurl=file:///media/CentOS/ >>安装vim,gcc,gcc-c++, --出现以下错误, Python build finished, but the necessary bits to build these modules were not found