Linux

SSH and SFTP tunnels via ProxyCommand

Recently on CyberCity nice article appeared about using middle server to connect to our destination servers. Most of servers have firewalls which  allow connect only from given pool of IP addresses. So tunnelling is very useful as long we are using it in smart way.

VIPS on Amazon Linux AMI

VIPS on Amazon Linux AMI

VIPS  s a free image processing system (library) – in comparison  to similar libraries is super fast, and does not neet much memory. Checkout this speed memory usage . In most cases you can install it by using this handy script:

curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | sudo bash -

In some cases you have to install it from source.

XCache vs APC PHP 5.4.x

XCache vs APC PHP 5.4.x

Recently I decided to run some upgrades on my servers, and go up to PHP 5.5. I’ve been using APC for a while (convenience) – usually is also bundled with all available repositories, or you can just grab it via PECL. Before that I was always with XCache . But… as long APC is no lonager maintained (last upgrade 2012) I make a call about going to XCache. Run some benchmarks, and here what we got.

FFmpeg on AMI Linux and CentOS the easy way

FFmpeg on AMI Linux and CentOS the easy way

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. All you need to do is just install one more repository: http://rpmfusion.org/Configuration wget http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm sudo rpm -Uhv rpmfusion-free-release-6-1.noarch.rpm wget http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm sudo rpm -Uhv rpmfusion-nonfree-release-6-1.noarch.rpm sudo yum install ffmpeg Done. ffmpeg version 0.10.15 Copyright (c) 2000-2014 the FFmpeg developers built on Aug 30 2014 15:49:19 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3) Obviously there is no fun with FFmpeg if you don’t have anything to convert.