Sat*_*mar 2 apache2 openssl mod-ssl 14.04
当我尝试安装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 trusty Release.gpg 点击 http://archive.ubuntu.com trusty-security/main amd64 Packages 点击 http://archive.ubuntu.com trusty-security/restricted amd64 Packages 点击 http://archive.ubuntu.com trusty-security/universe amd64 Packages 点击 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages 点击 http://archive.ubuntu.com trusty-security/main Translation-en 点击 http://archive.ubuntu.com trusty-security/multiverse Translation-en 点击 http://archive.ubuntu.com trusty-security/restricted Translation-en 点击 http://archive.ubuntu.com trusty-security/universe Translation-en 点击 http://archive.ubuntu.com trusty-updates/main amd64 Packages 点击 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages 点击 http://archive.ubuntu.com trusty-updates/universe amd64 Packages 点击 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages 点击 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 Translation-en 点击 http://archive.ubuntu.com trusty Release 点击 http://archive.ubuntu.com trusty/main amd64 Packages 点击 http://archive.ubuntu.com trusty/restricted amd64 Packages 点击 http://archive.ubuntu.com trusty/universe amd64 Packages 点击 http://archive.ubuntu.com trusty/multiverse amd64 Packages 点击 http://archive.ubuntu.com trusty/main 翻译-en 点击 http://archive.ubuntu.com trusty/multiverse Translation-en 点击 http://archive.ubuntu.com trusty/restricted Translation-en 点击 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 阅读包裹清单...完成 $ sudo apt-get install mod_ssl 阅读包裹清单...完成 构建依赖树 读取状态信息...完成 E: 无法定位软件包 mod_ssl
小智 6
当您安装 apache2 时,mod_ssl 应该在 /usr/lib/apache2/modules/mod_ssl.so 中可用。只需运行a2enmod ssl
然后service apache2 restart
启用它。
归档时间: |
|
查看次数: |
22672 次 |
最近记录: |