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

根据官网上对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倍

继续阅读安装eAccelerator来加速你的PHP执行速度

Linux系统中查找文件的方法

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

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

具体文件名查找法:

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

find / -name httpd.conf

继续阅读Linux系统中查找文件的方法

College students should pay for all their tuition fees

This composition was written for IELTS Writing Task2 by Zhipeng Cai.Please give me a feedback if  it is helpful.(Yeasiz [at] gmail dot com)
Some people say college students should pay for all their tuition fees.To what extent do you agree or disagree?

Some people think that college students should be responsible for the full tuition of college students.They hold the view that college students will become flowers for our country contribution.This argument is true to some degree.For my part,I absolutely agree with the former point of view.This view is based on the propensity of following points.

The first and important reason is that university camps doest’t just like society system.You have became adult while you past the first step into university.You are no longer covered by your parents or your teachers.There are nobody will care about you and you must learn that how you could survive in the society.Before that,you have to make some money by you own so that you can make much responsible contribution to the society.

继续阅读College students should pay for all their tuition fees

DirectAdmin控制面板中文语言包安装+下载

首先下载 DirectAdmin 面板中文语言包到你的电脑上

[download id=”24″]

解压到你喜欢放的地方,例如 d:\cn

一、上传中文语言文件

使用 putty 中的 psftp 工具上传 cn 文件夹到

usr/local/directadmin/data/skins/enhanced/lang

具体命令如下:

open 127.0.0.1

连接服务器,请将127.0.0.1改为你的服务器或VPS地址

root

password

分别输入 root 账号与密码

继续阅读DirectAdmin控制面板中文语言包安装+下载