码迷,mamicode.com
首页 >  
搜索关键字:openfiler configuration    ( 5988个结果
C#获取本地计算机名,IP,MAC地址,硬盘ID
using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using Syste...
分类:其他好文   时间:2014-07-11 23:15:16    阅读次数:266
Vim配置文件浅析
" /etc/vimrc (configuration file for vim only)" author: Klaus Franken " author: Werner Fink " author: Florian La Roche " version: 00/01/2...
分类:其他好文   时间:2014-07-11 12:09:51    阅读次数:331
防止通过URL下载文件
网页中向用户提供了ppt文件的下载功能,前提是只有登录的用户才能下载,所以需要禁止通过URL对文件进行下载。自己定义一个文件下载类。using System;using System.Data;using System.Configuration;using System.Web;using Sys...
分类:其他好文   时间:2014-07-11 10:46:50    阅读次数:206
winform中读取App.config中数据连接字符串
1.首先要在工程引用中导入System.Configuration.dll文件的引用。2.通过System.Configuration.ConfigurationManager.ConnectionStrings["connectionstring"].ToString();就能得到App.conf...
分类:移动开发   时间:2014-07-09 16:47:36    阅读次数:157
Eclipse中设置tomcat的启动内存
现象:目前每次使用Eclipse启动Tomcat 的时候经常出现OutOfMemoryError thrown from the UncaughtExceptionHandler in thread *** 解决办法 在debug Configuration中设置Arguments 下面的VM arguments加上  -Xms512m -Xmx1024m  -XX:MaxPermSize=51...
分类:系统相关   时间:2014-07-09 10:25:02    阅读次数:234
存储管理(二):openfiler之accounts
存储管理(一):openfiler介绍及存储理解    openfiler的用户集中控制主要分为ldap和ad实现,其中openfiler本身可以作为ldap服务器,使openfiler上的所有功能都能够通过以上两类用户来进行统一控制。   1、ldap配置   此处演示把openfiler当成一个ldap服务器,如下: 勾选”Use Local LDAP Server“...
分类:其他好文   时间:2014-07-09 09:33:18    阅读次数:224
HDFS 读取、写入、遍历目录获取文件全路径
1、从HDFS中读取数据 Configuration conf = getConf(); Path path = new Path(pathstr); FileSystem fs = FileSystem.get(conf); FSDataInputStream fsin= fs.open(path ); BufferedReader br =null; Strin...
分类:其他好文   时间:2014-07-09 09:17:40    阅读次数:290
hbase java sample
通过HBaseAdmin维护表(创建,删除表)importorg.apache.hadoop.conf.Configuration; importorg.apache.hadoop.hbase.HBaseConfiguration; importorg.apache.hadoop.hbase.HColumnDescriptor; importorg.apache.hadoop.hbase.HTableDescriptor; importorg.apache.hadoop.hbase...
分类:编程语言   时间:2014-07-09 08:28:58    阅读次数:170
指定webapi 返回 json 格式 ; GlobalConfiguration.Configuration.Formatters.Clear()
因为 Internet Explorer 和 Firefox 发送了不同的 Accept 头,所以 web API 在响应里就发送了不同的内容类型。 解决方法,在 Global.asax的 Application_Start() 加入下面的代码 GlobalConfiguration.Configu...
分类:Windows程序   时间:2014-07-09 00:23:45    阅读次数:387
Redhat 7修改默认运行级别方法 --RHEL7使用systemd创建符号链接指向默认运行级别
今天装了下正式版的RHEL7,发现熟悉的inittab中没有了修改默认运行级别,打开inittab如下 [root@localhost init.d]# vi /etc/inittab # inittab is no longer used when using systemd. # # ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR...
分类:其他好文   时间:2014-07-06 08:52:26    阅读次数:199
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!