Weblogs for Nilshar
Is there a way to search only articles ? maybe I'm blind, but can't find... :p
Syntax is not reall user friendly, I know it's possible since a long time, but often spend one hour searching how..
So here some exemple I use :
-o Dpkg::Options::="--force-confnew" => force the new configuration file to overwrite your modified ones
-o Dpkg::Options::="--force-confold" => keep your modified configuration files.
Of course there is a lot more (all dpkg options).
I am looking for some knowledge about various system monitoring tools.
So far, I used cacti and nagios (both for differents things), and I've read a lot about munin (several articles/weblogs on this site), and collectd.
Soon I will have to choose one, and it will be a "no return" choice.
What I need is : rrd based tool, for local monitoring only, and it has to be easy to add/write plugins
During the few last years, I found cacti and nagios usefull, but not really flexible, and I don't have a good feeling about using it for what I need today.
Collectd and munin seems both very powerfull, easy to use, and easy to add custom scripts.. but I never used them..
And there is maybe (probably) some others tools I don't know yet.
So if you got some experience and knowledge to share, it will be welcome :)
Under Etch, when I wanted to clone a vmware, I had to remove the file /etc/udev/rules.d/z25-persistent-net.rules so this file can be recreated after a reboot whith the good MAC address.
I tried the same with Lenny and his new udev version using /etc/udev/rules.d/70-persistent-net.rules and sadly, the file were never recreated.
On a normal server, the file is recreated just fine, but not on a vmware, and I can't find why, or how to recreate the file.
The linux-hotplug mailing list is not a great help sadly, so if anyone here got a clue...
Problem solved, see Comment #3
You are using less to read and scroll up/down, search, etc.. a file ? I was too.
Today someone showed me that "less" is able to do tail (maybe most of you know already..).
use your usual :
less <file> to read the file, and if you want to use it as a tail, simply shift+F !
you want to stop the "tail mode" ? ctrl-C and you back to usual less. shift-F again to tail again etc..
I'm trying to create a small script to upgrade several identic machines from sarge to etch.
I use debconf-get-selections and debconf-set-selections and it works great.
Only problem I have, if it still ask me if I want to restart some daemon when upgrading libc6.
So far, I didn't found a way to automaticly answer these question.
If anyone know how to do that, it will help me a lot, thanks :)
Actually, if hostname is not in /etc/hosts, sudo just don't work.. Ideally, hostname should always be in /etc/hosts, but if there is a solution to tell sudo to ignore that, it would be great...
I'm really curious to know how it is..
Please share any experience with this tool.