摘要: ubuntu mysql远程连接http://blog.csdn.net/helen_shw/archive/2010/01/22/5224524.aspxkiki@kiki-desktop:/etc/apache2mysql error number 2003Can't connect to MySQL server xxx.xxx.xxx.xxx (10061)在ubuntu 9.04中默认安装了mysql,默认只能本地访问,google了一下:采用登录到MySQL服务器端,在mysql库下执行grant all on *.* to 'remote'@'17 阅读全文
posted @ 2013-03-05 14:11 jerome.rong 阅读(3988) 评论(0) 推荐(0) 编辑
摘要: var username = $("#form_username").val();$('#tt').datagrid({url:webContext+"/user/queryUserList.action",width: 'auto',height: 'auto',nowrap:false,iconCls:'icon-save',striped:true,pagination:true,rownumbers:true,pageNumber:1, pageSize:10, pageList:[ 阅读全文
posted @ 2013-03-05 11:20 jerome.rong 阅读(11976) 评论(0) 推荐(0) 编辑
摘要: Ubuntu网卡基本配置: 一、设置IP和网关 (1) 配置eth0的IP地址, 同时激活该设备 #sudoifconfigeth0 192.168.1.10 netmask 255.255.255.0 up (2) 添加默认网关 #sudo route adddefault gw 192.168.1.1 (3) 查看网卡配置 #ifconfig 如果只查看eth0的配置信息 #ifconfig eth0 二、直接编辑网卡配置文件(推荐用这个方法设置) (1)编辑文件 $ sudo vi /etc/network/interfaces # The loopback ne... 阅读全文
posted @ 2013-03-05 10:58 jerome.rong 阅读(2544) 评论(0) 推荐(0) 编辑