Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i am on a debian 6 at 64bit.

I need to install LAMP.

apt-get update
apt-get upgrade
apt-get install apache2-mpm-prefork libapache2-mod-php5 mysql-server php5-mysql php5-gd

are those command enough?

Thanks

share|improve this question
add comment

2 Answers

According to the Ubuntu page for setting up LAMP, yes, you are correct. You could also use tasksel to setup the server:

sudo tasksel install lamp-server

See the guide for more details.

share|improve this answer
add comment

I have installed:

  • mysql-server
  • mysql-client
  • apache2 (depends on apache2-mpm-prefork)
  • php5 (depends on libapache-mod-php5)
  • php5-mysql
  • php5-gd
  • php5-suhosin (security module)

Depending on what you are doing in php you may need additional php modules.

share|improve this answer
    
if i forgot to install a php module.. How Can I add it later? –  dynamic Feb 9 '11 at 1:09
    
Use the command sudo aptitude install followed by the package name. The aptitude package management tool has a text mode graphical interface if you like. You can also use the search and show command from the command line, man aptitude will give you more information. –  BillThor Feb 9 '11 at 2:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.