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 [...]

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. Configuring WAMP for wildcard domains If you not WAMP installed already, you can find here: www.wampserver.com/en/ After the download you can install it with the default parameters. After installation [...]

One of my WordPress plugins had often bad functioning updates (Organize Series). With this updates I had to recover the corrupted database by hand. A lot of work. It is possible to ignore the updates, but you make easily the mistake to update it with the others. To protect you to this, it is possible to disable the update with a couple of simple rows of code. You have to be careful, sometime a plugin needs to be updated for the safety aspect. In that case you can do the update by hand or just remove these rows of code [...]

Currently I have to use a pretty slow mobile internet connection. And sometimes a program is using a lot of my bandwidth. This means that I am unable to open websites or I have to wait very long. This is annoying. So I was searching for a method to monitor the network traffic per program. Netstat and CurrPorts It is possible to use the netstat command on the command line. This lists the open TCP /UDP connections including info.  A more detailed program, which is more luxury than netstat is CurrPorts. But like netstat it does not show the network traffic, only [...]

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. Installing the Zend Framework First we are going to install Zend: # sudo apt-get install zend-framework-bin This will also install the package: “libzend-framework-php”. It will not install the packages: “zend-framework” and “libzend-framework-zendx-php”. These packages are still available for installation. The Zend library is installed in the [...]

This article is part 3 of 3 of the guide Debian

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… –MARK– in /var/log/messages In /var/log/messages every 30 minutes a —- MARK —- row will be written. This can be switched off by configuring the rsyslogd. Open the rsyslog.conf file and comment out the “$ModLoad imark” by putting a ‘#‘ [...]

This article is part 1 of 3 of the guide Debian

First 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 [...]

This article is part 4 of 4 of the guide SheevaPlug

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 [...]

This article is part 2 of 3 of the guide Debian

Add handy aliases Add the following at the end of /etc/bash.bashrc: alias ll=’ls -l’ alias pg=’ps -ef|grep’ alias vi=’vim’ The last alias “vi” is to use vim instead of vi. vim is the more luxury editor ;-). To install vim, enter the following command: # apt-get install vim Network settings I want to have a fixed IP address, instead of DHCP. Open the interfaces file and put the following settings in that file. Adapt the address, netmask and gateway to your own network: # vi /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback # The primary network [...]

This article is part 3 of 4 of the guide SheevaPlug

The next step in this SheevaPlug guide is installing Debian on the SheevaPlug. Default on the SheevaPlug, Ubuntu 9.04 is provided. Ubuntu 9.04 will not be supported for a very long time any more and a Ubuntu 9.10 or higher is not available. That is why I want to install Debian on the Kingston 4GB SDHC card. Please read first the article Building the system with the esata sheevaplug, if you did not do that already. Connecting cables and card First we need to connect all cables to the SheevaPlug: network, mini USB for serial connection. Also insert the SDHC card. After that [...]