23 April 2014

The Ruby Reflector

Topic

Ubuntu

  Source Favicon
By Lucas Welch of Chef Blog 21 days ago.
Email

Chef cookbook must be available to be found, and that we use a standard template for an Ubuntu box. Many more templates and boxes are just waiting for you and are offered as part of the Vagrant feature set or provided by the community, see http://www.vagrantbox.es . Finally, this snippet shows Chef solo in action, that is a good choice for getting started. For more information on Chef, please consult the comprehensive documentation http://docs.opscode.com/.

A complementary approach …

opscode.com Read
  Source Favicon
By Todd Hoff of High Scalability 3 months ago.
Email

Hey, it's HighScalability time:

From the stunning Scale of the Universe - Interactive Flash Animation

$ 7 trillion : US spend on patrolling oil sea-lanes; 82 billion : files served by MaxCDN in 5 months

Quotable Quotes:

@ StephenFleming : " Money doesn't solve scaling problems, but the actual solutions to scaling problems always cost money." http://daringfireball.net/2014/01/googles_acquisition_of_nest

highscalability.com Read
  Source Favicon
By Hongli Lai of Phusion Corporate Blog 3 months ago.
Email

Fixed incorrect detection of the Apache MPM on Ubuntu 13.10.

When using RVM, if you set PassengerRuby/passenger_ruby to the raw Ruby binary instead of the wrapper script, Phusion Passenger will now print an error.

Added support for RVM >= 1.25 wrapper scripts.

Fixed loading passenger_native_support on Ruby 1.9.2.

The Union Station analytics code now works even without native_support.

Fixed passenger-install-apache2-module and passenger-install-nginx-module in Homebrew. …

blog.phusion.nl Read
  Source Favicon
Email

…is to run the following: cat /boot/config-`uname -r` | grep HZ I think the issue was prevalent on Ubuntu images, i'm not sure if CentOS was affected, but on checking the CentOS image I am using here it appears fine (i.e. it's using 1000Hz).

SSH into your new instance.

Fetch the EPEL repository definitions from the Fedora Project - the RightScale image I am using included some EPEL settings so I disabled them (by editing the .repo files, an exercise for the reader!) …

thewebfellas.com Read
  Source Favicon
By Michael Ducy of Chef Blog 4 months ago.
Email

…could use it to simply restart a whitelisted service if needed. Let's look at a tomcat recipe for Ubuntu that allows us to find our HAProxy server and start a chef-client run. include_recipe "java"

# define our packages to install tomcat_pkgs = ["tomcat6","tomcat6-admin"]

tomcat_pkgs.each do |pkg| package pkg do action :install end end

# setup the service to run service "tomcat" do service_name "tomcat6" supports :restart …

opscode.com Read
  Source Favicon
On igvita.com 4 months ago.
Email

Fresh Ubuntu server in ec2-west (micro instance) with nginx v1.4.4 (stable).

The server is configured to serve a single 20KB (compressed) file.

The TLS certificate is ~5KB and is using a 2048-bit key.

The measurements are done with WebPageTest: 3G profile (300ms delay), Chrome (stable channel), Dulles location (~80ms actual RTT to the EC2 instance on the west coast).

The total client to server roundtrip time is ~380ms. As a result, we would expect a regular HTTP connection …

igvita.com Read
  Source Favicon
By Hongli Lai of Phusion Corporate Blog 4 months ago.
Email

…cause Phusion Passsenger to crash during startup. Affected operating systems include Ubuntu 12.04 and Amazon Linux 2013.09.01, though not every machine with this OS installed exhibits the problem. See issue #902 .

Improved Node.js support: the Sails framework is now supported.

Improved Node.js support: the streams2 API is now supported.

Introduced support for hooks, allowing users to easily extend Phusion Passenger's behavior.

Fixed a bug in the `passenger …

blog.phusion.nl Read
  Source Favicon
By Sara of Heroku 4 months ago.
Email

…associate publisher of Linux Pro Magazine, ADMIN, and Ubuntu User, and as the managing editor of Sys Admin magazine. Find her online at rikkiendsley.com and @ rikkiends on Twitter.

A code of conduct is a signal to attendees that conference organizers have carefully considered the issues involved with attending events, and that they want to make their conference welcoming and safe for everyone. Heroku recently adopted an event sponsorship policy that shows that the company recognizes …

blog.heroku.com Read
  Source Favicon
Email

Percona XtraDB Cluster 5.5 installation to fail on Ubuntu 12.04. Bug fixed # 1247861 .

When installing first Percona-XtraDB-Cluster-client and then Percona-XtraDB-Cluster-server on two single statements or a single statement with both packages , yum would install percona-xtrabackup-20 instead percona-xtrabackup package as dependency of Percona-XtraDB-Cluster-server . Bug fixed # 1226185 .

If SELECT FOR UPDATE... query was aborted due to multi-master …

mysqlperformanceblog.com Read
  Source Favicon
By Mike Ackerman of Viget.com Blogs 5 months ago.
Email

…different packages in your respective application environments ( OS X vs Ubuntu).

While PDFKit worked great at first, I eventually encountered a roadblock: I needed to be able to include different stylesheets & layouts for different "types" of PDF files, which PDFKit didn't have any mention of supporting. I was also struggling to get asset paths working correctly on Heroku. The PDF generation actually happens in a separate process, so I somehow needed to use absolute …

viget.com Read