项目地址
https://github.com/maicong/amh-4.2
https://coding.net/u/maicong/p/AMH-4.2/git
使用方法
1、安装wget命令
Centos:
yum install -y wget
Debian/Ubuntu:
apt-get install wget
2、运行一句话安装命令
wget http://xcdn.yuxiaoxi.com/amh-4.2/amh-mc.sh && bash amh-mc.sh 2>&1 | tee amh-mc.log
修改的地方
添加 pcre-8.36
添加 zlib-1.2.8
添加 openssl-1.0.2a
添加 openssl-1.0.2a
添加 gperftools-2.4
添加 ngx_cache_purge-2.3
添加 ngx_pagespeed-1.9.32.3
添加 ngx_http_substitutions_filter_module : https://github.com/yaoweibin/ngx_http_substitutions_filter_module
添加 ssh ip 黑名单: http://antivirus.neu.edu.cn/scan/ssh.php
替换 php-5.3.27 为 php-5.6.8
替换 nginx-1.4.7 为 tengine-2.1.0
替换 mysql-5.5.34 为 mysql-5.6.24
更改 mysql 数据保存位置为 /home/mysql_data
修改错误提示页
目前只用 CentOS 6.6 做了测试,其他还没弄呢...
暂时没有线上 demo,晚上回去弄一个让大家看看~
1
ii0x208 2015-05-06 20:34:08 +08:00 via iPhone
ngx_pagespeed我觉得还是不要的好
|
3
zts1993 2015-05-06 20:39:58 +08:00
替换 php-5.3.27 为 php-5.6.8
点赞 |
4
molinxx 2015-05-06 20:58:26 +08:00
--2015-05-06 20:57:52-- http://wp.w.daima.co/amh-4.2-conf.zip
Resolving wp.w.daima.co... 192.168.1.99 Connecting to wp.w.daima.co|192.168.1.99|:80... 这是什么鬼? |
5
MaiCong OP |
6
imWBB 2015-05-07 00:00:56 +08:00
--2015-05-06 23:47:58-- (try: 2) http://xcdn.yuxiaoxi.com/amh-4.2/ngx_pagespe
Connecting to xcdn.yuxiaoxi.com (xcdn.yuxiaoxi.com)|72.8.188.98|:80... connecte HTTP request sent, awaiting response... 206 Partial Content Length: 100079917 (95M), 94837397 (90M) remaining [application/octet-stream] Saving to: ‘ngx_pagespeed-1.9.32.3.tar.bz2?1430927023’ [ skipping 5100K ] 5100K ,,,,,,,,,, ,,,,,,,,, 5% 0.00 =0s 2015-05-06 23:48:43 (0.00 B/s) - Read error at byte 5242520/100079917 (Success) --2015-05-06 23:48:45-- (try: 3) http://xcdn.yuxiaoxi.com/amh-4.2/ngx_pagespe Connecting to xcdn.yuxiaoxi.com (xcdn.yuxiaoxi.com)|72.8.188.98|:80... connecte HTTP request sent, awaiting response... 206 Partial Content Length: 100079917 (95M), 94837397 (90M) remaining [application/octet-stream] Saving to: ‘ngx_pagespeed-1.9.32.3.tar.bz2?1430927023’ [ skipping 5100K ] 2015-05-06 23:49:30 (0.00 B/s) - Connection closed at byte 5242520. Giving up. [Error] Download Failed : ngx_pagespeed-1.9.32.3.tar.bz2, please check http://xcdn.yuxiaoxi.com/amh-4.2/ngx_pagespeed-1.9.32.3.tar.bz2 aws ec2 jp node |
8
Pastsong 2015-05-07 02:04:20 +08:00
可以考虑替换 MySQL 为 MariaDB
|
9
hljjhb 2015-05-07 02:41:31 +08:00 via Android
原版不能在ubuntu14.04上安装 修改版修正了吗
|
10
xuhaoyangx 2015-05-07 05:25:40 +08:00
这面板其实第一次体会,感觉简单了点,偏web主机面板,面板可直接调的参数少啊
不知道是不是下载包的问题。第一次安装卡在了解压ngx_pagespeed的包。第二次删掉第一次的压缩包再装就OK |
11
DearTanker 2015-05-07 08:44:06 +08:00
楼主给力,正在用官方的4.2
|
12
sobigfish 2015-05-07 09:21:42 +08:00
主要是更新各种库的话,用Dockerfile 不是更好么,这么多包看着好乱。
|
13
liujiantao 2015-05-07 09:23:25 +08:00 via Android
不错,nginx换成tengine我喜欢
PHP升级也不错! |
14
kozora 2015-05-13 00:52:42 +08:00
[Error] Download Failed : libiconv-1.14.tar.gz, please check https://coding.net/u/maicong/p/AMH-4.2/git/raw/master/libiconv-1.14.tar.gz 老是这个错误
|