Created
May 8, 2013 01:37
-
-
Save jkoppe/5537570 to your computer and use it in GitHub Desktop.
kibana2 under passenger on centos6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this works for centos6 after doing | |
# sudo yum install ruby-devel rubygem-passenger.x86_64 mod_passenger.x86_64 rubygem-passenger-native.x86_64 | |
# sudo gem install bundler | |
# cd /var/www/logvisibility/html | |
# wget kibana.tgz | |
# tar zxvf kibana.tgz | |
# modify KibanaConfig.rb | |
# sudo bundle install | |
LoadModule passenger_module /usr/lib64/httpd/modules/mod_passenger.so | |
PassengerRoot /usr/share/rubygems/gems/passenger-3.0.17 | |
PassengerRuby /usr/bin/ruby | |
<VirtualHost *:443> | |
ServerName logs.mydomain.net | |
DocumentRoot /var/www/logvisibility/html/public | |
SSLEngine on | |
<Directory "/var/www/logvisibility/html/public"> | |
Options FollowSymLinks | |
AllowOverride None | |
Include common/allow_ldap_prefix.conf | |
Require ldap-group cn=ops,ou=Webgroups,dc=mydomain,dc=com | |
</Directory> | |
CustomLog "|/usr/local/sbin/cronolog /var/www/logvisibility/logs/logvisbility_access_log.json.%Y%m%d" logstash_json | |
ErrorLog "|/usr/local/sbin/cronolog /var/www/logvisibility/logs/logvisibility_error_log.%Y%m%d" | |
</VirtualHost> | |
jkoppe@localhost in ~ at 2013-05-07 20:35:21 | |
--> rpm -q ruby httpd centos-release | |
ruby-1.8.7.352-10.el6_4.x86_64 | |
httpd-2.2.15-26.el6.centos.x86_64 | |
centos-release-6-3.el6.centos.9.x86_64 | |
jkoppe@localhost in ~ at 2013-05-07 20:37:03 | |
--> gem list | |
*** LOCAL GEMS *** | |
bundler (1.3.5) | |
daemons (1.1.9) | |
diff-lcs (1.1.3) | |
eventmachine (1.0.0) | |
fastercsv (1.5.5) | |
fastthread (1.0.7) | |
json (1.7.5) | |
rack (1.4.1, 1.1.0) | |
rack-protection (1.2.0) | |
rake (10.0.4, 0.8.7) | |
rspec (2.11.0) | |
rspec-core (2.11.1) | |
rspec-expectations (2.11.3) | |
rspec-mocks (2.11.3) | |
sinatra (1.3.3) | |
stomp (1.2.2) | |
thin (1.5.0) | |
tilt (1.3.3) | |
tzinfo (0.3.35) | |
jkoppe@localhost in ~ at 2013-05-07 20:37:06 | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment