今天因為案件需要從ubuntu10.10的空機安裝LAMP
記下來免得哪天失憶
#aptitude install mysql-server mysql-client
#aptitude install apache2
設定檔/etc/apache2/apache2.conf
Apache modules 在 /etc/apache2/mods-enabled )
virtual hosts 在 /etc/apache2/sites-enabled
#aptitude install php5 libapache2-mod-php5
#/etc/init.d/apache2 restart
#aptitude search php5
#aptitude install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json
#/etc/init.d/apache2 restart
#aptitude install phpmyadmin
Web server to reconfigure automatically: <-- apache2 Configure database for phpmyadmin with dbconfig-common? <-- No 這樣網址後面/phpmyadmin 就可以用了