Category: Linux

ffmpeg: How to speed up video AND audio.

You need ffmpeg version 2.x – download from here if you don’t have it: or compile the latest version from source: Here’s a script I use to resize my GoPro videos and speed them up by 4 times: The max value for ‘atempo’ is 2, so you have to string two of them […]

Plesk Error “553 sorry, that domain isn’t in my list of allowed rcpthosts; no valid cert for gatewaying (#5.7.1)”

Got this error when sending mail to one of the domains hosted on a Plesk server: “553 sorry, that domain isn’t in my list of allowed rcpthosts; no valid cert for gatewaying (#5.7.1)” for some weird reason the domain name did not exist in /var/qmail/control/rcpthosts logging into plesk and disabling mail server for that domain then […]

Plesk with Wildcard Subdomain and Fixed Subdomain

You can setup a wildcard subdomain in plesk using a /conf/vhost.conf file on the virtual host ( eg:  ServerAlias * ) If you then go and create a static subdomain ( eg: ) using the plesk interface there is a good chance that the previous wildcard subdomain will take precedence ( because it was […]

DNS doesn’t work on Plesk Amazon AWS EC2 Instance

The default Plesk firewall/security rule blocks UDP port 53 but allows TCP 53. To enable UDP port 53 (and hence get DNS working correctly) go to your EC2 Dashboard, click on Security Groups, click on the item relating to the Plesk instance (mine was called “Parallels Plesk Panel with PowerPack”) click on Inbound tab and […]

MediaTemple DV – Centos 6.4 – install memcached and PECL memcache

# yum install memcached ^^ this should work just fine. edit the /etc/sysconfig/memcached to only allow localhost connections: PORT=”11211″ USER=”memcached” MAXCONN=”1024″ CACHESIZE=”64″ OPTIONS=”-l″ And make sure memcached starts at boot chkconfig –add memcached An attemp to install the PHP memcache PECL module using YUM failed though: [root@dtbaker ~]# yum install php-pecl-memcache Loaded plugins: fastestmirror, priorities […]

Plesk Linux – create a manual DNS zone file

Not recommended – but if you have to then it works and this is how you do it: (eg: you could host some dns entries for a domain that doesn’t exist in plesk) add this code to the /etc/named.conf file: zone “” { type master; file “”; allow-transfer {; common-allow-transfer; }; }; create a […]

Tunnelling over DNS UDP port 53

Tried these with various levels of success: Your computer: socat tcp4-listen:5353,reuseaddr,fork UDP:your-server-ip-address:53 Server where you have root access and nothing already listening on port 53: sudo socat -T15 udp4-recvfrom:53,reuseaddr,fork tcp:localhost:5353 This will create a tunnel from any local TCP connections to localhost:5353 – over UDP port 53 – back to TCP port localhost:5353 on the […]