Linux

Ubuntu: Installing Zend Framework with NetBeans

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”.

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… –MARK– in /var/log/messages In /var/log/messages every 30 minutes a —- MARK —- row will be written.

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.

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!

Basic Debian installation and configuration

Add handy aliases Add the following at the end of bash.bashrc: $ vi /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.

Installing Debian on the 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.

Building the system with the eSATA SheevaPlug

The architectural setup The following list I want to connect to my eSATA SheevaPlug: Flashdisk 4 GB SDHC class 4 (for the Debian root filesystem) Eexternal USB or eSATA hard-disk 2GB or 4GB (for datastorage and variable data) Network cable (supplied in kit) miniUSB cable for serial access to the SheevaPlug (supplied in kit) power cord (supplied in kit) Explanation of this setup Flashdisk SDHC 4GB At Amazon.

How to copy and paste in PuTTY under Ubuntu?

The behaviour of copy and past in PuTTY is different than in Ubuntu. With PuTTY under Windows I never had a problem how to copy and paste, but under Ubuntu I am always confused. That is why I wanted to write it down. For me, but also for you of course. Coping from PuTTY Select the text with the left mouse button and paste with the middle mouse button.

The eSata SheevaPlug

I ordered the eSata SheevaPlug at New IT in the UK and received it 4 days later in the Netherlands. Here are some photos of the SheevaPlug, the box with all contents. And that, I was curious about the build quality of my SheevaPlug. Therefore I needed to break the warranty seal. I was surprised about the mechanical quality, I read so many bad stories about nearly broken wires and broken power supplies.

Finding a replacement for the Linksys NSLU2

Update 3-4-2012: The solution that I would choose this moment is the CuBox, it is not available in every country yet. If it is available, it will be added to the list. I am using the Linksys NSLU2 with SlugOS installed. See my posts in Dutch about the NSLU2 arjanwooning.nl/tag/nslu2/. The pros of the NSLU Reliable Low power consumption (5W) Inexpensive No problem to run 24x7, it does not get hot Fanless 2x USB 2.