AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] amh在centos5.8 下安装有错误 |
|
---|---|
dbadrivers |
dbadrivers 发表于 2012-11-28 14:43:20
amh在centos5.8 下安装有错误,chmod +Rw,不能运行。chmod -R +rw 要分开,
点赞,加油! (0分)
2012-11-28 14:43:20 1
|
dbadrivers |
这样的配置,在打开首页的home的右侧显示特别慢。
sysinfo.png
回复
2012-11-28 14:50:36 2
|
admin |
感谢反馈,
安装没影响吧,那个目录不加rw都可以的。
回复
2012-11-28 14:51:24 3
AMH官方号 2011~2021 (10周年) |
admin |
回复
2012-11-28 14:54:39 4
|
dbadrivers |
貌似有影响。日志里面报错。之后我卸载了,修改了 chmod -R +rw 之后,安装成功。 tar -xf ams-1.0-02.tar.gz ing... [OK] ams-1.0-02 install completed. shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory ============================================================= [LNMP/Nginx] Amysql Host - AMH 2.01 http://Amysql.com [OK] Nginx stop shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory ============================================================= [LNMP/Nginx] Amysql Host - AMH 2.01 http://Amysql.com shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Shutting down MySQL.shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory ^[[60G[^[[0;32m OK ^[[0;39m]^M [OK] MySQL stop shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory ============================================================= [LNMP/Nginx] Amysql Host - AMH 2.01 http://Amysql.com shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Starting MySQL.^[[60G[^[[0;32m OK ^[[0;39m]^M [OK] MySQL start shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory ============================================================= [LNMP/Nginx] Amysql Host - AMH 2.01 http://Amysql.com ^[[H^[[Jchdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Starting pure-config.pl: Running: /usr/local/sbin/pure-ftpd --daemonize -A -c50 -B -C8 -D -E -fftp -H -I15 -lpuredb:/etc/pureftpd.pdb -lunix -L10000:8 -m4 -s -U133:022 -u100 -k99 -Z
回复
2012-11-28 15:01:07 5
|
dbadrivers |
回复
2012-11-28 15:03:03 6
|
dbadrivers |
请问右侧的系统信息来自哪里,貌似有点慢,我看脚本是 preg_match("/Linux:(.*)\n/", $infos, $Linux); preg_match("/UpTime:(.*)\n/", $infos, $UpTime); preg_match("/\nTime:(.*)\n/", $infos, $Time); preg_match("/LA:(.*)\n/", $infos, $LA); preg_match("/IP:(.*)\n/", $infos, $IP); preg_match("/CPU:(.*)\n/", $infos, $CPU); preg_match("/RAM:(.*)\n/", $infos, $RAM); preg_match("/HD:(.*)/", $infos, $HD); 不知道这些是从哪里来的?
回复
2012-11-29 09:11:28 7
|
admin |
引用: 这里匹配不慢的。 脚本/root/amh/info 第20行。 cpu_use=`top -n 2 -d 1 -b | grep 'Cpu(s)' | awk '{print $2}'`; 为了准确,这里取CPU利用率延时至少有2秒了,你也可以改改 : )
回复
2012-11-29 09:29:49 8
|