最新文章

Liunx下查看服务器性能

Jesse Lee 发表于 2009年01月07日 14时27分, 查看: 170

uptime命令
#uptime
00:59:34 up 20 days, 14:00, 2 user, load average: 0.55, 0.57, 0.84
上面命令显示示最近1 分钟内系统的平均负载是0.55,在最近5分钟内系统的平均负载是0.57,在最近的15 分钟内系统的平均负载是0.84。一共两个用户。

cat /proc/loadavg 命令
#cat /proc/loadavg
1.54 1.03 0.94 1/285 28156
返回数据的含义是:
1秒钟平均负载;5秒钟平均负载;15秒钟平均负载;总作业数;正在运行的作业总数。 阅读全文 »

CentOS 下 ftp 的配置介绍

Jesse Lee 发表于 2009年01月04日 05时19分, 查看: 3,512

首先,安装的时候要勾选ftp服务,centos会帮你装上vsftpd这个ftp服务器并把它标为系统服务。
启动命令:/etc/rc.d/init.d/vsftpd start
这时候可以使用ftp客户端连接。
vsftpd的权限貌似和系统权限有挂钩。

下面是抄来的配置解释vsftpd的配置
vsftpd.ftpusers:位于/etc目录下。它指定了哪些用户账户不能访问FTP服务器,例如root等。
vsftpd.user_list:位于/etc目录下。该文件里的用户账户在默认情况下也不能访问FTP服务器,仅当vsftpd .conf配置文件里启用userlist_enable=NO选项时才允许访问。
vsftpd.conf:位于/etc/vsftpd目录下。来自定义用户登录控制、用户权限控制、超时设置、服务器功能选项、服务器性能选项、服务器响应消息等FTP服务器的配置。 阅读全文 »

eAccelerator 安装笔记

Jesse Lee 发表于 2009年01月04日 03时53分, 查看: 363

eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It typically reduces server load and increases the speed of your PHP code by 1-10 times.

使用 SSH:
yum install php-devel
yum groupinstall ‘Development Tools’ 阅读全文 »

Apache 安装笔记

Jesse Lee 发表于 2009年01月04日 00时03分, 查看: 211

Apache Installation

If Apache is not currently installed, it is a simple process to install it using yum.

Check Apache Install
阅读全文 »

YUM 常用命令介绍

Jesse Lee 发表于 2009年01月03日 18时14分, 查看: 885

1.列出所有可更新的软件清单
命令:yum check-update

2.安装所有更新软件
命令:yum update 阅读全文 »

yum 命令详解

Jesse Lee 发表于 2009年01月03日 18时13分, 查看: 285

yum 是什么?

(说句实话,我到现在都不知道该怎么念这个词,偷偷告诉你,我念”(晕)yun”)
yum = Yellow dog Updater, Modified。主要功能是更方便的添加/删除/更新RPM包,它能自动解决包的倚赖性问题,它能便于管理大量系统的更新问题,那为什么使用yum而不用apt呢?最简单的原因:Fedora自带的!

yum特点

  • 可以同时配置多个资源库(Repository)
  • 简洁的配置文件(/etc/yum.conf)
  • 自动解决增加或删除rpm包时遇到的倚赖性问题
  • 使用方便
  • 保持与RPM数据库的一致性

yum安装,哈哈,Fedora自带哦!

#rpm -ivh yum-2.0.4-2.noarch.rpm 阅读全文 »

PHP 编译笔记

Jesse Lee 发表于 2009年01月03日 18时08分, 查看: 599

1. theplanet WHM 编译笔记。php version 5.2.5

./configure --enable-bcmath --enable-calendar --enable-ftp
--enable-gd-native-ttf --enable-libxml --enable-magic-quotes
--enable-mbstring --enable-pdo=shared --enable-sockets
--prefix=/usr/local --with-apxs2=/usr/local/apache/bin/apxs
--with-curl=/opt/curlssl/ --with-freetype-dir=/usr --with-gd
--with-gettext --with-imap=/opt/php_with_imap_client/
--with-imap-ssl=/usr --with-jpeg-dir=/usr --with-kerberos
--with-libexpat-dir=/usr --with-libxml-dir=/opt/xml2/
--with-mcrypt=/opt/libmcrypt/ --with-mhash=/opt/mhash/
--with-mime-magic --with-mysql=/usr
--with-mysql-sock=/var/lib/mysql/mysql.sock --with-openssl=/usr
--with-openssl-dir=/usr --with-pdo-sqlite=shared
--with-png-dir=/usr --with-sqlite=shared --with-ttf
--with-xmlrpc --with-xpm-dir=/usr --with-zlib
--with-zlib-dir=/usr

2. Shanghai Server 默认编译笔记。php version: 5.1.6 阅读全文 »

php教程 - 学习php之第一天

Jesse Lee 发表于 2008年12月18日 04时58分, 查看: 257

想想学习ASP已经有些日子了,但是很多项目都需要用到PHP,从今天开始,坚持学习PHP,我这里暂时是以 Apache web server 和 access作为WEB服务器和数据库,在php-5.2.5.5下的环境做的程序。

下面开始学习简单PHP的语法。 阅读全文 »

AV 女优中英文名字对照表

Jesse Lee 发表于 2008年12月13日 08时58分, 查看: 1,126

ave7a997e88ab1e58699e79c9fe59bbee78987-honoka-photo-32Ai Fukai 深井蓝
Ai Hiyoshi 日吉亚衣
Ai Iijima 饭岛爱
Ai Kanou 叶Ai
Ai Kawai 河井爱
Ai Kikuchi 菊池蓝
Ai Kurosawa 黑泽爱

Ai Mita 三田爱
Ai Mizuno 水野爱
Ai Nagase 长濑爱
Ai Nanase 奈奈濑爱
Ai Nonohara 野乃原爱
Ai Shinjoh 新庄爱
Ai Tamari 田丸爱
Aiai Sakura 樱爱爱
Aika Miura 三浦爱佳
Aika Shimizu 清水爱佳
Aika Yukino 雪野爱佳 阅读全文 »

Google公布2008年度关键词排行榜

Jesse Lee 发表于 2008年12月12日 09时03分, 查看: 155

岁末将至,今天Google公布了2008年度搜索关键词排行榜,热衷于SEO的朋友可以关注一下。

全球上升最快:

  1. sarah palin
  2. beijing 2008
  3. facebook login
  4. tuenti
  5. heath ledger
  6. obama
  7. nasza klasa
  8. wer kennt wen
  9. euro 2008
  10. jonas brothers

北京2008一下跃居排行榜第二位,可见奥林匹克的魅力!另外,美国大选也成为2008年度全球最热门的大事件! 阅读全文 »