Answer the question
In order to leave comments, you need to log in
Why doesn't it find the a2ensite command?
Hello
I'm learning Linux (Ubuntu), I'm learning how to make local hosts using this guide. Stumbled at this point:
sudo a2ensite test.com.conf
sudo: a2ensite: command not found
sudo apt-get install apache2.2-common
Reading package lists... Done
Building dependency tree
Reading status information... Done
The apache2.2-common package is not available, but is listed in another package's dependency list.
This may mean that the package is missing, outdated, or available from sources not mentioned in sources.list
However, the following packages may replace it:
apache2:i386 apache2
E: No installation candidate found for package 'apache2.2-common'
Answer the question
In order to leave comments, you need to log in
sudo ln -s /etc/apache2/sites-available/mysite /etc/apache2/sites-enabled/mysite
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question