Category Archives: Software

Building and Installing PostGIS from Source

Prerequisites PostgreSQL You need to already have PostgreSQL, its dev package, and it libraries installed. On Fedora-based distributions, it looks like this: [root@branchpoint build]# rpm -qa | sort | grep -i postgresql postgresql92-9.2.9-1.46.amzn1.x86_64 postgresql92-devel-9.2.9-1.46.amzn1.x86_64 postgresql92-libs-9.2.9-1.46.amzn1.x86_64 postgresql92-server-9.2.9-1.46.amzn1.x86_64 postgresql92-server-compat-9.2.9-1.46.amzn1.x86_64 [root@branchpoint build]#  Eat Your Wheaties Setup local time zone. Update installed packages. Reboot. sudo ln -sf /usr/share/zoneinfo/America/Chicago /etc/localtime

Read More

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]