vps上装lnmp进来看看

2013 年 1 月 24 日
 BigZ
执行ss -l

memcached和mysql的Local Addres是多少

是*就悲剧了
2155 次点击
所在节点    VPS
13 条回复
liuxurong
2013 年 1 月 24 日
为什么?被扫描吗?
liuxurong
2013 年 1 月 24 日
mem会被捣乱? mysql 有密码啊...
xatest
2013 年 1 月 24 日
是127.0.0.1,怎么了,数据层不用外部访问吧~
BigZ
2013 年 1 月 24 日
mc和mysql的端口不能暴露在公网ip,不然很容易被搞

我今天偶然发现,lnmp默认安装会悲剧

修改方法
http://lutaf.com/115.htm
liuxurong
2013 年 1 月 24 日
lnmp只有memcached是默认公网的

mysql 则不是。
alexrezit
2013 年 1 月 24 日
不是应该叫做 LEMP 么?
BigZ
2013 年 1 月 24 日
liuxurong
2013 年 1 月 24 日
@BigZ mysql是, LNMP不是啊,外网根本无法访问。
liuxurong
2013 年 1 月 24 日
我指的是lnmp.org那个包。
BigZ
2013 年 1 月 24 日
@liuxurong 我也是用lnmp装的
lnmp的脚本我检查了,它是用的my-medium.cnf修改的,没有任何修改bind address的行为

cp /usr/local/mysql/share/mysql/my-medium.cnf /etc/my.cnf
sNullp
2013 年 1 月 24 日
从来不用一键安装包,以及使用iptables封端口的飘过。。
nichan
2013 年 1 月 24 日
@alexrezit LEMP+1,LNMP是国人自己的叫法
solf
2013 年 1 月 24 日
LEMP+1
试试自己编译安装
我是用iptable,对自家ip外其他ip只打开80和443端口

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/58642

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX