Weitere ähnliche Inhalte
Ähnlich wie New Relic with PHP (20)
Kürzlich hochgeladen (12)
New Relic with PHP
- 23. コマンドで
sudo rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm
sudo yum install -y newrelic-sysmond newrelic-php5
sudo nrsysmond-config --set license_key=${YOUR_LICENCE_KEY}
sudo /etc/init.d/newrelic-sysmond start
sudo sed -ie "s/REPLACE_WITH_REAL_KEY/${YOUR_LICENCE_KEY}/g" /etc/php.d/newrelic.ini
sudo /etc/init.d/httpd graceful
http://qiita.com/haman29@github/items/849926f63fc11c0a8a6f
- 25. recipes/default.rb
bash 'install_and_activate_newrelic' do
not_if 'rpm -qa ¦ grep newrelic-sysmond'
code <<-EOC
sudo rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm
sudo yum install -y newrelic-sysmond newrelic-php5
sudo nrsysmond-config --set license_key=#{node[:newrelic_license_key]}
sudo /etc/init.d/newrelic-sysmond start
sudo /sbin/chkconfig newrelic-sysmond on
sudo sed -ie "s/REPLACE_WITH_REAL_KEY/#{node[:newrelic_license_key]}/g" /etc/php.d/
newrelic.ini
sudo /etc/init.d/httpd graceful
EOC
end
- 34. 最後に
✦ Engine Yard Cloud使ってます
✤ PHP + MongoDB
✦ トイロではエンジニア募集中です!
✤ 新規サービス開発中
✤ 興味のある方はお声がけください