<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.6" -->
<rss version="0.92">
<channel>
	<title>zonalivre.org</title>
	<link>http://www.zonalivre.org</link>
	<description></description>
	<lastBuildDate>Thu, 28 Jan 2010 13:52:02 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Turn on query logging in MySQL</title>
		<description>Add the following to /etc/my.cnf:

log=/var/log/queries.log

Then restart mysqld.

All queries will be logged to that file.  In MySQL 4.1 the log file must already exists beforehand.  Check /var/log/mysqld.log during startup in case it's not logging anything.


No related posts.
Related posts brought to you by Yet Another Related Posts Plugin. </description>
		<link>http://www.zonalivre.org/2010/01/07/turn-on-query-logging-in-mysql/</link>
			</item>
	<item>
		<title>Cannot start Microsoft Office Outlook. Cannot open the Outlook window.</title>
		<description>Start->run..then type the following -> "Outlook.exe /resetnavpane"

Related posts:How to open a .eml file in Outlook 2007 If you try to open a .eml file in Outlook...
Related posts brought to you by Yet Another Related Posts Plugin. </description>
		<link>http://www.zonalivre.org/2009/12/03/cannot-start-microsoft-office-outlook-cannot-open-the-outlook-window/</link>
			</item>
	<item>
		<title>Problem loading ssh keys remotely</title>
		<description>When I try to load my ssh-key from a remote location I get the message:

Could not open a connection to your authentication agent.


The way to get around this is to load a shell session inside the ssh-agent:


ssh-agent bash
ssh-add
ssh-add ~/.ssh/somekeyfile



No related posts.
Related posts brought to you by Yet Another Related Posts ...</description>
		<link>http://www.zonalivre.org/2009/11/16/problem-loading-ssh-keys-remotely/</link>
			</item>
	<item>
		<title>How to force yum to uninstall a package when you change it&#8217;s name</title>
		<description>Use the obsoletes tag in the specfile.  This will cause "package-oldname" to be uninstalled before installing "package-renamed".


Name: package-renamed
Obsoletes: package-oldname


No related posts.
Related posts brought to you by Yet Another Related Posts Plugin. </description>
		<link>http://www.zonalivre.org/2009/10/29/how-to-force-yum-to-uninstall-a-package-when-you-change-its-name/</link>
			</item>
	<item>
		<title>Using dd to create large files</title>
		<description>An example of using dd to create a 1GB file.

dd if=/dev/zero of=testfile bs=1M count=1024


No related posts.
Related posts brought to you by Yet Another Related Posts Plugin. </description>
		<link>http://www.zonalivre.org/2009/10/20/using-dd-to-create-large-files/</link>
			</item>
	<item>
		<title>How to temporarly ignore foreign keys in MySQL InnoDB.</title>
		<description>
SET FOREIGN_KEY_CHECKS = 0;
SELECT @@FOREIGN_KEY_CHECKS;
SET FOREIGN_KEY_CHECKS = 1;


Alexander Stetsenko blog has more info about it.

No related posts.
Related posts brought to you by Yet Another Related Posts Plugin. </description>
		<link>http://www.zonalivre.org/2009/10/19/how-to-temporarly-ignore-foreign-keys-in-mysql-innodb/</link>
			</item>
	<item>
		<title>How to open a .eml file in Outlook 2007</title>
		<description>If you try to open a .eml file in Outlook 2007, it will create a new message containing the .eml file as an attachment.

In order to read .eml files from Outlook 2007, you need to pass the /eml argument to outlook.exe . This Microsoft kb article describes how to tweak ...</description>
		<link>http://www.zonalivre.org/2009/10/15/how-to-open-a-eml-file-in-outlook-2007/</link>
			</item>
	<item>
		<title>Find largest files</title>
		<description>A little code snippet to show files ordered by size:

find . -type f -printf "%k %p\n" &#124; sort -rn &#124; head

No related posts.
Related posts brought to you by Yet Another Related Posts Plugin. </description>
		<link>http://www.zonalivre.org/2009/10/13/find-largest-files/</link>
			</item>
	<item>
		<title>Apache2::Request rpm</title>
		<description>Not immediately obvious, but if you're looking for an rpm to install the Apache2::Request module you need perl-libapreq2 (this works in CentOS 5 and I imagine others as well).

yum install perl-libapreq2

No related posts.
Related posts brought to you by Yet Another Related Posts Plugin. </description>
		<link>http://www.zonalivre.org/2009/10/13/apache2request-rpm/</link>
			</item>
	<item>
		<title>Common yum commands</title>
		<description>List available repositores
yum repolist
Search by package name (case insensitive)
yum list "*package*"
List files inside a repository package (regardless if that package has been installed)
repoquery --list &#60;PACKAGE_NAME&#62;

Related posts:Common RPM commands This is my commonly used rpm command reference Install/Upgrade a...
Related posts brought to you by Yet Another Related Posts Plugin. </description>
		<link>http://www.zonalivre.org/2009/10/13/common-yum-commands/</link>
			</item>
</channel>
</rss>
