Home


      There Are 10 Types of People in the World....
Home
















Percona Live MySQL Conference and Expo, April 22-25, 2013

lefred sprl

Looking for an IT consultant in Open Source ?

VAT: BE0835.956.787

Contact: info at lefred dot be

Disillusion

Submitted by lefred on Tue, 05/06/2008 - 19:11

I bought the Gnu Linux Magazine / France on Mail server but it was a big disillusion :(

Usually those magazines are very nice and full of good tips and tricks. But not this time, I was expecting to find a lot of tools to fight spams... but the only topic related is MailScanner (which is a very good product that I use daily). The only MTA reviewed is exim, nothing about postfix, sendmail, qmail... for a special number it's a bit too few. The first 19 pages (of 70) are only related of theory rfc's and mime, maybe too much...

Something I regret too is that at the end of the magazine there are articles about Xen, Zone0 and Jabber, I think the following topics would be nicer :

- greylisting
- sare
- mailwatch (very nice frontend for mailscanner)
- ocr for spams

So nothing really new in that magazine, my notation is 3/10

  • Add new comment
  • Share this
Tags:
  • GNU/Linux

Gnome gvfs a step behind ?

Today I had a bad surprise, at one customer, deploying Linux on desktop, they had some issues with samba shares access: no more shortcuts in places menu for the samba shares. This was due to the update of ubuntu from gusty to hardy.

The problem is that now nautilus 2.22 is provided and this release use gvfs instead of gnome-vfs.

Before that upgrade we decided to add some "share access" via gconf, this was perfect as it was added in /etc/profile.

example :

gconftool-2 --set --type=string /desktop/gnome/connected_servers/1/display_name 'public on samba'
gconftool-2 --set --type=string /desktop/gnome/connected_servers/1/icon 'gnome-fs-smb'
gconftool-2 --set --type=string /desktop/gnome/connected_servers/1/uri "smb://domain;$USERNAME@samba/public"

This is not more possibe :'-(

Ok let's try then to use bookmarks... but the problem is that the login is not used even if forced when the share is also public. The customer use a big public folder and acl's.

So the only solution I had was to setup the share with

 
 public = no

to make it works and request a login and password.

For massive desktop implementation, I preferred the gconf medthod. Maybe somebody could hack gvfs to force a user even on a public share.

  • Share this
Tags:
  • Fedora

DrupalCampParis2: 19 april 2008

Submitted by lefred on Fri, 03/07/2008 - 11:43

DrupalCampParis 2 is an opportunity to promote Drupal in the "Francophonie" and then in the South of our little country as Joeri says in his post.

Pour ceux qui veulent accroître leurs connaissances en Drupal, ils pourrons assister à DrupalCampParis 2 où les sessions seront en français et en anglais. Peut-être que cette conférence éveillera des vocations de contributeur à drupal.be en français ?

  • Add new comment
  • Share this
Tags:
  • Drupal

Create your O'reilly book cover ;)

Submitted by lefred on Mon, 01/28/2008 - 07:29

This is the cover of my first book :

Feel free to create your own on O'Reilly Maker

  • Add new comment
  • Share this
Tags:
  • Fun

Sooner is better....

Submitted by lefred on Fri, 01/25/2008 - 18:16

Since always, I believe that the best way of educating people to use and think opensource, this should happen early at school.

M$ knows that and since long time now they provide computers for schools, adult users of tomorrow are the children of today.

M$ now starts even earlier, look at this !

Bah... I've already a bunch of books with penguins for my daughter ;-)

  • 2 comments
  • Share this
Tags:
  • General

Audacity and Fedora 8

Submitted by lefred on Thu, 01/24/2008 - 22:05

I've tried today to use audacity for the first time since I'm using Fedora 8. What a disappointment: no sound !

I checked in preferences and none of these options were working :

I started then audacity using the following command line :

$ pasuspender audacity

I could consequently hear some output and many different sources in preferences :

I'm ready now to work on my favorites sounds...

[1] Audacity
[2] Fedora

  • 3 comments
  • Share this
Tags:
  • Fedora
  • GNU/Linux
  • Tips and tricks

MySQL proxies

Submitted by lefred on Thu, 01/24/2008 - 09:29

I've tested last night two proxies for MySQL : MySQL-Proxy and Dormando's Proxy for MySQL.

Both are working, but I still don't see really the advantage of using DPM over MySQL-Proxy, maybe I should make more tests but deploying MySQL-Proxy was easier as you define the backends as arguments in command line.

I plan to use a MySQL proxy in production as load-balancer in combination with replication and redirect all DML queries to the master.

Does one of you already use one of those two projects in production, what's your feedback ?

You can also find more information on DLM here.

It would be maybe nice to have a kind of buffer if for any reasons the backends servers are not responding ?

  • Add new comment
  • Share this
Tags:
  • GNU/Linux
  • MySQL

Nagios JBoss Check

Submitted by lefred on Tue, 01/22/2008 - 18:49

As I had to monitor some JBoss servers and as there are some memory leaks in the program, the monitoring in Nagios of the Garbage Collector is very important. I've found some jmx script on JBoss wiki, but I was not happy with it. So I rewrite it to use twiddle.sh with the attributes I needed.

I had also to modify twiddle.sh to remove the logging capability (that was causing permission error) :

# diff twiddle.sh twiddleFred.sh
58c58
< JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/log4j.jar"
---
> # removed to avoid log file JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/log4j.jar"

Those are the nrpe test I implemented :

# check Perm Gen
command[check_jbosspem]=/usr/lib/nagios/plugins/check_jbosspem 127.0.0.1 4 jboss.system:type=ServerInfo listMemoryPools "Perm Gen" 70 90

# check Old Gen (Heap Memory)
command[check_jbossoldgen]=/usr/lib/nagios/plugins/check_jbosspem 127.0.0.1 4 jboss.system:type=ServerInfo listMemoryPools "Old Gen" 85 95

  • 6 comments
  • 1 attachment
  • Share this
Tags:
  • Devel
  • GNU/Linux
  • Tips and tricks

MySQL Swiss Army Knife

Submitted by lefred on Fri, 01/18/2008 - 23:50

In this post I present my MySQL Swiss Army Knife, all the tools that make my life related to MySQL easier :-)

