06 2014 档案

摘要:Mysql默认关闭远程登录权限,如下操作允许用户在任意地点登录: 1. 进入mysql,GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '' WITH GRANT OPTION; IDENTIFIED BY后跟的是密码,可设为空。 ... 阅读全文
posted @ 2014-06-30 17:19 Seaurl 阅读(398) 评论(0) 推荐(0) 编辑
摘要:http://blog.163.com/guotao_163/blog/static/2368282201010422031307/ 阅读全文
posted @ 2014-06-27 16:31 Seaurl 阅读(157) 评论(0) 推荐(0) 编辑
摘要:在阿里云花了100买了一台云服务器,配置如下:CPU: 1核 内存: 512MB数据盘: 0G 带宽: 1Mbps阿里云服务器安装mysql搞得我想吐血,搞了一个多星期,现在才搞好,而且,还有许多问号存在我的脑海里。。。。说说我在阿里云服务器上安装mysql的心路历程吧,刚开始安装好java8和to... 阅读全文
posted @ 2014-06-27 16:22 Seaurl 阅读(12092) 评论(35) 推荐(0) 编辑
摘要:var bt = new byte[] { 0x03, 0x00, 0x01, 0xD9, 0x23 }; var result = new byte[] { 0x01, 0x00, 0x03, 0x00, 0xFC }; var tmp = ... 阅读全文
posted @ 2014-06-27 14:28 Seaurl 阅读(184) 评论(0) 推荐(0) 编辑
摘要:/// /// 数组比较是否相等 /// /// 数组1 /// 数组2 /// true:相等,false:不相等 public bool CompareArray(byte[] bt1, byte[] b... 阅读全文
posted @ 2014-06-27 14:24 Seaurl 阅读(10252) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/xiongpq/p/3384681.html 阅读全文
posted @ 2014-06-26 15:31 Seaurl 阅读(132) 评论(0) 推荐(0) 编辑
摘要:一、卸载原来的mysql: 卸载一: 输入: #rpm -qa | grep -i mysql 显示: mysql-libs-5.1.52-1.el6_0.1.i686 卸载方法: yum -y remove mysql-libs-5.1.52-1.el6_0.... 阅读全文
posted @ 2014-06-26 15:03 Seaurl 阅读(243) 评论(0) 推荐(0) 编辑
摘要:一、df 命令; df 是来自于coreutils 软件包,系统安装时,就自带的;我们通过这个命令可以查看磁盘的使用情况以及文件系统被挂载的位置; 举例: [root@localhost beinan]# df -lh Filesystem 容量 已用 可用 已用% 挂载点 /d... 阅读全文
posted @ 2014-06-26 15:00 Seaurl 阅读(997) 评论(0) 推荐(0) 编辑
摘要:private void button1_Click(object sender, RoutedEventArgs e) { int[] copy1 = { 1, 2, 3, 4 }; int[] copy2 = { 5, 6, 7, 8 }; ... 阅读全文
posted @ 2014-06-26 14:58 Seaurl 阅读(7946) 评论(0) 推荐(3) 编辑
摘要:update dbo.EquipmentAttribute set AttributeName=replace(AttributeName,' ','') where EquipmentID=83 and id =1308 阅读全文
posted @ 2014-06-23 14:31 Seaurl 阅读(182) 评论(0) 推荐(0) 编辑
摘要:var ajaxTimeoutTest = $.ajax({ url:'', //请求的URL timeout : 1000, //超时时间设置,单位毫秒 type : 'get', //请求方式,get或post data :{}, //请求所传参数,json格式... 阅读全文
posted @ 2014-06-23 09:24 Seaurl 阅读(266) 评论(0) 推荐(0) 编辑
摘要:现在很多的公司的网站都是用tomcat作为应用服务区的,可是对于初学者,8080端口号是如何去掉的,这些网站是如何和域名绑定到一起的呢?一个tomcat是如何绑定多域名?并且这些域名是如何对应不同的项目呢?而且我的服务器没放在机房,放在我的本地,我应该如何把我的服务器给映射到外网?这一系列的问题,今... 阅读全文
posted @ 2014-06-20 17:28 Seaurl 阅读(320) 评论(0) 推荐(0) 编辑
摘要:直接贴代码吧 public class PmsService { /// /// pms接口 /// /// 接口传递数据类 /// public string InvokeService(InvokeBaseDa... 阅读全文
posted @ 2014-06-20 09:37 Seaurl 阅读(207) 评论(0) 推荐(0) 编辑
摘要:SSH 为 struts+spring+hibernate 的一个集成框架,是目前较流行的一种JAVA Web应用程序开源框架。 Struts Struts是一个基于Sun J2EE平台的MVC框架,主要是采用Servlet和JSP技术来实现的。由于Struts能充分满足应用开发的需求,简单... 阅读全文
posted @ 2014-06-19 08:45 Seaurl 阅读(379) 评论(0) 推荐(0) 编辑
摘要:我的第一个Nodejs程序:Hello World var http = require("http");http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/... 阅读全文
posted @ 2014-06-17 10:49 Seaurl 阅读(305) 评论(0) 推荐(0) 编辑
摘要:参考地址:http://dengqsintyt.iteye.com/blog/1991930 阅读全文
posted @ 2014-06-13 16:58 Seaurl 阅读(158) 评论(0) 推荐(0) 编辑
摘要:1、查看系统是否安装了MySQL 使用命令: #rpm -qa | grep mysql 2、卸载已安装的MySQL 卸载mysql命令如下: #rpm -e --nodeps mysql-libs-5.1.61-4... 阅读全文
posted @ 2014-06-13 16:38 Seaurl 阅读(284) 评论(0) 推荐(0) 编辑
摘要:把下载的apache-tomcat-7.0.19.tar.gz文件上传到服务器的根目录 #tar zxvf apache-tomcat-7.0.19.tar.gz #mv apache-tomcat-7.0.19 apache-tomcat #vim /etc/profile... 阅读全文
posted @ 2014-06-13 09:18 Seaurl 阅读(210) 评论(0) 推荐(0) 编辑
摘要:安装说明 系统环境:centos-6.5 软件:jdk-7-linux-x64.rpm , jdk-8u5-linux-i586.tar.gz 下载地址:http://www.oracle.com/technetwork/java/javase/downloads/java-se-jd... 阅读全文
posted @ 2014-06-13 08:57 Seaurl 阅读(519) 评论(0) 推荐(0) 编辑
摘要:很多人都可能和我一样,运行在虚拟机上,开发时在windows上进行。 在linux上运行tomcat,并且windows中能ping通虚拟机,但就不能通过虚拟机ip访问到8080端口上的tomcat,真是太扯淡了,其实不然,我们大家都犯了同一个问题,安装系统时我们都把防火墙打开了,所以关掉就可以了... 阅读全文
posted @ 2014-06-12 09:18 Seaurl 阅读(682) 评论(0) 推荐(0) 编辑
摘要:进入vi的命令 vi filename :打开或新建文件,并将光标置于第一行首 vi +n filename :打开文件,并将光标置于第n行首 vi + filename :打开文件,并将光标置于最后一行首 vi +/pattern filename:打开文件,并将光标置于第一... 阅读全文
posted @ 2014-06-06 09:55 Seaurl 阅读(156) 评论(0) 推荐(0) 编辑
摘要:就如本题,当我usb口外接了Com设备时候,再插入U盘会出现识别不了的问题。 解决方法非常的简单,只要拨出这个com设备的usb就可以使用U盘了^_^ 阅读全文
posted @ 2014-06-06 08:55 Seaurl 阅读(306) 评论(0) 推荐(0) 编辑