Category Archives: Server Side

Perl One Liners

Overview Perl has a reputation as a write-only language and one that is difficult to use. While you can write unreadable code in any language, aspects of Perl make it difficult for novices to read and encourage poor readability. There is one area where Perl remains the unquestioned champion: one-liners. One Liner Perl was originally

Read More

Updating PHP on CentOS 6.3

Despite the fact that this references i386 when installing the repository, the subsequent package updates work for x86_64. [bash] rpm -Uvh rpm -Uvh yum –enablerepo=remi,remi-test install httpd php php-common yum –enablerepo=remi,remi-test install php-pecl-apc php-cli php-pear php-pdo php-mysql php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml service httpd restart [/bash]

Setting Up EC2 Web Server

Getting X11 Forwarding Working It can be confusing to see the report {code}WARNING! The remote SSH server rejected X11 forwarding request.{/code}. You’ve made sure that {bash}/etc/ssh/sshd_config{/bash} has X11 forwarding enabled and that a local X Server is running. The problem is that many servers do not have {bash}xauth{/bash} installed by default. Adding this enables X11

Read More