]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/docs/Installing.md
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / prometheus-cpp / 3rdparty / civetweb / docs / Installing.md
1 CivetWeb Install Guide
2 ====
3
4 This guide covers the pre-built binary distributions of CivetWeb.
5 The latest source code version is available at [https://github.com/civetweb/civetweb](https://github.com/civetweb/civetweb).
6
7
8 Windows
9 ---
10
11 This pre-built version comes pre-built wit Lua support. Libraries for SSL support are not included due to licensing restrictions;
12 however, users may add an SSL library themselves.
13 Instructions for adding SSL support can be found in [https://github.com/civetweb/civetweb/tree/master/docs](https://github.com/civetweb/civetweb/tree/master/docs)
14
15 1. The "Visual C++ Redistributables" are already installed on most Windows PCs.
16 In case they are missing, you will see a "msvcr###.dll missing" error message when starting the server.
17 You need to download and install the [Redistributable for Visual Studio 2015](http://www.microsoft.com/en-us/download/details.aspx?id=48145)
18 Note: The required version of the Redistributables may vary, depending on the CivetWeb version.
19 2. Download latest *civetweb-win.zip* from [SourceForge](https://sourceforge.net/projects/civetweb/files/)
20 3. When started, CivetWeb puts itself into the tray.
21
22
23 Building CivetWeb - Using vcpkg
24 ---
25
26 You can download and install CivetWeb using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager:
27
28 git clone https://github.com/Microsoft/vcpkg.git
29 cd vcpkg
30 ./bootstrap-vcpkg.sh
31 ./vcpkg integrate install
32 ./vcpkg install civetweb
33
34 The CivetWeb port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
35
36
37 Linux
38 ---
39
40 1. Download the latest *civetweb.tar.gz* from [SourceForge](https://sourceforge.net/projects/civetweb/files/) or [GitHub](https://github.com/civetweb/civetweb/releases)
41 2. Open archive and change to the new directory.
42 3. make help
43 4. make
44 5. make install
45 6. Run the program ```/usr/local/bin/civetweb```, it will use the configuration file */usr/local/etc/civetweb.conf*.
46
47 Most Linux systems support auto completion of command line arguments. To enable bash auto completion for the CivetWeb stand-alone executable, set *resources/complete.lua* as complete command. See comments in that file for further instructions.
48