????6???????nginx.conf??????????????nginx??puppet-server??????????β??????

????1????????????puppetmaster?????????????nginx?????nginx????????????????????????


/usr/local/nginx/sbin/nginx


????nginx???puppetmaster????8140??????????????????????????8140??????nginx?????????????


lsof -i:8140


????????????????????8140??nginx????????????????


COMMAND    PID    USER     FD     TYPE DEVICE SIZE/OFF NODE NAME
nginx     4121    root        6u    IPv4    20668            0t0    TCP *:8140 (LISTEN)
nginx     4122    www    6u    IPv4    20668            0t0    TCP *:8140 (LISTEN)


?????????????puppetmaster???????????????


service puppetmaster start


???????ruby?汾?1.8.5????????????puppetmaster??????????棬?????????


Starting puppetmaster:
Port: 8141** Ruby version is not up-to-date; loading cgi_multipart_eof_fix

                                                                                                [        OK        ]
Port: 8142** Ruby version is not up-to-date; loading cgi_multipart_eof_fix

                                                                                                [        OK        ]
Port: 8143** Ruby version is not up-to-date; loading cgi_multipart_eof_fix

                                                                                                [        OK        ]
Port: 8144** Ruby version is not up-to-date; loading cgi_multipart_eof_fix

                                                                                                [        OK        ]
Port: 8145** Ruby version is not up-to-date; loading cgi_multipart_eof_fix

                                                                                                [        OK        ]

??????ξ????????????

????It's just a warning. Mongrel wants a Ruby version of at least 1.8.6.

????But it still runs just fine with previous versions. Just ignore the warning.

????????????????????

????Mongrel???ruby??????1.8.6?????汾??????????????汾???У????????????棬?????????puppet???л?????????????????????????1.8.5?汾??ruby????????κ???????????????