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
-
Apache
apt-get update apt-get install apache2
-
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
-
MySQL
apt-get install mysql-server
-
Curl
apt-get install curl
-
Git
apt-get install git
-
Composer (To run globally)
curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer
-
Vim (Text Editor)
apt-get install vim
-
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