Σάββατο 18 Αυγούστου 2012

Raspberry Pi Crude Benchmark

I created a very crude calculation benchmark to compare Raspberry-Pi against Alix and MicroClient Jr, calculating PI to 2000 decimal places:

time echo "scale=2000;4*a(1)" | bc -l

Here are the results:

Raspberry-Pi : 0m25.210s
Alix: 0m42.063s
MicroClient Jr: 1m32.134s

Παρασκευή 17 Αυγούστου 2012

/etc/apt/sources.list -- Lenny

Now that Lenny has been archived, you will need to update your /etc/apt/sources.list file. It should now look like this:

CODE: SELECT ALL
deb http://archive.debian.org/debian lenny main
deb http://archive.debian.org/debian-security lenny/updates main
deb http://archive.debian.org/debian-volatile lenny/volatile main
deb http://archive.debian.org/backports.org lenny-backports main

That'll keep you going for a few more years! . 


My Little Raspberry Pi

I just received my tiny Raspberry Pi (http://www.raspberrypi.org/). An ARM/Linux box for embedded linux projects for just 25$. Some projects to work on:



The Raspberry Pi® is a single-board computer developed in the UK by the Raspberry Pi Foundation with the intention of stimulating the teaching of basic computer science in schools. The design is based on a Broadcom BCM2835 system on a chip (SoC), which includes an ARM1176JZF-S 700 MHz processor, VideoCore IV GPU, and 256 megabytes of RAM. The design does not include a built-in hard disk or solid-state drive, instead relying on an SD card for booting and long-term storage. The Foundation plans to support Fedora Linux as the initial system software package/distribution, with support for Debian and Arch Linux as well -Wikipedia.

Σάββατο 4 Αυγούστου 2012

Debian - Free up some disk space

Just recently, I ran out of disk space and the lcd panel stopped working. The OWWUPDATE couldn't be updated and it was always null. How do you avoid this problem? 

clean up log files
rm /var/log/*.gz
rm /var/log/*.old
rm /var/log/*.1
rm /var/log/*.2


clear the apt-get cache. The apt's cache is never cleaned out. Apt caches all the .deb files and that can quickly eat your disc space. To clear it:

apt-get clean