A
A
Adept0062018-09-25 13:10:27
Apache HTTP Server
Adept006, 2018-09-25 13:10:27

How to install a2enmod on Debian 9?

The a2enmod, a2ensite and, accordingly, a2dissite commands have gone somewhere. Error: command not found. Apache2 installed, stub running on LAN. Debian is installed on a virtual machine. /usr/sbin/ is registered in PATH, but there is no a2enmod in the a2enmod folder itself

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SagePtr, 2018-09-25
@SagePtr

They are in /usr/sbin, do you have it in PATH? (by default / sbin and / usr / sbin - only root has them in PATH, users do not)

I
ISE73, 2018-09-25
@ISE73

And so /usr/sbin/a2enmod?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question