Category Archives: Tutorial

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:

 Eat Your Wheaties Setup local time zone. Update installed packages. Reboot.

Install Essential Prerequisite Packages  

 Build PostGIS Prerequisites For each of the following  libraries, we go through these steps:

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 http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm 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]