Archive for August, 2012

Magento的运行环境最低需求配置

Tuesday, August 7th, 2012

Linux, Windows, 或其他 UNIX兼容操作系统 (不推荐在正式商用环境中使用windows)
Apache Web Server (1.x or 2.x),Nginx,litespeed
PHP 5.2.0 以上, 并且包含下列扩展(Extensions/Addons):
PDO/MySQL
MySQLi
mcrypt
mhash
simplexml
DOM
curl
gd
soap
MySQL 4.1.20 或更新版本
Sendmail兼容的 Mail Transfer Agent (MTA)
如果没有MTA,Magento将直接连接一个 SMTP server
下面为检测文件
http://www.magentochina.org/magento-check.zip

Disk Space Usage里面Others Folder占用异常检查

Thursday, August 2nd, 2012

This usage could be anywhere on the system outside of the user’s home directory. I suggest running the following commands to obtain the location of all files owned by this user:

Code:

# id username
# find / -uid UIDNUMBER > /root/username.output

Replace the first command with the actual username of the account. This will output the account’s UID. You can then replace “UIDNUMBER” in the second command with the actual UID of the account. The results will be output to /root/username.output which you can view after the command finishes.

查找属于用户的文件
find /home -user username
find / -user username