- The first utility is of course the famous maatkit. I'll not describe here all the part of this toolkit, you will find a nice description on the website. but I want to underline the Table Sync that is very useful when you need to create a master/master replication without any downtime.

  • 4 comments
  • Read more
  • Share this
Tags:
  • MySQL

Tip: vi and lowercase/uppercase

Submitted by lefred on Thu, 01/10/2008 - 13:32

As always I use my blog as reminder of some useful commands or tips.

This one is for dimi, to change the case of a full document in vi, use the following command to transform everything in lowercase :


<ESC>:%s/.*/\L&/

and in uppercase :

<ESC>:%s/.*/\U&/

I hope this helps ;)

  • 12 comments
  • Share this
Tags:
  • GNU/Linux
  • Tips and tricks
  • « first
  • ‹ previous
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • …
  • next ›
  • last »
Syndicate content

twitter

Tweets by @lefred

Recent comments

  • Thank you so much At this
    4 days 18 hours ago
  • Kancelarijske stolice
    1 week 3 days ago
  • You are my hero!
    2 weeks 5 days ago
  • Thanks a lot
    6 weeks 6 days ago
  • x86_64 preferably.
    6 weeks 6 days ago
  • imspector for CentOS 6.3?
    6 weeks 6 days ago
  • I love free software. Happy
    7 weeks 4 days ago
  • I always have the same
    7 weeks 4 days ago
  • Hahaha you have got to be
    7 weeks 6 days ago
  • This has been a great help!
    7 weeks 6 days ago

Locations of visitors to this page

I love Smashing Magazine!
Fervens Drupal theme by Leow Kah Thong. Designed by Design Disease and brought to you by Smashing Magazine.
Generated on the new server.