Linux kernel 自 2.6.28 开始正式支持新的文件系统 Ext4。 Ext4 是
Ext3 的改进版,修改了 Ext3 中部分重要的数据结构,而不仅仅像 Ext3 对 Ext2 那样,只是增加了一个日志功能而已。Ext4
可以提供更佳的性能和可靠性,还有更为丰富的功能:1. 与 Ext...
分类:
其他好文 时间:
2014-05-17 02:20:48
阅读次数:
223
为服务器生成证书“运行”控制台,进入%JAVA_HOME%/bin目录,使用如下命令进入目录:cd “c:\Program
Files\Java\jdk1.6.0_11\bin”
使用keytool为Tomcat生成证书,假定目标机器的域名是“localhost”,keystore文件存放在“D:\...
分类:
其他好文 时间:
2014-05-17 01:11:14
阅读次数:
273
Image帮助类的output方法中,在下面的代码header("Content-type:
image/" . $type);前增加代码:ob_end_clean();
分类:
Web程序 时间:
2014-05-16 07:01:32
阅读次数:
308
环境:物理机,ubuntu12.04设备:mini2440开发板,USB转串口线一根,网线一根目标:物理主机开启nfs服务,在mini2440中能够成功挂载主机的共享目录一.安装并配置nfs服务1.使用命令安装: sudoapt-get
install nfs-kernel-server2. 使用命...
分类:
其他好文 时间:
2014-05-15 16:11:34
阅读次数:
431
imagecreatetruecolor(宽,高);
图片宽高imagecolorallocate(图片,红,绿,蓝)
调用(三原色)生成颜色的方法,是生成背景颜色imagestring(图片,字体大小,字所在的x轴,字所在的y轴,要显示的验证码,字体颜色)header
要把...
分类:
Web程序 时间:
2014-05-15 15:59:13
阅读次数:
432
/proc/sys/vm/drop_caches(since Linux 2.6.16)Writing
to this file causes the kernel to drop clean caches,dentries and inodes from
memory, causing that ...
分类:
系统相关 时间:
2014-05-14 08:54:16
阅读次数:
331
方法一:文件里写:方法二:选择window –> Preferences –>
MyEclipse –> Files and Editors –>
JSP中选择你要设置的Encoding根本行不通啊,没有encoding这一项啊,在style里面又不能改,哪位用过myeclise8.5的帮个忙---...
分类:
Web程序 时间:
2014-05-14 07:43:34
阅读次数:
539
NAME cat - concatenate files and print on the
standard output SYNOPSIS cat [OPTION]... [FILE]...DESCRIPTION Concatenate
FILE(s), ...
分类:
系统相关 时间:
2014-05-14 07:34:14
阅读次数:
398
<?php
if(isset($_GET[‘type‘])&&$_GET[‘type‘]=="send"){
if($_FILES[‘userfile‘][‘error‘]==0){
/*echo‘FileName:‘.$_FILES[‘userfile‘][‘name‘].‘<br>‘;
echo‘FileType:‘.$_FILES[‘userfile‘][‘type‘].‘<br>‘;
echo‘FileSize:‘.$_FILES[‘userfile‘][..
分类:
Web程序 时间:
2014-05-13 13:18:26
阅读次数:
301
在线gen更新各种依赖包yum-yinstallmakeglibclibaiocompat-libstdc++-33compat-gcc-34compat-gcc-34-c++gcclibXpopenmotifcompat-db1.配置/etc/sysctl.conf
/sbin/sysctl-p
kernel.shmall=2097152
kernel.shmmax=2147483648
kernel.shmmni=4096
kernel.sem=25032000100128
fs.f..
分类:
数据库 时间:
2014-05-13 12:34:13
阅读次数:
404