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
apt-get update apt-get install apache2
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
apt-get install mysql-server
apt-get install curl
apt-get install git
curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer
apt-get install vim
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