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

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.
主站蜘蛛池模板: 巴东县| 红安县| 清涧县| 鹰潭市| 南充市| 团风县| 玉山县| 栾川县| 廉江市| 河间市| 新竹市| 珠海市| 休宁县| 通化县| 长白| 晴隆县| 蓬莱市| 吕梁市| 青川县| 尤溪县| 永昌县| 广德县| 榆林市| 阜城县| 隆安县| 深泽县| 象山县| 哈巴河县| 来宾市| 溧阳市| 砚山县| 敦煌市| 保亭| 嘉善县| 常熟市| 北京市| 安新县| 大同县| 清原| 西畴县| 襄樊市|