ubuntu 安装与卸载lamp - lamp环境

 文章来源http://tandc.likesyou.org/

sudo apt-get install apache2  apache2-mpm-prefork  apache2-utils apache2.2-bin  apache2.2-common  libapache2-mod-php5  libapr1  libaprutil1  libaprutil1-dbd-sqlite3 libaprutil1-ldap  libdbd-mysql-perl libdbi-perl  libmysqlclient16  libnet-daemon-perl  libplrpc-perl  mysql-client-5.1  mysql-common  mysql-server mysql-server-5.1 mysql-server-core-5.1 php5-common  php5-mysql  

然后就按照
http://wiki.ubuntu.org.cn/index.php?title=Apache&variant=zh-hant#.E5.AE.89.E8.A3.85LAMP
从phpmyadmin开始往下看。一步一步配置就好了

完全卸载命令为
sudo apt-get remove --purge apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql
sudo rm -R /etc/php5

你可能感兴趣的:(安装,ubuntu,文章,卸载)