Published at: 11:10 am - Friday October 09 2009
I assume you have a working Apache 2 installation with PHP4 modules installed, if not run the following and you will have:
sudo apt-get install apache2 apache2-mod-php4
Note: you can also have PHP5 installed as module and PHP4 as CGI, everything works the same way with swapping the versions in commands.
First of all you will need the [...]
Published at: 12:06 am - Monday June 08 2009
If you have accidentaly locked out yourself, or just forgot your password for the admin (root) user of the MySQL, here is a quick-and-dirty solution.
First you have to shut down the MySQL server, next you need to start it in safe mode with no priviliges table loaded, update the password to a new one, and [...]
Published at: 05:05 pm - Sunday May 31 2009
I have updated the early-ssh to version 0.2. This includes just a few bugfixes and new features, including scp support.
You can download the new version from http://dev.kakaopor.hu/early-ssh/
Published at: 12:04 am - Monday April 13 2009
Early-ssh is a simple initramfs-tools hook script which provides an SSH server at boottime (in the initramfs) before the root filesystem gets mounted, so you will be able to do a numerous things, such as:
unlocking crypto devices – even your root can be an encrypted filesystem
assembling/altering mdadm RAID arrays
checking the root filesystem in read-write mode, [...]
Published at: 03:04 am - Sunday April 05 2009
I was unable to find a place where all these things are collected, so I have decided I will write it down here.
So I am currently working on a little project where I need to have SSH access during the boot (on the initrd system). The following things are needed to create a working – [...]
Published at: 08:03 pm - Friday March 27 2009
Today I have faced with a crashed SQLite database. Actually, I am not totally sure it was crashed, but the sqlite process had not shut down properly, and (after this) to select anything from it has taken more than an hour, anyway it was damn slow, and has eaten a lot of CPU time, and [...]
Published at: 01:03 am - Sunday March 15 2009
Today I have run into an error with fdisk under busybox. I am currently building a really small system with basic stuffs, and I need to run fdisk in the initramfs. Unfortunately when I try to run fdisk interactively, I get the following error:
fdisk[...]: segfault at 8117dc4 ip 080ff478 sp bffee994 error 7 in fdisk[8048000+df000]
Segmentation [...]
Published at: 05:03 pm - Friday March 13 2009
I have “released” the first version of my own Captcha generator for PHP.
You can download it (for free of course) on these links:
http://dev.kakaopor.hu/captchaz/
http://sourceforge.net/projects/captchaz/
If you have any comments, questions or anything contact me by commenting to this post, or by filling the contact form on the captchaz page.
Have fun with it!
Published at: 04:03 pm - Friday March 13 2009
This is my first Wordpress post ever. I will write some random things here what I meet, experience, try, make and so on. So some really random things will be here – if I have any interesting subject and enough time.
Well, I hope this won’t be too boring.
(That was really lame. I hope the upcoming [...]