背景:html
公司要用到lamp环境,让我装,我就开始着手找资料,通常分为源码装和yum装,源码装很容易出错,因此我选择了yum装,。segmentfault
服务器:aliyun服务器 centos6.8系统centos
按照第一个安装彻底没问题,若是有想尝试的,按照第一个安装方法能够试试。服务器
1.https://segmentfault.com/a/1190000004169076 centos6.xcentos7
2.https://segmentfault.com/a/1190000012411444 centos7.xhtm
3.https://help.aliyun.com/document_detail/50774.html?spm=5176.doc52954.6.771.cptqBV 源码安装源码