LAMP on Ubuntu

There are several different commands that can be used to install Apache and MySQL services with PHP support:

  1. sudo apt-get install tasksel && sudo tasksel
    tasksel install LAMP on Ubuntu
  2. sudo apt-get install lamp-server^
  3. sudo apt-get install apache2 libapache2-mod-php5 php5 php5-cli php5-mysql php5-gd php5-mcrypt php5-curl mysql-client mysql-server libmysqlclient15-dev phpmyadmin

 

For number two the carat at the end is important.

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">