摘要: 一、linux下的配置文件与操作1. /etc/hosts在linux或者说各种类unix系统甚至是Windows系统下他的用法都基本一致。即用来配置局域网中不同的机器名称和 IP 地址。有一种说法是早期的互联网中计算机数量很少,一个hosts文件足够配置所有的计算机。随着互联网的发展单机配置文件的... 阅读全文
posted @ 2015-10-13 15:06 ruobent 阅读(1930) 评论(0) 推荐(0) 编辑
摘要: # debug# CFLAGS = -g -w -c# releaseCFLAGS = -O -w -cCC = xlC_rCOMPILE = $(CC) $(CFLAGS)OBJECTS = myapp.o socket.o mylog.oTARGET = myappall: $(TARGET)$(TARGET): $(OBJECTS)$(CC) -o $@ $(OBJECTS)myapp.o: myapp.c socket.h mylog.h$(COMPILE) $<socket.o: socket.c socket.h mylog.h$(COMPILE) $<mylog.o: 阅读全文
posted @ 2011-05-18 14:40 ruobent 阅读(93) 评论(0) 推荐(0) 编辑
摘要: MySQL5 绿色版安装教程内容提要:mysql-noinstall-5.0.67-win32.zip的安装教程一、下载,这里使用绿色解压缩版http://mysql.west.mirrors.airband.net/Downloads/MySQL-5.0/mysql-noinstall-5.0.67-win32.zip二、配置MySQL5的参数1、解压缩绿色版软件到D:\mysql-5.0.67-win322、修改D:\mysql-5.0.67-win32\my-small.ini文件内容,添加红色内容 [client]#password= your_passwordport= 3306so 阅读全文
posted @ 2011-03-23 23:58 ruobent 阅读(218) 评论(0) 推荐(0) 编辑
摘要: MySQL(http://www.mysql.com)mm.mysql-2.0.2-bin.jar Class.forName( "org.gjt.mm.mysql.Driver" ); cn = DriverManager.getConnection( "jdbc:mysql://MyDbComputerNameOrIP:3306/myDatabaseName", sUsr, sPwd ); 2. PostgreSQL(http://www.de.postgresql.org)pgjdbc2.jar Class.forName( "org.p 阅读全文
posted @ 2011-03-15 18:31 ruobent 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 中午蛋疼,再做一遍华为面试题,顺便立帖严重BS下面试那天自己写的作答! 很简单的代码,没有注释。 <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.Code 阅读全文
posted @ 2010-03-25 13:43 ruobent 阅读(233) 评论(0) 推荐(2) 编辑