jason0401 发表于 2015-9-16 10:43:12

puppet使用 apache passsenger 作为前端 (centos)

root@master-2:~# passenger-install-nginx-module  # 根据提示完成安装, 中途可能会提示用 apt-get 安装一些缺失的包.
  # 安装完缺失的包后, 再次执行 passenger-install-nginx-module 即可.
  # 安装 nginx 之前, 会有如下选择
  Do you want this installer to download, compile and install Nginx for you?
  
  1. Yes: download, compile and install Nginx for me. (recommended)
  The easiest way to get started. A stock Nginx 1.6.2 with Passenger
  support, but with no other additional third party modules, will be
  installed for you to a directory of your choice.
  
  2. No: I want to customize my Nginx installation. (for advanced users)
  Choose this if you want to compile Nginx with more third party modules
  besides Passenger, or if you need to pass additional options to Nginx's
  'configure' script. This installer will1) ask you for the location of
  the Nginx source code,2) run the 'configure' script according to your
  instructions, and3) run 'make install'.
  
  Whichever you choose, if you already have an existing Nginx configuration file,
  then it will be preserved.
  
  Enter your choice (1 or 2) or press Ctrl-C to abort: 1
  
  # 根据情况, 如果熟悉的话, 可以选择2, 否则选择1 即可自动编译安装 nginx
页: [1]
查看完整版本: puppet使用 apache passsenger 作为前端 (centos)