Moving blog to a self-hosted server on Pogoplug

Finally I got my own server. It looks like:

Well, it’s not a rack nor a blade nor a tower. It’s just a pogoplug based on Marvell’s plug computer architecture with an ARM cpu running plugbox linux. But it is small, noiseless, and power-save.

Now this WordPress blog is running on this server. Lighttpd + FastCGI + PHP + MySQL are chosen to support WordPress. I guess Lighttpd should be smaller and faster than Apache. For database, I really want to use some lightweight database, such as SQLite, rather than MySQL. But I don’t know whether WordPress can provide a good support for SQLite. So I give up this thought. All of these softwares are running on Plugbox Linux, a linux distribution similar to Archlinux but is designed to support Marvell’s ARM cpu.

For those who also want to turn pogoplug into a linux web server, there are some tutorials on plugapps site, but some of these documents are out of date or not for Plugbox linux. And Lifehacker has a wonderful guide for turning a pogoplug into a LAMP server. Generally you can just follow this guide to make your own server.

Here are some tips that are not mentioned in Lifehacker’s guide:

  1. If you encounter some glibc compatibility problem when installing softwares, run pacman -Syyu to do a full update to your system.
  2. Make sure to create a mysql group and a mysql user before you install MySQL.
  3. If MySQL service can’t start and show some error like /var/run/mysql.sock not found, you can just use touch to create one, but remember to assign a right permission such that user mysql can read and write it. I was stuck on this for a long time.
  4. When WordPress has been installed and it can not find any plugins or themes you installed, just check the permission of related files again and correct it if user http can’t read it.


###Update Oct. 25, 2010###

As MySQL made this server quite slow, I removed the need for MySQL by using Pdo plugin for WordPress and SQLite database, which brings a considerable speed improvement.

###Update Jan. 25, 2011###

There is a modified firmware that can enable the total 256mb RAM in pogoplug v2 “pink”. You can get an installation instruction from this link. Remember to boot to the original PogoPlug OS before starting the update. The flash_erase program can be retrieved via

wget http://jeff.doozan.com/debian/uboot/flash_erase

3 comments
  1. rhys said:

    Any chance you would feel like writing a step by step getting wordpress install on your pogo plug? I have been on and off trying for a month and I get frustrated and walk away from it

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: