【问题标题】:How to install specific apache version?如何安装特定的apache版本?
【发布时间】:2019-01-31 12:23:15
【问题描述】:

我为 apache 2.4 服务器开发了一个模块,我想用不同的 apache 版本测试我的模块。

我使用以下命令安装了 apache2.4。
apt-get -y 安装 apache2

我可以使用 apt-get 安装以前的 apache 版本吗?

【问题讨论】:

    标签: apache apt-get apt


    【解决方案1】:

    你可以安装带有版本号的包名

    apt-get install <packagename>=<complete version name>
    

    下面的命令将显示版本列表

    apt-cache showpkg <pachagename>
    

    【讨论】:

      猜你喜欢
      • 2020-09-07
      • 2021-10-09
      • 2017-06-11
      • 1970-01-01
      • 2021-12-19
      • 2020-01-05
      • 2018-05-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多