Posts Tagged ‘linux’

CentOS SSH常用命令

07.28.2009 by yeasiz - 2 Comments
Posted in Skills

这是我平时使用PuTTY记录下的命令,以前经常去google搜索这些基本的命令,现在记录下来就不用再东跑西跑浪费时间了。
命令包括top、yum、getconf、more、rpm、hostname、rm、cd、mv、ln、cp、find、df、wget、unzip、tar
Latest update:091023

Read the rest of this entry »

安装eAccelerator来加速你的PHP执行速度

07.26.2009 by yeasiz - 2 Comments
Posted in Skills

根据官网上对eAccelerator的描述:

eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.

我们可以理解为:
eAccelerator是一个自由开放源码php加速器,优化和动态内容缓存,提高了性能php脚本的缓存性能,使得PHP脚本在编译的状态下,对 服务器的开销几乎完全消除。 它还有对脚本起优化作用,以加快其执行效率。使您的PHP程序代码执效率能提高1-10倍

Read the rest of this entry »

Linux系统中查找文件的方法

07.25.2009 by yeasiz - 1 Comment
Posted in Skills

-name 必须用到的选项。表明要求系统按照文件名查找.

一般格式:find /(dirname) -name filename

具体文件名查找法:

如果知道了某个文件的文件名,而不知道这个文件放到哪个文件夹,甚至是层层套嵌的文件夹里。举例说明,假设你忘记了httpd.conf这个文件在系统的哪个目录下,甚至在系统的某个地方也不知道,则这是可以使用如下命令:

find / -name httpd.conf

Read the rest of this entry »