Ubuntu 14.04 mod_ssl недоступен [dубликат]

У этого вопроса уже есть ответ здесь: Как найти пакет, который предоставляет файл? 8 ответов

Когда я пытаюсь установить mod_ssl, скажу, что не удалось найти пакет mod_ssl

$ sudo apt-get update Ign http://archive.ubuntu.com trusty InRelease Hit http://archive.ubuntu.com trusty-security InRelease Hit http://archive.ubuntu.com trusty-updates InRelease Hit http://archive.ubuntu.com trusty Release.gpg Hit http://archive.ubuntu.com trusty-security/main amd64 Packages Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages Hit http://archive.ubuntu.com trusty-security/multiverse amd64 Packages Hit http://archive.ubuntu.com trusty-security/main Translation-en Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en Hit http://archive.ubuntu.com trusty-security/restricted Translation-en Hit http://archive.ubuntu.com trusty-security/universe Translation-en Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages Hit http://archive.ubuntu.com trusty-updates/main Translation-en Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en Hit http://archive.ubuntu.com trusty-updates/universe Translation-en Hit http://archive.ubuntu.com trusty Release Hit http://archive.ubuntu.com trusty/main amd64 Packages Hit http://archive.ubuntu.com trusty/restricted amd64 Packages Hit http://archive.ubuntu.com trusty/universe amd64 Packages Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages Hit http://archive.ubuntu.com trusty/main Translation-en Hit http://archive.ubuntu.com trusty/multiverse Translation-en Hit http://archive.ubuntu.com trusty/restricted Translation-en Hit http://archive.ubuntu.com trusty/universe Translation-en Ign http://archive.ubuntu.com trusty/main Translation-en_US Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US Ign http://archive.ubuntu.com trusty/restricted Translation-en_US Ign http://archive.ubuntu.com trusty/universe Translation-en_US Reading package lists... Done $ sudo apt-get install mod_ssl Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mod_ssl
0
задан 13 June 2017 в 14:51

3 ответа

Когда вы установили apache2, mod_ssl должен быть доступен в /usr/lib/apache2/modules/mod_ssl.so. Просто запустите a2enmod ssl, а затем service apache2 restart, чтобы включить его.

0
ответ дан 22 May 2018 в 21:36
  • 1
    спасибо, это помогло мне решить, но нужно сделать с sudo – Sathishkumar 13 June 2017 в 10:52

Когда вы установили apache2, mod_ssl должен быть доступен в /usr/lib/apache2/modules/mod_ssl.so. Просто запустите a2enmod ssl, а затем service apache2 restart, чтобы включить его.

0
ответ дан 18 July 2018 в 11:44

Когда вы установили apache2, mod_ssl должен быть доступен в /usr/lib/apache2/modules/mod_ssl.so. Просто запустите a2enmod ssl, а затем service apache2 restart, чтобы включить его.

0
ответ дан 24 July 2018 в 19:51

Другие вопросы по тегам:

Похожие вопросы: