Tag Archives: quick-tips

Varnish – tips trick #1

Here’s varnish tips trick number 1

How to check varnish rule? Create a file (ie: check-varnish.sh) with this content:

#!/bin/bash
varnishd -C -f /etc/varnish/default.vcl

How to check top domain on multi domain varnish configuration? Create a file (ie: check-top-domain.sh) with this content:

#!/bin/bash
varnishtop -i RxHeader -C -I ^Host

reverse proxy trick, varnishing tips and tricks, varnish vcl trick, varnish reverse proxy multiple domain, varnish reverse proxy configuration multi domain, varnish as proxy ubuntu, uc trick reverse proxy, ubuntu getty ttys0, trick reverse proxy proxy list, tips budi en

Mplayer Encoder

If you’re using Ubuntu, the default install of Ubuntu can’t play movie file. ie .avi, .mpg, etc. You need to install an encoder.

$sudo aptitude install mencoder

Then you’re ready to play your movie files.

[short link]

mplayer encoder, Encoding using mplayerencoder, exec /sbin/getty -L 38400 ttyS0 vt102, mplayerencoder for ubuntu, Ubuntu|budiwijaya net

How to take a sneak peek postfix mail queue

Sometimes we — Sysadmin, need to see what is the content of mail in the queue. If you are using postfix, you can do

$sudo postcat -q 9B44FC820A

You can change 9B44FC820A with the queue number on your server.

postfix where is the queue and peek, how to sneak mail postfix, peek mail postfix, perintah terminal emulator android tidak jalan, postfix peek