码迷,mamicode.com
首页 >  
搜索关键字:-active directory    ( 5768个结果
一个可创建读取日志的管理类(可固定创建2M大小的日志文件)
这里,将日志管理基类命名为LogManagerBase(抽象类),具体的不同类型的日志可以通过继承完成。该基类可将日志以每个2M的方式存储起来,并可以读取当前正在使用的日志的所有内容。要实现该基类,首先要了解以下几个IO类:命名空间:System.IO相关类:Directory,DirectoryI...
分类:其他好文   时间:2015-03-21 15:23:28    阅读次数:139
java中的资源路径resource path
java在操作文件的时候必然需要知道这个文件在哪里。每种文件就是一种资源,java获取资源的方式有两种: 1.通过java.io包中的类,例如File,其他类和File类似 2.通过Class或者ClassLoader 先看看File类: An abstract representation of file and directory pathnames. User interfaces...
分类:编程语言   时间:2015-03-21 09:56:53    阅读次数:459
Magento Error – The directory is not writable by server.
When trying to use the insert image functionality in Magento if you receive an error saying:“The directory is not writable by server.”Simply add a fol...
分类:其他好文   时间:2015-03-20 23:28:34    阅读次数:147
解决fatal error: sys/system_properties.h: No such file or directory compilation terminated.
编译的异常log: system/core/include/cutils/properties.h:22:35: fatal error: sys/system_properties.h: No such file or directory compilation terminated. make[1]: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/...
分类:其他好文   时间:2015-03-20 22:00:56    阅读次数:536
solr中重建索引(转)
Stop your application serverChange your schema.xml fileStart your application serverDelete the index directory in your data directory (or alternately ...
分类:其他好文   时间:2015-03-20 18:21:29    阅读次数:226
IIS7中的站点、应用程序和虚拟目录详细介绍 (转)
这里说的不是如何解决路径重写或者如何配置的问题,而是阐述一下站点(site),应用程序(application)和虚拟目录 (virtual directory)概念与作用,已及这三个东西在IIS6与IIS7中的异同。因为站点,应用程序和虚拟目录是我们在IIS上架设网站时肯定会遇到的, 但它们的概....
分类:其他好文   时间:2015-03-20 01:17:46    阅读次数:196
后端tomcat日志获取真实的IP,不是nginx 服务器的IP
首先1、修改nginx的配置文件在nginx.conf中添加proxy_set_headerX-Forwarded-For$proxy_add_x_forwarded_for;proxy_set_headerX-Real-IP$remote_addr;2、修改tomcat的配置文件在server.xml中修改<ValveclassName="org.apache.catalina.valves.AccessLogValve"directory="log..
分类:其他好文   时间:2015-03-19 06:41:20    阅读次数:161
文件操作命令
1.ls列出文件信息: 文件类型: d  目录(directory) l 符号链接(link) s 套接字文件(socket) b 块设备文件(block device file) c 字符设备文件(character) p 命名管道文件(named pipe ,FIFO) - 普通文件 创建文件命令:touch filename 改变文件权限:chmod [who...
分类:其他好文   时间:2015-03-18 23:28:29    阅读次数:457
ssh无密码登陆 Authentication refused: bad ownership or modes for directory /root
利用脚本自动建立ssh无密码登陆,系统版本为centos6.5tailf/var/log/secureMar1815:35:05a2sshd[6521]:Authenticationrefused:badownershipormodesfordirectory/rootMar1815:35:05a2sshd[6521]:Authenticationrefused:badownershipormodesfordirectory/root解决方法:chmod0750..
分类:其他好文   时间:2015-03-18 18:23:37    阅读次数:137
Xamarin Error cannot find ‘aapt.exe’
Problem: solution: A workaround is to copy your files to the old directory. Just copy the aapt.exe file from %android_sdk%\build-tools\17.0.0 to%andro...
分类:其他好文   时间:2015-03-18 13:54:11    阅读次数:130
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!