MediaTemple: Enable Imagick on your GS

Here's how to enable Imagick on your GS:   1. Download the latest stable from http://pecl.php.net/package/imagick   2. Create folder to store the compiled module: mkdir /home/$SITEID/data/lib mkdir /home/$SITEID/data/lib/php/     3. Uncompress it tar -xvzf imagick-3.1.2.tgz cd imagick-3.1.2   4. Configure it with phpize (I'm using php 5.5.5 on… Continue reading

Hosting: Enabling Redis class on MediaTemple’s gridserver (gs)

Here's how I enabled access to a Redis server from my (GS) gridserver: 1. Store your SITEID in a variable: export SITEID=`pwd | awk -F\/ '{ print $3 }'`   2. Create a folder to store the redis.so module mkdir /home/$SITEID/data/lib mkdir /home/$SITEID/data/lib/php/   3. Get the Redis PECL package… Continue reading

Linode: Install mysql from package

  # pacman -S mysql resolving dependencies… looking for inter-conflicts… Targets (3): libmysqlclient-5.5.30-7  mysql-clients-5.5.30-7  mysql-5.5.30-7 Total Download Size:    12.81 MiB Total Installed Size:   123.89 MiB Proceed with installation? [Y/n] y :: Retrieving packages from extra…  libmysqlclient-5.5.30-7-x86_64        3.4 MiB   129K/s 00:27 [##################################] 100%  mysql-clients-5.5.30-7-x86_64       834.8 KiB   115K/s 00:07 [##################################] 100%  mysql-5.5.30-7-x86_64                … Continue reading

Linode: Update your ArchLinux VPS

connect 2 sessions on your Linode   On the second, run this: dd if=/dev/urandom of=/dev/null   on the first one, do the following: pacman-key –init   You can stop the dd process on the second connnection pacman-key –populate archlinux pacman-key –refresh-keys   Update pacman pacman -Sy pacman   Update your… Continue reading

Raspberry Pi: installing a LAMP server

Let's put the Raspberry Pi to good use:   1. Install Mysql sudo pacman -S mysql 2. Start your server # systemctl start mysqld 3. Secure your mysql installation # /usr/bin/mysql_secure_installation ——————- NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL       SERVERS IN PRODUCTION USE!  PLEASE… Continue reading

LAMP: Installing on Slackware 13.37 64-bit

Ongoing post:   1. Download Apache ( http://httpd.apache.org ) tar -xvjf httpd-2.2.21.tar.bz2 cd httpd-2.2.21 I like Slackware, but I also like the Apache layout installed in Debian distributions, so: ./configure –enable-layout=Debian–enable-module=most –enable-mods-shared=most –enable-ssl=shared make make install 2. PostgreSQL ./configure –with-perl –with-openssl gmake all gmake install     PHP ./configure –with-pgsql… Continue reading

/bin/bash: Remove Dreamweaver synchronization “stuff” from your hosting

As an online note, I’m writing this post to remind myself and help others that still suffer using Dreamweaver on a daily basis and at some point end up having a bunch of unwanted folders and files that Dreamweaver keeps for synchronization information. To remove all that from a Linux… Continue reading