摘要: 使用yum 返回如下错误信息解决方法:mv /var/run/yum.pid /var/run/yum.pid.back来强行解除锁定,然后你的yum就可以运行了 阅读全文
posted @ 2013-06-12 18:45 Tang Ru Cheng 阅读(185) 评论(0) 推荐(0)
摘要: 网络设置(临时设置[测试]、永久设置[生产线]) 1)主机名修改 临时设置 hostname tangrucheng 永久设置 vi /etc/sysconfig/network HOSTNAME=tangrucheng vi /etc/hosts 192.168.0.117 tangrucheng 2)主机ip 临时设置 ifconfig eth0 192.168.0.117 永久设置 vi /etc/sysconfig/network-scripts/ifcfg-eth0 IPADDR=192.168.36.117 NETMASK=255... 阅读全文
posted @ 2013-06-12 18:08 Tang Ru Cheng 阅读(390) 评论(0) 推荐(0)
摘要: 问题展示:驱动安装好了,ifconfig 可以看到4个网口(eth0-eth3),进入setup模式配置eht0口ip后,Service network restart时报错,4个网口均提示 the device is not active 。ifup 和ifdwon命令也是如此。重启服务器也不行,地址似乎是没有配置上去。重启网络服务 service network restart报如下错误:shutting down interface eth0: error:device "eth0" (/org/freedsktop/networkMaager/Device/o)di 阅读全文
posted @ 2013-06-12 17:48 Tang Ru Cheng 阅读(4883) 评论(1) 推荐(1)
摘要: 今天测试支付宝接口时需要开启php的curl扩展,我用的是WAMPSERVER2.2集成坏境,php版本为5.4.3,电脑系统为64位win7,发现curl无法正常被开启,在http://stackoverflow.com/questions/10939248/php-curl-not-working-wamp-on-windows-7-64-bit 中我找到了答案 解决方法就是下载一个和你php版本及系统版本对应的curl扩展覆盖重新启动wampserver就好了。curl扩展下载:php_curl-5.4.3-VC9-x64.zipphp_curl-5.3.13-VC9-x64.zip 阅读全文
posted @ 2013-01-25 16:25 Tang Ru Cheng 阅读(482) 评论(0) 推荐(0)