AMH 社区首页
AMH社区 - 开放自由有价值的社区| 
 | |
|---|---|
| shyy06 | 
		  shyy06 发表于 2014-04-14 10:35:00
	 第一次安装时候,刚开始安装时候不小心给中断了,第二次重新安装时候提示无法检测到IP 代码如下: [OK] You Selected: Install AMH 4.2 [Error] empty server ip. [Notice] Please input server ip: 手动输入IP,安装完成后登陆后台无法显示IP  另外,amh无法开机自启 
				2014-04-14 10:35:00 1
	 | 
| 
		shyy06 | 已经自行百度解决 打开/root/amh/info文件 修改IP=`ifconfig | grep ‘inet addr:’| egrep -v “:192.168|:172.1[6-9].|:172.2[0-9].|:172.3[0-2].|:10.|:127.” | cut -d: -f2 | awk ‘{ print $1}’`; 为IP=`ifconfig | grep 'inet addr:'| egrep -v ":192\.168|:172\.1[6-9].|:172\.2[0-9].|:172\.3[0-2].|:10\.|:127\." | cut -d: -f2 | awk '{ print $1}'`; 
		回复 
		2014-04-14 10:52:46 2
		 | 
| 
		shyy06 |     另外  amh还是不能开机自启
				 
		回复 
		2014-04-14 10:54:00 3
		 | 
| 
		1024 | 
		回复 
		2014-04-14 13:57:29 4
		 | 
| 
		amysql | 没错。可以改改。 开机启动问题先看这帖子 http://amysql.com/bbs/post-516-1-1.htm 
		回复 
		2014-04-14 18:11:29 5
		 AMH面板 - 好用高效低占用、安全可靠极稳定 | 
| 
		shyy06 | 
		回复 
		2014-04-22 17:26:18 6
		 | 
| 
		蓝鹰 | 打开/root/amh/info文件 修改IP=`ifconfig | grep ‘inet addr:’| egrep -v “:192.168|:172.1[6-9].|:172.2[0-9].|:172.3[0-2].|:10.|:127.” | cut -d: -f2 | awk ‘{ print $1}’`; 为IP=`ifconfig|grep 'inet addr:'|grep -v '127.0.0.1'|grep Bcast|head -n 1|cut -d: -f2|awk '{ print $1}'`; 这样应该也可以的. 
		回复 
		2014-04-22 23:40:31 7
		 | 
| 
		amysql | 引用: IP=`ifconfig|grep 'inet addr:'|grep -v '127.0.0.1'|grep Bcast|head -n 1|cut -d: -f2|awk '{ print $1}'`; 这样仅排除127.0.0.1。有些机器有非127.0.0.1内网。 
		回复 
		2014-04-23 14:51:35 8
		 | 
| 
		蓝鹰 | 本地测试192.168的也显示不出来. 应该加一层判断. 如果只有内网就用内网,有外网则使用外网
				 
		回复 
		2014-04-23 21:17:47 9
		 | 
| 
		amysql | 
		回复 
		2014-04-25 12:41:00 10
		 | 
 HTTPS
 HTTPS
 [求助帖]
		amh控制面板无法显示IP
 
			[求助帖]
		amh控制面板无法显示IP 
 
 
	 
    