官术网_书友最值得收藏!

  • NGINX Cookbook
  • Tim Butler
  • 146字
  • 2021-07-03 00:04:18

Compiling from scratch

Although having the precompiled packages is nice, not all of the modules are available out of the box. NGINX requires you to compile these into the NGINX installation and it's not a simple module like Apache.

You can simply build from source without any of the packaging tools for CentOS or Debian, however, it makes upgrades and compatibility more difficult. By default, user compiled programs will default to /usr/local, which means that any documentation which refers to the package defaults (/usr/etc) will be incorrect.

My preference is to base the build on the official package sources, rather than the plain source code. There aren't many extra steps involved, but it makes the ongoing management much easier. If you're looking for vanilla build instructions (without packages), these are easily available on the web.

These examples require you to have the mainline repositories already installed.
主站蜘蛛池模板: 天台县| 大安市| 晋州市| 泽州县| 宁强县| 陆河县| 常德市| 固始县| 西峡县| 鹤壁市| 萝北县| 上蔡县| 林芝县| 明水县| 资中县| 开原市| 城步| 宜春市| 贵州省| 邯郸县| 靖江市| 清远市| 林芝县| 隆化县| 兴和县| 淮安市| 彩票| 文登市| 肇庆市| 沂南县| 梁山县| 顺昌县| 孟津县| 金阳县| 安仁县| 阳信县| 邮箱| 大渡口区| 临澧县| 云和县| 榆中县|