大家好, "CentOS 7 YUM 一键安装 LNMP 环境" 2.0 版本来了

2016 年 2 月 23 日
 MaiCong

项目地址

https://github.com/maicong/LNMP

一键命令

yum install -y wget unzip && wget https://git.io/v2OPx && unzip master.zip && cd LNMP-master && bash lnmp.sh

支持安装

说明一下

命令预览

感谢使用 :)

6553 次点击
所在节点    分享创造
41 条回复
MaiCong
2016 年 2 月 26 日
@qcloud 能截个图吗
qcloud
2016 年 2 月 26 日
@MaiCong 算了吧,懒得折腾了,谢谢
MaiCong
2016 年 2 月 26 日
@qcloud 好吧
qcloud
2016 年 2 月 27 日
@MaiCong https://ooo.0o0.ooo/2016/02/26/56d11ed33d2f4.png
MaiCong
2016 年 2 月 27 日
@qcloud 安装之前执行下卸载命令。
qcloud
2016 年 2 月 27 日
@MaiCong 为啥呢,我重装了系统安装的
MaiCong
2016 年 2 月 29 日
@qcloud 卸载掉后新内容才会覆盖
gundanx10
2016 年 3 月 2 日
star
le0rn0
2016 年 3 月 9 日
请问是否可以“可选安装”?必须我只想安装 nm
le0rn0
2016 年 3 月 9 日
@le0rn0 必须==比如, sry
le0rn0
2016 年 3 月 9 日
试了下安装错误
MaiCong
2016 年 3 月 9 日
@le0rn0 安装对应的 repo ,稍后直接 yum 安装
le0rn0
2016 年 3 月 10 日
@MaiCong 谢谢,请问能否细说一点点?
MaiCong
2016 年 3 月 10 日
@le0rn0

请看:

https://maicong.me/t/157

步骤为:

yum install -y epel-release;
rpm --import http://nginx.org/packages/keys/nginx_signing.key;
rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm;
rpm --import mysql_pubkey.asc; # ( 到 http://dev.mysql.com/doc/refman/5.6/en/checking-gpg-signature.html 下载 )
rpm -Uvh http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm;
yum clean all && makecache;
yum install -y nginx mysql-community-server;
le0rn0
2016 年 3 月 10 日
@MaiCong 感谢!
passion336699
2016 年 3 月 12 日
CentOS 6.5 能装嘛
MaiCong
2016 年 3 月 13 日
@passion336699 不能的,只支持 7
Flicker
2016 年 3 月 26 日
安装后, phpmysql 登录失败。
297177810
2016 年 4 月 8 日
卖葱,你的博客终于进去了。只记得你 yuxiaoxi 的域名,更新下 AMH 吧,真心不会操作 linux 。
Noisky
2016 年 9 月 18 日
大佬真厉害,有空写一个 centos6.8 的 yum 安装脚本呗

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

https://study.congcong.us/t/258510

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

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

© 2021 V2EX