gpt4 book ai didi

compilation - 手动为 Debian Stretch 编译最新的 lighttpd

转载 作者:行者123 更新时间:2023-12-02 02:55:01 25 4
gpt4 key购买 nike

在我的 Debian stretch 服务器上,我有 lighttpd 1.4.45。我知道,准备一个包裹需要一些时间。但是,我可能需要最新版本的 lighttpd (1.4.49) 中的一些错误修复。

这基本上意味着,我要么自己编译 lighttpd,要么升级到处于测试阶段的较新的 Debian(我认为是 Buster)。

所以基本上我需要帮助,编译 lighttpd。

到目前为止,我得到的是:

  1. 下载用户文件夹中的tar包并解压。

    sudo wget http://lighttpd.net/download/lighttpd-1.4.49.tar.gz

    sudo tar -zxvf lighttpd-1.4.49.tar.gz

    cd lighttpd-1.4.49

现在显然我的问题是:

  1. 我如何编译它,目录中有一个 make-sh 脚本和一个 Complie。
  2. 编译后如何将编译好的恶魔移动到/etc/lighttpd
  3. 如何使用我已经在使用的配置文件?

编辑:

  1. 进入目录后,我尝试了以下命令

    ./配置

这做了一些事情,然后我尝试了:

make

输入:make: *** 没有指定目标,也没有找到 makefile。停止。

但我可以在目录 Makefile.am 和 Makefile.in 中看到

最佳答案

tarball 附带了一些文件,您可能会发现这些文件很有趣:

安装

其中包含

$ cd lighttpd-1.x.x
$ ./configure
$ make
$ su -
# make install
# exit

自述文件

----------------- Starting lighttpd

As daemon in the background: ::

$ lighttpd -f <configfile>

or without detaching from the console: ::

$ lighttpd -D -f <configfile>

关于compilation - 手动为 Debian Stretch 编译最新的 lighttpd,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49896210/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com