ubuntu上安装lamp环境命令清单

 1 #install configuration manager
 2 sudo apt-get install tasksel
 3 
 4 #install basic lamp stack
 5 sudo tasksel install lamp-server
 6 
 7 #install additional php ext
 8 sudo apt-get install php-apc
 9 sudo apt-get install memcached
10 sudo apt-get install php5-memcached
11 sudo apt-get isntall php5-xdebug
12 
13 #install pear/pecl
14 sudo apt-get install php-pear
15 
16 #install benchmarking and monitoring tools. Notes: iostat is in systat package 
17 sudo apt-get install apachetop
18 sudo apt-get install systat
19 sudo apt-get install siege 
20 
21 #restart web server to ensure all modules are loaded
22 sudo service apache2 restart
!!!我的新站地址点击这里,欢迎光顾!!!
原文地址:https://www.cnblogs.com/martinjinyu/p/3493985.html