Computing dependencies for nginx The following dependencies will be installed: bzip2 libedit ncurses openssl openssl3 pcre zlib
直接选 y 安装即可。
nginx 安装完成后,会提示安装的位置:
1 2 3 4 5 6 7 8 9 10
nginx has the following notes: A setof sample configuration files has been installed in /opt/local/share/nginx/examples.
Additionally, the files nginx.conf, mime.types, fastcgi.conf have been copied to /opt/local/etc/nginx if they didn't exist yet. Adjust these files to your needs before starting nginx.
A startup item has been generated that will aid in starting nginx with launchd. It is disabled by default. Execute the following command to start it, andto cause ittolaunchat startup: