Sunday, September 21, 2008

17 years of linux - 0.0.1

http://alexandrubucur.com/2008-09-17/17-years-linux
you can still run linux 0.0.1 on an qemu/bochs machine , in kvm seems to crash the vm

http://kerneltrap.org/Linux/Dusting_Off_the_0.01_Kernel




here is the kvm crash , i should submit to them the bug
Jeos + kvm + ubuntu

this is the virtual machine i have created with qemu manager (see the previous screenshots from the blog)

I started this way
/media/MULTIMEDIA/Downloads/jeos_ubuntu$ sudo kvm -hda jeos.dsk




Ok is not so sexy but i will add xfce and flamerobin on it quite fast :)

Writing a crawler with WWW::Mechanize

A pragmatic approach to writing a mp3 crawler in perl

read more | digg story

Saturday, September 20, 2008

I love the qemu manager on windows

http://www.davereyn.co.uk/download.htm

Is very easy to create an ubuntu/windows virtualmachine and is quite similar with virtualbox 
in usage and for me is quite fast on an athlon64x2 with 2G of ram 







so the kernel team is going in the right direction in ubuntu

http://blog.redvoodoo.org/2008/09/linux-plumbers-conference-recap.html

* The kernel team will be packaging up the latest bleeding edge upstream "Vanilla" kernel. There are some details still to be worked out, like where it will live. Will go in main or universe, a PPA... The point with this is so that users will have a pristine upstream kernel to test against. This is where the kernel team is doing new development anyway. If the issue is fixed we can quickly do a git bisect and figure out what patch is needed and backport it to the stable kernel if it makes sense. I'll write more about this one in a future blog posting.
Reverse SSH Tunneling

Have you ever wanted to ssh to your Linux box that sits behind NAT? Now you can with reverse SSH tunneling. This document will show you step by step how to set up reverse SSH tunneling. The reverse SSH tunneling should work fine with Unix like systems.

Let's assume that Destination's IP is 192.168.20.55 (Linux box that you want to access).

You want to access from Linux client with IP 138.47.99.99.

Destination (192.168.20.55) <- |NAT| <- Source (138.47.99.99)

[Ed:Ignore the microsoft ads and the nice thing is that now i can open xapplications on remote servers behind NAT, Just add -X to the bellow example from step2

$ssh localhost -p 19999 -X

http://www.howtoforge.com/reverse-ssh-tunneling

Reverse SSH Tunneling HowTo

Have you ever wanted to ssh to your Linux box that sits behind NAT? Now you can with reverse SSH tunneling. This document will show you step by step how to set up reverse SSH tunneling. The reverse SSH tunneling should work fine with Unix like systems.

read more | digg story

Friday, September 19, 2008

compiling pdo support in php - needed for phpmyfaq


or compiling php 5.2.x with pdo support all i did at configuration time is like adding
--with-pdo-firebird=/opt/firebird switch
then make; make install
Check the phpinfo() and pdo_firebird was there



cat config.nice
Code:
#! /bin/sh
#
# Created by configure

'./configure' \
'--with-apxs2=/opt/apache2.2/bin/apxs' \
'--prefix=/opt/php5.1' \
'--with-xml=shared' \
'--with-pdo-mysql=/opt/mysql-5.0.18/' \
'--with-pdo-firebird=/opt/firebird' \
"$@"


then download phpmyfaq

In my case 2.5.0 but the same apply to 2.0.8

http://www.phpmyfaq.de/download.php?do=download&number=2.5.0-alpha&ext=.tar.gz
unzip-it
tar -zxvf phpmyfaq-2.5.0-alpha.tar.gz
chown www-data.www-data phpmyfaq-2.5.0-alpha
chmod -R g+rw phpmyfaq-2.5.0-alpha
mv phpmyfaq-2.5.0-alpha phpmyfaq

and run the installer

http://localhost/phpmyfaq

Thursday, September 18, 2008

To fully appreciate Nginx, the web server, it helps to understand Batman, the comic book character.

Batman is fast. Nginx is fast. Batman fights crime. Ngine fights wasted CPU cycles and memory leaks. Batman performs well under pressure. Nginx, for its part, excels under heavy server loads.

But Batman would be almost nothing without the Batman utility belt.


Start to learn Batman utilities


http://emiller.info/nginx-modules-guide.html



zero patches policy and zero bugs

I think ubuntu/debian should contribute more to the upstream also
in the debian directory it should be no patches all should be merged upstream
in fact in an ideal world we should have an

simple apt-get upgrade kerner.org-vanilla that should take the latest kernel and compile it for debian/ubuntu or at least we should have an generic kernel with no local patches

http://www.kroah.com/log/linux/lpc_2008_keynote.html

bugs should be handled submited to upstream and we should not have an central repository and
bugtracker

think that git is distributed and patches should go easily upstream (in fact you can get the specific tag)
the same should be for bugs they should be distributed

Wednesday, September 17, 2008

Ubuntu 8.04.. annoyances part 1


I agree with some of them http://jengelh.medozas.de/2008/0609-ubuntu.php

Seems that is impossible to install it on an kvm/qemu machine without graphic mode

  1. Entering a wrong command implies a 0.983 second delay because it needlessy searches for suggestions.
  2. NO textmode install it seems
  3. Trying to boot with vga=0 to get an 80x25 screen and a sane font. Framebuffer is still started. Stupid.

Pandora Devboard - Quake 2 demo

full 3d acceleration in the pocket , is an amazing thing to have the q2 in the pocket :)

Beagle Board 3D, Angstrom, and Ubuntu June 2008

opengl 2.x in your pocket :) impressive

Tutorial of the Week:

· Ever wanted to have a portable operating system? One that can reside inside a small USB flash drive? In the past, it was possible to run a Linux distribution from an USB stick just like you would have run it from a Compact Disc, but this task was quite hard to achieve. Why? Simply because you had to type a lot of geeky commands in a terminal and if, somehow, you forgot one or typed something wrong, the whole process had to be started all over again. Not to mention that it could take about 1-2 hours to make a bootable USB stick. Therefore, this guide is here to teach you some new Linux magic tricks on how to achieve a portable Linux operating system, in no more than 5 minutes! How? With the help of a great and marvelous tool called UNetbootin.

The tutorial was tested with the Ubuntu 8.04.1 LTS and BackTrack 3 Linux distributions, and can be found here.

Tuesday, September 16, 2008

i didn't accepted the firefox 3.0.2 Eula so i have installed abrowser in intrepid

$sudo apt-get remove firefox

this step was needed so there will be no conflicts with abrowser when dist-upgrading

$sudo apt-get install abrowser
$abrowser


UPDATE:abrowser still shows me eula
but i like epiphany-webkit anyway
I use firefox only for firebug ! and webdeveloper



Monday, September 15, 2008

kvm image for mid devices
i didn't knew about this
http://www.phoronix.com/scan.php?page=article&item=ubuntu_mid_804&num=1

I will try to install firebird/flamerobin on it , to see how ti works on small devices
Also i intend to bring the maemo sdk down to test firebird/flamerobin/nginx on it

Microsoft err Mozilla Demanding Firefox Display EULA In Ubuntu

what next ? eula for source code

http://tech.slashdot.org/article.pl?sid=08/09/14/195203&from=rss

no wonder opensource will go the webkit route and it will be included in gnome by default (epiphany webkit )
mozilla looks more and more with microsoft (you know like in animal farm)

Sunday, September 14, 2008

DISABLE SCROLLKEEPER on any linux system (cloudbook in my case)

tip via https://help.ubuntu.com/community/AspireOne

ScrollKeeper is a cataloging system for documentation on open systems. Hardly anyone ever uses it and on the AAO's slow SSD it takes ages every time you install anything. Disable it and your installs will fly! Finally add a diversion to stop dpkg from overwriting your changes.

sudo mv /usr/bin/scrollkeeper-update /usr/bin/scrollkeeper-update.real
sudo ln -s /bin/true /usr/bin/scrollkeeper-update
sudo find /var/lib/scrollkeeper/ -name \*.xml -type f -exec rm -f '{}' \;
sudo dpkg-divert --local --divert /usr/bin/scrollkeeper-update.real --add /usr/bin/scrollkeeper-update

Xfce 4.6 ALPHA ('Pinkie') released

After about 18 months of development, we are pleased to announce the releaseof Xfce 4.6 ALPHA, codename 'Pinkie'. Xfce 4.6 is going to be the next major release of the Xfce desktopenvironment. The previous release was 4.4 with the last bugfix releasebeing 4.4.2 released in December 2007.

read more | digg story

OpenSQL Camp Offers Informal Meeting for Database Developers

Members of open-source database communities will get together in mid-November for the first-ever "OpenSQL camp." The free conference, which has room for 150 attendees, will be held in Charlottesville, Virginia, and is meant to help members to learn from one another. Potential participants are encouraged to register on the Wiki.

read more | digg story