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

 

posted @ 2013-12-27 13:44  Martin2  阅读(132)  评论(0编辑  收藏  举报