Configuring WordPress 3 with Multisite and second-level domains

I would like to test if it works to serve more websites from one Wordpress installation. By default Wordpress supports subdomains (like Wordpress.com) but I would like to run the installation with second-level domains (SLD). This is described in this article. Maybe in the future Wordpress will support SLD, in that case I will report that in this article.

Why this article?
Yes, I know there are a lot of other howto’s about to install Wordpress Multisite. I did not find a correct one and it confused me. To install Wordpress Multisite for SLD is not complex, it is robust, but there are some tricky things that you need to know. That is why I wrote this article. Ok, let’s start!

Continue reading

Wildcard domains DNS and local WAMP for website development

When developing websites on a  local WAMP installation, I often need control over the DNS. It is no problem to add a hostname to the Windows hosts file, but a wildcard in the domain does not work. For example you need a wildcard domain when installing Wordpress Multisite locally with subdomains. This article has the solution to add wildcards to your local WAMP installation, without installing Bind or other heavy DNS solutions.

Continue reading

Ubuntu: Installing Zend Framework with NetBeans

Zend Framework logo

To install Zend Framework is not as straight forward like other PHP Frameworks. Also to install it with NetBeans it was not described very well on blogs.sun.com/netbeansphp site. Let’s start!

My assumption is that NetBeans is installed already on Ubuntu. I used NetBeans 6.9.1 and Ubuntu 10.10. In NetBeans are also the PHP plugins installed.

Continue reading

Tips to spindown your hard disk in Debian or Ubuntu

First

Before we are going into depth, first check if the (external) hard disk is able to go in spindown. Disable all services which has disk access periodically, for example:

# /etc/init.d/asterisk stop
# /etc/init.d/rsyslog stop
# /etc/init.d/apache2 stop
# /etc/init.d/mysql stop
# /etc/init.d/samba stop
# /etc/init.d/cron stop
# /etc/init.d/ntp stop
# /etc/init.d/rsync stop

And all other daemons which are suspicious…

Continue reading

Debian root on a flash disk and the data on a hard disk

This article is about installing Debian on a flash disk, like SD card, flash disk, Solid State Disk etc. The goal is to have the data on a hard disk. This will increase the lifetime of the flash disk.

Assumption of this article is that Debian is already installed on a flash disk in the root “/”-directory.
In the article Installing Debian on the Sheevaplug there is also a separate “/boot” ext2 partition, because U-Boot is unable to read from ext3 partitions. This article is written while installing Debian Squeeze on the SheevaPlug, but this article can also be used for other Debian or Ubuntu systems. Only the device names and partitions can be different.

Continue reading

Sheevaplug boot from SD card fails on power up

After installing Debian on SD card, it was booting successfully with the ‘run bootcmd‘. But when I switched off the power and plugged in again, I was getting the following error messages:

Error! cmd : 8, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
No MMC card found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number
Marvell>>

 

Continue reading