debian install apache code example
Example 1: do I have apache installed on my debian server
dpkg --get-selections | grep apache
Example 2: debian install apache php
apt-get -y install php7.0 libapache2-mod-php7.0
dpkg --get-selections | grep apache
apt-get -y install php7.0 libapache2-mod-php7.0