Kick start your LAMP Stack server

LAMP is a group of open source softwares and an acronym for Linux, Apache, MySQL, and PHP

Below are some software’s which would help you run your web applications on the server

First Step: Switch to Super User from your terminal

sudo su
  1. Apache

    apt-get update
    apt-get install apache2
  2. PHP 5.6

    add-apt-repository ppa:ondrej/php
    apt-get update
    apt-get install python-software-properties
    apt-get update
    apt-get install php5.6 libapache2-mod-php5.6 php5.6-mcrypt php5.6-curl php5.6-mbstring php5.6-xml
    
  3. MySQL

    apt-get install mysql-server libapache2-mod-auth-mysql php5.6-mysql
  4. Curl

    apt-get install curl
  5. Git

    apt-get install git
  6. Composer (To run globally)

    curl -sS https://getcomposer.org/installer | php
    mv composer.phar /usr/local/bin/composer
  7. Vim (Text Editor)

    apt-get install vim
  8. Node, Node.js & NPM

    apt-get remove --purge node
    apt-get remove --purge nodejs
    
    curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
    apt-get install -y nodejs
    
    sudo ln -s /usr/bin/nodejs /usr/bin/node