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

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.
主站蜘蛛池模板: 饶平县| 弥勒县| 安新县| 武川县| 万宁市| 六盘水市| 鄂伦春自治旗| 称多县| 白山市| 淮滨县| 常宁市| 孝昌县| 化州市| 会东县| 德化县| 盐城市| 会同县| 元江| 阿瓦提县| 中宁县| 麻栗坡县| 海晏县| 县级市| 宜良县| 阆中市| 天等县| 栖霞市| 萨嘎县| 宜阳县| 枣庄市| 通辽市| 峨眉山市| 汉寿县| 疏勒县| 仪征市| 曲松县| 吴江市| 岳池县| 晋州市| 泰来县| 安陆市|