debian

A web and database server in your pocket with the Nokia N900

Since my last blog post on the Nokia N900 I have been experimenting more with this Linux powered device and thought it was time to go a little further to see what it could do. Just over two years ago I wrote about using the Asus EEE PC as a “server in your handbag” running Apache 2, MySQL and PHP. I could not help wondering if such a feat was possible on the N900, after all it is a Linux machine, a small computer, but running the LAMP stack on a mobile phone? Maemo, the N900's operating system is a derivative of Debian, but the packages needed have not (yet) been ported, however, there was another route: Easy Debian.

It arrived in a puff of smoke: The Nokia N900

The mysterious black boxJust before Christmas I had a delivery of a large mysterious black box. There was no obvious way to open it, on the top was engraved “Nokia – connecting people” and on the front a mini usb socket. Also packaged was a USB lead and a card telling me that this was a Nokia “hackerbox” and telling me a web site to visit for clues on how to open it. I managed to connect up the box to my computer and got a terminal session going to “log in” to the box, admittedly I used Google to find out how to get in (as I am not very good at puzzles!). Dramatically, when the right command was issued, the top of the box popped open and a puff of smoke emerged. Inside was a the Nokia N900, a Linux powered mobile phone, accessories, a plastic fox and a nice bit of cake.

Creating Mobile Codes locally - no web service needed

A long while ago I wrote about the advantages of Mobile Codes, 2D barcodes that can contain text snippets or URLs that can be interpreted by a camera phone to save the user having to input lots of text on their mobile device. I'm using the term Mobile Codes here to mean both Datamatrix and QR format barcodes. Generating mobile codes is easy, many people will use a service that will be provided on a third party website to input a few details on a web form and have the code generated for them, a good example of such a website is Nokia Mobile Codes. This is great for experimentation, however there might be a slight problem when you come to work on providing a service of your own where you need to generate mobile codes, the terms and conditions of that third party service might rule out using that site. For example, the Nokia site has a list of terms and conditions that say, amoungst other things that "The Service ... may be used solely for private, non-commercial purposes" and "No person under the age of 16...is eligible to use the Service", so if you are a fifteen year old entrepreneur you'll have to get your mobile codes from somewhere else! Fortunately, you can create mobile codes without leaving the comfort of your command line.

Saving bandwidth when using multiple Ubuntu machines with Apt-cacher

If you have more than one computer running Ubuntu (or Debian), or maybe you are experimenting with different installations of Ubuntu using something like VirtualBox, you might find yourself using a lot of bandwidth and time when downloading packages from the Internet to update or add capabilities to your machine. By default each installation of Ubuntu will go directly to the Ubuntu download servers to get packages, producing a situation where you are downloading the same file multiple times through your connection to your ISP. There is an alternative to this situation though, you can download the packages through a host on your own network that will act as a cache. The next time any machine wanting that file requires it, the cache will serve its own copy, instead of having to download it again. This is a lot quicker, as the speed in your internal network will be much higher than the speed of the connection to your ISP, it is also a great bonus if you have maximum download allowances as part of your Internet connectivity package. Setting this up is not too difficult, thanks to a program called Apt-cacher.

An idea to make software installation easier on Linux

An area where Linux is sometimes criticised is the level of difficulty expericed by people new to the operating system when installing software. Earlier today, Dr A J Cann posted an example of this criticism when he suggested that Ubuntu should follow the same model of software distribution used Microsoft Windows and Apple Mac OS X of having a downloadable installer file for your desired program. I don't agree with his suggestion, but do see his point that installing software for someone unfamiliar to Linux can seem a daunting task. If I know someone is about to try out Kubuntu, I always try to sit them down and explain the package management system to them. There is no direct equivant of this on other operating systems, so I find it helps to explain it to people. Once, somebody explained package management to me and it saved me a lot of time.

Syndicate content

Back to top