Ubuntu下快速安装LAMP server

Ubuntu下可快速安装LAMP server(Apache+MySQL+PHP5)。

首先,打开Ubuntu虚拟机,Terminal打开root权限:“sudo -s”。

一、安装LAMP server

  #tasksel install lamp-server

  执行后,接着就会开始自动分别安装 Apache、PHP5 和 MySQL。

  其中,在安装MySQL时,要设定MySQL的root账号密码,需要输入两次。

二、检测是否安装成功

  #tasksel

原文地址:https://www.cnblogs.com/lldxz/p/5013083.html