Home »
Posts taggedCentOS
For those of you who don’t know TCMalloc is short for Thread-Caching Malloc. It’s docs can be found here which show a more in depth view. TCMalloc can also be used with other applications via LD_PRELOAD, or by recompiling with the -ltcmalloc linker flag. If you plan on using...
Continue reading
March 3, 2014 admin
Random Goodies
No Comment
While there’s a few articles out there on this, personally I can’t stand the broken links to the release packages. As a SysAdmin, speed is critical. With speed being critical, and all of us having our trusty set of one-liners to shave time off repetitive tasks, I wanted...
Continue reading
March 1, 2014 admin
Random Goodies
1 Comment
While the easiest way currently is to install HAProxy from a repo, chances are the 1.4 version is still there, which does not support SSL natively. As such, we’re going to be going over installing HAProxy on a 64bit CentOS (both CentOS 5 and CentOS 6 installs would...
Continue reading
February 11, 2014 admin
Random Goodies
No Comment
Time for another update. So recently I’ve been benchmarking a lot out of Apache/Nginx/PHP-FPM/FastCGI, and the conclusion I came to was Nginx + PHP-FPM is still the most solid combo. With that being said, let’s get down and dirty 🙂 First some dependencies: Install Epel & Nginx repositories:...
Continue reading
January 31, 2014 admin
Random Goodies
2 Comments
What easier way to share data across multiple operating systems than using NFS. In this article I will be going over setting up NFS servers on both CentOS and Ubuntu, then the remote mounts using options found to be optimal in most production environments. Now for some action…...
Continue reading
January 11, 2014 admin
Random Goodies
No Comment
As most of us continue to expand our web footprints, we tend to use load balancers and reverse caching proxies to better handle and spread server loads. When doing so however, we still want to see the originating client IP, and not the IP used by HAProxy, Nginx,...
Continue reading
September 25, 2013 admin
Random Goodies
No Comment
I recently noticed that CentOS will refuse to assign an out of network gateway IP. Even though your network scripts syntax may be correct, it will still refuse to work no matter how many times you restart your network 🙂 Assuming your configuration is: IP: 1.2.3.4 Device: eth0...
Continue reading
January 22, 2013 admin
Random Goodies
No Comment
Tired of applications with poor or no caching options? Don’t wish to change your PHP Handler for OPCode? Need a boost? Give Mod_Pagespeed a try! Mod_Pagespeed was developed by Google and it acts as an internal proxy which combines your CSS/Javascript/Images then serves them inline and much more....
Continue reading
October 23, 2012 admin
Random Goodies
6 Comments