ubuntu搭建LAMP服务器

新手记录下。。。。。。

安装apache

apt-get install apache2

安装mysql

apt-get install mysql-server

安装php

apt-get install php5

安装GD库

apt-get intsall php5-gd

安装php的mysql库支持。。。。。。。我当时就在这卡住了。。。。。怎么折腾cms都提示无法访问mysql

apt-get install php5-mysql

posted @ 2013-06-23 17:32  xss  阅读(1168)  评论(0编辑  收藏  举报