Monday, June 11, 2012

ThinkUp on Raspberry Pi

Tonight I installed the cool social networking monitoring tool ThikUp on my new Raspberry Pi with the lastest debian code drop.

  1. Downloaded the new (11-Jun-2012) test Debian/Wheezy image as announced on

  2. Since I'm using a new 4GB MMC card and the image was built for 2GB, ran "sudo rasp_config" to resize the disk and bias memory toward SoC instead of the video card. Rebooted. Realized it didn't reboot, pull power and boot

  3. 3) I run a a local apt-proxy to save bandwidth, so created /etc/apt/apt.conf that contains:

    Acquire::http::Proxy "";

  4. 4) Update the apt-cache:

    sudo apt-get update

  5. Install useful bits:

    sudo apt-get install emacs screen mysql-server php5 php5-curl php5-gd php5-mysql

    This installs ~61M of new packages and pulls in a suitable apache server.

  6. Now time to install thinkup:

    sudo -i
    cd /var/www/
    unzip ~pi/
    chown -R www-data /var/www/thinkup/data/
    sudo touch /var/www/thinkup/
    sudo chown www-data /var/www/thinkup/

  7. point a browser to

  8. Since I didn't bother to setup outbound email, need to manually
    update the thinkup table. See

    mysql -u root -p
    mysql> use thinkup;
    mysql> select id,full_name, is_activated from tu_owners;
    | id | full_name | is_activated |
    | 1 | Marc Nozell | 0 |

    1 row in set (0.00 sec)

    mysql> update tu_owners set is_activated=1 where id=1;
    mysql> commit;
    mysql> exit;

  9. Point a browser to and setup
    connections to your favorite social media sites.