这是我平时使用PuTTY记录下的命令,以前经常去google搜索这些基本的命令,现在记录下来就不用再东跑西跑浪费时间了。
命令包括top、yum、getconf、more、rpm、hostname、rm、cd、mv、ln、cp、find、df、wget、unzip、tar
Latest update:091023
Posts tagged with linux
根据官网上对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倍。
-name 必须用到的选项。表明要求系统按照文件名查找.
一般格式:find /(dirname) -name filename
具体文件名查找法:
如果知道了某个文件的文件名,而不知道这个文件放到哪个文件夹,甚至是层层套嵌的文件夹里。举例说明,假设你忘记了httpd.conf这个文件在系统的哪个目录下,甚至在系统的某个地方也不知道,则这是可以使用如下命令:
find / -name httpd.conf
首先下载 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 账号与密码