Archive for the 'Tips and Tricks' Category

My new gadget.

Wednesday, November 4th, 2009

Up and running in less than 5 minutes!
Together with Zarafa and Z-Push, you have a nice Blackberry alternative.

ERROR 1045 (28000): Access denied for user ‘root’@'localhost’

Monday, October 5th, 2009

After installing Mysql, I ran into following error:
ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
This error can be bypassed by issuing following commands:
1. service mysql stop
2. mysqld_safe –skip-grant-tables &
3. log in with : mysql -u root mysql
4. In MySQL command line prompt issue the following command:
UPDATE user SET password=PASSWORD(”abcd”) WHERE user=”root”;
FLUSH [...]

Sendmail and hosts file.

Monday, September 14th, 2009

By default, Sendmail uses DNS to perform name resolution. However, in some circumstances, it is feasible to use the /etc/hosts file for name resolution.
To change the default behaviour, you need to use the /etc/mail/service.switch file.
For example, if you want to consult first the hosts file, followed by any DNS, you need to create [...]

Making Wordpress 2.8.x run faster

Friday, August 7th, 2009

This week I performed a necessary upgrade to 2.8.X and experienced some nasty time-outs.
Loading pages was extremely slow.
Here are some tricks I used to make it a bit faster:
1. Add following lines to /etc/my.cnf:
query_cache_type = 1
query_cache_size = 26214400
2. Use WP-SUPER-CACHE Plugin
Just go to wordpress.org and check the installation instructions.
3. Add the hostname of your [...]

Domino 8.5 service not starting on Windows Server 2008

Friday, July 31st, 2009

When running Domino 8.5 (64 bit) on Windows 2008 Server, it can happen that the Domino Service is not starting at all even it is well configured.
After some investigation, I resolved the issue by entering the TCPIP settings of the server in the notes.ini even I don’t have a partitioned server.
So when you Domino [...]

Resize online your LVM partition

Wednesday, May 20th, 2009

I love making appliances. What I do is making a correct setup in VirtualBox, image it with G4L and restore/deploy it on other machines.
The drawback is that the size of my image is not always the same as the size of my new disk. The unallocated space must be made part of the [...]

Convert a Virtualbox .VDI to .VMDK

Wednesday, April 8th, 2009

You can change the vdi format to vmdk with a tool provided by virtualbox.
Just use the command VBoxManage like this:
VBoxManage clonehd /path/old.vdi /path/new.vmdk -format VMDK
This vmdk-file can now be used in VMware.

P2V for Linux Boxes

Thursday, March 5th, 2009

Converting a physical windows server to a virtual one is easy by using the correct tools. For Linux boxes it is a bit complicated as tools often don’t support the Linux platform.
Here is the basic procedure I use to convert Linux from physical to virtual.
The first step is to make an image of [...]

Clone your VirtualBox VM.

Friday, January 30th, 2009

Most people think that when they copy a .vdi file and import it, they have an actual clone of the virtual machine.
Although it is partially true, the virtual machine will not work because VirtualBox assigns a unique identity number (UUID) to each disk image, which also stored inside the image. VirtualBox will refuse to [...]

Lower Lotus Notes 8 startup time

Sunday, January 18th, 2009

Starting Lotus Notes 8 is slow. Here is a tip on how you can decrease the startup time.
Just modify the shortcut for starting Notes from …\notes.exe to …..\notes.exe -sa or just start nlnotes.exe

about my life, my work, my interests, technical stuff, ….