简体   繁体   English

需要在 Fedora 31 上安装 OpenliteSpeed Server

[英]Need to install OpenliteSpeed Server on Fedora 31

I am trying to install OpenliteSpeed server on Fedora 31. There are no binaries available so I thought of compiling the source code.我正在尝试在 Fedora 31 上安装 OpenliteSpeed 服务器。没有可用的二进制文件,所以我想到了编译源代码。 Am following instructions from this page: https://openlitespeed.org/kb/installation-from-source-code/我正在按照此页面的说明进行操作: https ://openlitespeed.org/kb/installation-from-source-code/

but I am getting errors at the make & make install step.但我在 make 和 make install 步骤中遇到错误。

This is the error I get:这是我得到的错误:

$ make && make install
Making all in src
make[1]: Entering directory '/home/navjot/openlitespeed-1.6.4/src'
Makefile:760: .deps/xxhash.Po: No such file or directory
make[1]: *** No rule to make target '.deps/xxhash.Po'.  Stop.
make[1]: Leaving directory '/home/navjot/openlitespeed-1.6.4/src'
make: *** [Makefile:409: all-recursive] Error 1

I was suggested that I should use the./build.sh file first.有人建议我应该先使用 ./build.sh 文件。 Tried that and I got the following error:试过了,我收到以下错误:

No match for argument: epel-release
Error: Unable to find a match: epel-release
This script only works on 6/7/8 for centos family._Static_assert

Does anyone know how to proceed?有谁知道如何进行? I can't figure out any way.我想不出任何办法。

Please follow this method to install from compiled binary.请按照此方法从编译的二进制文件安装。 Download the OpenLiteSpeed binary from the Download page or use the wget command to download it from the console, here we use v1.6.4 as example:下载页面下载 OpenLiteSpeed 二进制文件或使用wget命令从控制台下载,这里我们以 v1.6.4 为例:

wget https://openlitespeed.org/packages/openlitespeed-1.6.4.tgz

Installation安装

tar -zxvf openlitespeed-*.tgz
cd openlitespeed
./install.sh

Now you can start the web server, like so:现在您可以启动 Web 服务器,如下所示:

/usr/local/lsws/bin/lswsctrl start

Check the status:检查状态:

/usr/local/lsws/bin/lswsctrl status

Last, don't forget to install libnsl network service package when you are on CentOS 8 or Fedora system.最后,在CentOS 8 或Fedora 系统上不要忘记安装libnsl 网络服务包。

sudo dnf install libnsl -y

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM