Ubuntu 14.04 mod_ssl недоступен

Когда я пытаюсь установить 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 Хит http://archive.ubuntu.com trusty-security/main amd64 Хиты пакетов http://archive.ubuntu.com trusty-security / ограниченный amd64 Пакеты Хиты http: // archive.ubuntu.com Хиты пакетов trusty-security/universe amd64 http://archive.ubuntu.com Хиты пакетов trusty-security/multiverse amd64 http://archive.ubuntu.com Хиты пакетов trusty-security / main Перевод-ru Хит http: / /archive.ubuntu.com trusty-security / multiverse Translation-en
Hit http://archive.ubuntu.com trusty-security/ ограниченный Translation-en
Hit http://archive.ubuntu.com trusty-security/ universe Translation-en Хит http://archive.ubuntu.com trusty-updates/main amd64 Пакеты Хит http://archive.ubuntu.com trusty-updates / limited amd64 Пакеты Хит http://archive.ubuntu.com trusty-updates/universe amd64 Пакеты Хит ХТ tp://archive.ubuntu.com trusty-updates/multiverse amd64 Пакеты Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/multiverse Перевод -en Hit http://archive.ubuntu.com trusty-updates / limited Translation-en Hit http://archive.ubuntu.com trusty-updates / universe Translation-en Hit http://archive.ubuntu.com надежный выпуск Хит http://archive.ubuntu.com trusty/main amd64 Пакеты Хит http://archive.ubuntu.com trusty / limited amd64 Пакеты Хит http://archive.ubuntu.com trusty/universe amd64 Пакеты Хит http: // archive.ubuntu.com Хиты пакетов trusty/multiverse amd64 http://archive.ubuntu.com trusty / main Перевод-ru Хит http://archive.ubuntu.com trusty / multiverse Перевод-en Хит http: //archive.ubuntu.com верный / ограниченный Translation-en Hit http://archive.ubuntu.com верный / юниверс Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com верный / мультивселенный Translation-en_US
Ign http://archive.ubuntu.com trusty/ limited Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US Чтение списков пакетов... Готово $ sudo apt-get install mod_ssl Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Невозможно найти пакет mod_ssl

1 ответ

Решение

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

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