Ubuntu 14.04 mod_ssl 不可用

Ubuntu 14.04 mod_ssl 不可用

当我尝试安装时mod_ssl它说无法找到软件包 mod_ssl

$ sudo apt-get 更新
Ign http://archive.ubuntu.com 值得信赖的 InRelease
点击 http://archive.ubuntu.com trusty-security InRelease
点击 http://archive.ubuntu.com trusty-updates InRelease
点击 http://archive.ubuntu.com 信任 Release.gpg
点击 http://archive.ubuntu.com trusty-security/main amd64 软件包
点击 http://archive.ubuntu.com trusty-security/restricted amd64 软件包
点击 http://archive.ubuntu.com trusty-security/universe amd64 软件包
点击 http://archive.ubuntu.com trusty-security/multiverse amd64 软件包
点击 http://archive.ubuntu.com trusty-security/main 翻译-en
点击 http://archive.ubuntu.com trusty-security/multiverse 翻译-en
点击 http://archive.ubuntu.com trusty-security/restricted Translation-en
点击 http://archive.ubuntu.com trusty-security/universe 翻译-en
点击 http://archive.ubuntu.com trusty-updates/main amd64 软件包
点击 http://archive.ubuntu.com trusty-updates/restricted amd64 软件包
点击 http://archive.ubuntu.com trusty-updates/universe amd64 软件包
点击 http://archive.ubuntu.com trusty-updates/multiverse amd64 软件包
点击 http://archive.ubuntu.com trusty-updates/main Translation-en
点击 http://archive.ubuntu.com trusty-updates/multiverse Translation-en
点击 http://archive.ubuntu.com trusty-updates/restricted Translation-en
点击 http://archive.ubuntu.com trusty-updates/universe 翻译-en
点击 http://archive.ubuntu.com 可信发布
点击 http://archive.ubuntu.com trusty/main amd64 软件包
点击 http://archive.ubuntu.com trusty/restricted amd64 软件包
点击 http://archive.ubuntu.com trusty/universe amd64 软件包
点击 http://archive.ubuntu.com trusty/multiverse amd64 软件包
点击 http://archive.ubuntu.com trusty/main 翻译-en
点击 http://archive.ubuntu.com trusty/multiverse 翻译-en
点击 http://archive.ubuntu.com trusty/restricted Translation-en
点击 http://archive.ubuntu.com trusty/universe 翻译-en
Ign http://archive.ubuntu.com trusty/main 翻译-en_US
Ign http://archive.ubuntu.com trusty/multiverse 翻译-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://archive.ubuntu.com trusty/universe 翻译-en_US
正在读取软件包列表...完成
$ sudo apt-get 安装 mod_ssl
正在读取软件包列表...完成
构建依赖关系树
正在读取状态信息...完成
E: 无法找到软件包 mod_ssl

答案1

当你安装了 apache2 后,mod_ssl 应该在 /usr/lib/apache2/modules/mod_ssl.so 中可用。只需运行a2enmod ssl然后service apache2 restart启用它即可。

相关内容