apache reset default configuration 1

apache reset default configuration

sudo apt-get purge apache2

sudo apt-get install apache2

sudo service apache2 start

Here is what the above code is Doing:
1. We’re using the sudo command to run the apt-get command as the superuser.
2. We’re using the purge command to remove the apache2 package.
3. We’re using the install command to install the apache2 package.
4. We’re using the service command to start the apache2 service.

Similar Posts