在VMX文件中添加mainMem.useNamedFile = “False”参数语句即可,使用这个参数可以降低磁盘的I/O频率,因为此时性能的瓶颈不是内存,而是磁盘的读写。 http://blog.itpub.net/post/40512/491424

VirtualBox是一款非常帮的开源虚拟机软件,体积很小,运行很快。我在Linux下使用该软件,虚拟windowsxp。但使用一段时间后,尤其是在客户机中使用大量临时文件后,文件虽然被删除了,但是虚拟机磁盘vdi文件的大小...

参考:VirtualBox to VMware http://www.ndfnet.tw/wp/?p=2152 http://www.linuxsir.org/bbs/thread311657.html http://www.osslab.org.tw/index.php?title=Virtualization/Virtual_Disk_Image&revision=4 V...

VMware 提示 VMware Workstation Error: Could not open /dev/vmmon: No such device. Please make sure that the kernel module `vmmon’ is loaded. Press “Enter” to continue… 一 . 请确认你的vmmon模块已...

方案1: 使用root用户创建一个/usr/bin/ssh_cvs文件,假设远程服务器的SSH端口是非缺省端口:34567 #!/bin/sh /usr/bin/ssh -p 34567 “$@” 然后:chmod +x /usr/bin/ssh_cvs 并CVS_RSH=ssh_cvs; export CVS_RSH...

报错信息1: Starting httpd: [Fri May 19 11:49:42 2006] [warn] VirtualHost 127.0.0.1:80 overl aps with VirtualHost 127.0.0.1:80, the first has precedence, perhaps you need a NameVirtualHost directi...

Function ereg() is deprecated in.。。。。。 Change elseif ($depth >= $min_depth && ereg($mask, $file)) { to elseif ($depth >= $min_depth && mb_ereg($mask, $file)) { mb_ere...

很多朋友的php程序当php的版本升级到5.3以后,会出现”Deprecated: Assigning the return value of new by reference is deprecated in“ 显示出来。这是因为5.3以后,不能使用”=&”符号,可以直接用”=”就...

0

Linux下实现自动设置SSH代理

Posted in Linux at 十二月 2nd, 2010 / No Comments »

SSH的巨大价值体现在能够配置为代理服务器上。不像在Windows下每次还需要手动登录设置,Linux有很好的工具链能够实现自动设置SSH代理,就是expect和ssh的联合使用,再加上proxychains,任何程序都可以享用代理了,...

找到批量替换文件内容的好方法,命令结构如下: find -name ‘要查找的文件名’ | xargs perl -pi -e ‘s|被替换的字符串|替换后的字符串|g’ 下面这个例子就是将当前目录及所有子目录下的所有...