二、SolrJ的使用 SolrJ覆盖了solr的全部功能,下面将自己在实际开发中所使用的程序粘贴出来并适当加以解释,由于本人比较菜,代码书写不是那么的精练,还请见谅。1、 创建solrserver对象:try { solr = new CommonsHttpSolrServer("http://lo...
分类:
其他好文 时间:
2014-08-28 12:49:59
阅读次数:
260
Ubuntu配置双IPsudo vim/etc/network/interfaces 打开IP配置文件 1 auto lo 2 iface lo inet loopback 3 auto eth0 4 iface eth0 inet static 5 #pre-up ifconfig eth0 hw...
分类:
其他好文 时间:
2014-08-26 14:58:16
阅读次数:
253
wgethttp://dxdown3.onlinedown.net/down/rsync-3.0.9.tar.zipgunziprsync-3.0.9.tar.ziptar-zxvfrsync-3.0.9.tar.gzcdrsync-3.0.9.tar.gz./configure--prefix=/usr/local/rsync309make&&makeinstall服务端:vim/etc/rsyncd.confstrictmodes=yeport=873logfile=/var/lo..
分类:
其他好文 时间:
2014-08-26 11:57:36
阅读次数:
162
1 下载对应版本http://php.net/get/php-5.5.15.tar.gz/from/a/mirror2 rz命令获取下载的数据包(如果没有安装,则yum install lrzsz安装下) 然后上传软件3 tar -zxvf php-5.5.15.tar.gz4 cd /usr/lo...
分类:
Web程序 时间:
2014-08-25 16:19:04
阅读次数:
271
insert into reg_user (id,name,password,area_code,reg_time,first_pswd,record_type)
select l.reg_user_id,l.entry_person,'4QrcOUm6Wau+VuBX8g+IPg==',l.area_code,sysdate,'123456',l.type
from lo...
分类:
数据库 时间:
2014-08-25 13:27:04
阅读次数:
248
ti8168 原始文件系统进去后没有网络eth0接口,为了有该接口需要配置/etc/network/interfaces 文件
具体配置如下(红色要配置)
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
ifac...
分类:
其他好文 时间:
2014-08-25 11:50:04
阅读次数:
249
有一个项目使用了sql server2012版本的数据库,一开始可能没有注意到日志文件,使得日志文件越来越大,当使用sql2008的收缩文件的方法进行操作时,问题出现了。DUMP TRANSACTION BigData WITH NO_LOGBACKUP LOG BigData WITH NO_LO...
分类:
数据库 时间:
2014-08-24 20:41:53
阅读次数:
313
为锐捷配置网络ip,以及DNS1.配置IP网关:sudo gedit /etc/network/interfaces静态IP修改配置文件如下改成自己的参数():auto loiface lo inet loopbackauto eth0iface eth0 inet static#pre-up if...
分类:
其他好文 时间:
2014-08-23 17:36:31
阅读次数:
419
问题1:ifconfig 只看到了lo未看到eth0ifconfig命令查看网络设置,只看到了lo,并未看到eth0说明网卡设置出现了问题。尝试使用ifconfig eth0,提示找不到device设备。通过lspci查看网卡设备,发现了Ethernet controller网卡设备。该问题为:网卡...
分类:
其他好文 时间:
2014-08-22 14:14:48
阅读次数:
319
[cpp]
#include
#include
#include
#include
#include
#include
#include
#define MAX_PATH_LENGTH 512
#define MAX_FILE_EXTENSION 9
unsigned long visit_dirs = 0;
unsigned lo...
分类:
数据库 时间:
2014-08-20 09:20:06
阅读次数:
208