2011年12月15日

Can't connect to MySQL server on 'ip' (13)

摘要: I tried to connect to a remote mysql server ( 192.168.1.197 ) from a server with IP 192.168.1.193.My php connect: $host = "192.168.1.197"; $user = "root"; $pass = "rootpassword"; $database = "sample1"; #$con=@mysql_connect("$host","$user",& 阅读全文

posted @ 2011-12-15 17:03 linzuxin 阅读(172) 评论(0) 推荐(0) 编辑

让没有注册的RHEL用上yum

摘要: YUM是Redhat Linux在线安装更新及软件的工具,但是这是RHEL5的收费功能,如果没有购买Redhat的服务时不能使用RHEL5的更新源的,会提示注册。由于CentOS是从Redhat演化而来的免费Linux版本,因此可以利用CentOS的yum更新源来实现RHEL5的YUM功能。配置方法如下:检查yum是否安装,默认情况下都是安装好的,总共4各包。[root@linux-a ~]# rpm -qa |grep yumyum-metadata-parser-1.0-8.fc6yum-3.0.1-5.el5yum-rhn-plugin-0.4.3-1.el5yum-updatesd-3 阅读全文

posted @ 2011-12-15 10:41 linzuxin 阅读(219) 评论(0) 推荐(0) 编辑

导航