String filePath="src/cn/ac/iscas/pebble/ufe/conf/id.properties"; InputStream in = new BufferedInputStream(new FileInputStream(f...
分类:
编程语言 时间:
2014-06-27 16:00:15
阅读次数:
228
用户自定义配置文件userconfiguration.propertiesMyKey = 1Spring Bean 配制 classpath:conf/userconfiguration.properties --> util.configuration类的实...
分类:
编程语言 时间:
2014-06-27 13:33:59
阅读次数:
209
package com.leaf.hadoop.second;
import java.util.Random;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hado...
分类:
其他好文 时间:
2014-06-27 10:00:17
阅读次数:
294
转载请注明出处:http://www.openext.org/2014/06/lxc-erro1#tar zxvf lxc-xxx.tar#./autogen#./configure –prefix=/usr/local/lxc#make#make install#lxc-lsthe error:#echo “/usr/local/lxc/lib” >> /etc/ld.so.conf#ldcon...
分类:
其他好文 时间:
2014-06-27 08:36:38
阅读次数:
156
启用.htaccess,需要修改httpd.conf,启用AllowOverride,并可以用AllowOverride限制特定命令的使用笼统地来说,.htaccess可以帮我们实现包括:文件夹密码保护、用户自动重定向、自定义错误页面、改变你的文件扩展名、封禁特定IP地址的用户、只允许特定IP地址的...
分类:
数据库 时间:
2014-06-26 21:47:47
阅读次数:
287
1、打开终端2、sudo gedit /etc/wpa_supplicant/wpa_supplicant.conf(回车之后会弹出一个编辑页面,在里面打入第三步里面的配置文件)3、配置文件如下:ctrl_interface=/var/run/wpa_supplicantap_scan=0netwo...
分类:
其他好文 时间:
2014-06-26 13:03:52
阅读次数:
194
6 Python和Nginx
6.1 介绍FastCGI
FastCGI(Fast Common Gateway Interface)是基于CGI上的改进,是CGI的一种演变产物。尽管目的是保持相同的,FastCGI在CGI上提供了重大的提升,通过建立起下面的原则。
l 代替对于每个请求孵化一个新进程,FastCGI采用持久化进程,伴随着能够处理多个请求的能力。...
分类:
编程语言 时间:
2014-06-26 12:06:54
阅读次数:
242
# Sample ``local.conf`` for user-configurable variables in ``stack.sh``
# NOTE: Copy this file to the root ``devstack`` directory for it to
# work properly.
# ``local.conf`` is a user-maintained set...
分类:
其他好文 时间:
2014-06-26 11:41:09
阅读次数:
272
linux的启动配置文件GRUB启动时会在/boot/grub中寻找一个名字为grub.conf的配置文件,如果找不到此配置文件则不进入菜单模式而直接进入命令行模式。grub.conf是一个纯文字文件,您可以用任何一个文字编辑器来打开它。在SuSE LINUX 下没有/boot/grub/g...
分类:
其他好文 时间:
2014-06-26 00:57:00
阅读次数:
247
在 conf/Catalina/localhost/ 下添加 xml配置文件,文件名和站点名一致。配置文件示例 把站点文件夹放到根目录下
分类:
其他好文 时间:
2014-06-25 12:17:00
阅读次数:
193