Archive for May, 2007

Check running process on a remote hosts

Saturday, May 12th, 2007

In the company i work we use nagios to check the state of different stuff on our servers. Today i recieved a task to monitor the state of a process running on a remote hosts - whether it is running and how many instances it has. (more…)

Creating a debian package

Thursday, May 10th, 2007

Not long ago i have started an upgrade of one of our company’s servers from old redhat to Debian. The main difficulty was one mission-critical process, that was running there in chroot. So i’ve got a task to create a debian package for this chrooted directory.

It seemed rather simple when starting the task, but i’ve read a rather big howto about package creation and went through to a Makefiles howto and after that i had about 10 tries before i made a simple package to build and to install as a i expected. (more…)

Виктор Цой

Thursday, May 10th, 2007

Во-первых, начал писать по-русски. Почему? Не смог заставить себя искаверкать в английский перевод имя и фамилию Цоя. Цой жив, это во-вторых. В его (и группы “Кино”) песнях что-то есть, какое-то настроение во всей музыке. Она оригинальна, по кр. мере таковой смотрится среди того что слы(у)шал я. Вот, наткнулся на несколько видео с его участием - интервью и съёмку с концерта. (more…)

Installing multiple debian packages

Tuesday, May 8th, 2007

Subject seems to be a rather simple task. As for me, installing multiple packages, which i find through apt-cache search was always painful - i input package names manually (shame on me :( ).

But today my laziness took over and i figured out the solution:

apt-get install `apt-cache search | grep <package_name_regexp>| grep -v <unneeded_packages_regexp> | sed -e 's/ -.*//' | sed -e ':lbl N; s/\n/ /; t lbl;'`

Hope it’s something useful for all of you debian/ubuntu fans out there :)

Mounting nfs share in a vserver environment

Friday, May 4th, 2007

Yesterday i had a problem while building a debian package for a piece of software which is running on several servers in our company: it should mount nfs shares. So, where’s the problem, you ask? The problem is that i was building and testing it on our sandbox vserver. (more…)