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 7.2

    add-apt-repository ppa:ondrej/php
    apt-get update
    apt-get install python-software-properties
    apt-get update
    apt-get install php7.2 libapache2-mod-php7.2 php7.2-curl php7.2-mbstring php7.2-xml php7.2-opcache php7.2-mysql
    
  3. MySQL

    apt-get install mysql-server
  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