Mute - mute.nu - LPE
General Information:
Latest News:
Caching content in Nginx 20 Mar 2013 | 11:09 am
Just a quick snippet of configuration to set up caching in Nginx. [crayon-514a12f785312/]
How to set up a 2-node Apache and MySQL fail over environment 28 Sep 2012 | 05:43 pm
I’ve been thinking about this set up for quite a while and never really gone all the way and solved it, but yesterday I finally did! What I’ve setup is this: Two nodes, called web1 (192.0.2.1) and web...
swapfinder.sh 17 Jul 2012 | 03:19 pm
Found this post a while back while one of our machines were swapping heavily and thought I’d make it a bit prettier for my eyes. Just change the -n10 to as many lines of output you want.
How to get the spent time in bash snippets 5 Jun 2012 | 10:21 pm
A sample snippet that have proven very useful in backup scripts for troubleshooting and alike.
How to proxy through Nginx and handle response errors 24 Apr 2012 | 09:23 am
The third post in my Nginx flow, or whatever. A very good configuration example if you’re proxying requests to different backends and wants to “failover” if the backend server returns a 404 error cod...
Automatic Nginx maintenance page 24 Apr 2012 | 09:15 am
A small snippet I’m using to put sites in to maintenance mode, even though I admit it’s not something you should do in 2012, it’s still needed from time to time and this minimize the downtime atleast ...
Nginx as static cache frontend proxy for Apache 24 Apr 2012 | 09:03 am
Nearly more standard then not, running Nginx infront of Apache to cache static content is today a very common way of lowering the load on your server, and it’s truly an extremely easy setup, which I’l...
“Collector is not started!” error in Zabbix 9 Apr 2012 | 06:30 pm
A quite brain dead error message, but it basically means that your performance counters are fubar and this is the solution. lodctr /R On your host and then restart the agent, this command basically ...
A deep dive in to /var/log/lastlog 13 Jan 2012 | 10:33 am
A few days ago we had a very peculiar situation at work regarding the file size of /var/log/lastlog and I decided to find out why. This was the initial output that made me very confused: [root@dev ~...
DNS zone transfer scripts for PowerDNS to BIND 28 Oct 2011 | 07:16 pm
Our current setup is an internal PDNS server with the MySQL back-end and three BIND slaves scattered across the country, and this is how we transfer zones from the master to the slaves. On the master...